Triage

From PurpleAILAB/Decepticon · View interactive version

Triage is an AI agent skill from the GitHub repository PurpleAILAB/Decepticon. Fast-path binary triage — identify format/arch/mitigations, grab high-signal strings and imports in under a minute.

How to use this skill

Skill file

Binary Triage (fast path)

1. Identify

bin_identify(path="/workspace/target")

Record: format, arch, bitness, NX, PIE, entry point. Add file node with these props.

2. Mitigation check

# checksec for extra signals (stack canary, RELRO, fortify)
apt-get install -y checksec 2>/dev/null || true
checksec --file=/workspace/target --format=json

Add any missing mitigation as a vulnerability node with severity=medium.

3. String harvest (categorized)

bin_strings(path="/workspace/target", category_filter="secret")
bin_strings(path="/workspace/target", category_filter="url")
bin_strings(path="/workspace/target", category_filter="crypto")
bin_strings(path="/workspace/target", category_filter="version")

Each hit in secret/crypto → add a secret node. Each url/ip → consider

adding an entrypoint or C2 candidate.

4. Imports risk

nm -D /workspace/target 2>/dev/null | awk '$2=="U"{print $3}' > /tmp/imports.txt
# or
objdump -T /workspace/target | awk '/\*UND\*/{print $NF}' > /tmp/imports.txt

Feed the list to bin_symbols_report. Anything with risk_score > 10 =

worth deeper look.

5. Version → CVE

For every version string found in step 3, call cve_lookup with the

candidate CVE IDs from cve_by_package if it's a known library.

6. Handoff

If NX/PIE are both off AND there are dangerous C imports → this is a

prime exploit-dev target; load /skills/standard/reverser/rop-chain/SKILL.md.

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.