aiskillstore/marketplace / skills/2389-research/binary-re-static-analysis
binary-re-static-analysis
VerifiedUse when analyzing binary structure, disassembling code, or decompiling functions. Deep static analysis via radare2 (r2) and Ghidra headless - function enumeration, cross-references (xrefs), decompilation, control flow graphs. Keywords - "disassemble", "decompile", "what does this function do", "find functions", "analyze code", "r2", "ghidra", "pdg", "afl"
| File | Kind | Size |
|---|---|---|
| SKILL.md | skill md | 9.8 KB |
| skill-report.json | config | 71.2 KB |
skill-report.json
View on GitHub{
"schema_version": "2.0",
"meta": {
"generated_at": "2026-07-04T18:13:43.224Z",
"slug": "2389-research-binary-re-static-analysis",
"source_url": "https://github.com/2389-research/claude-plugins/tree/main/binary-re/skills/static-analysis",
"source_ref": "main",
"model": "codex",
"analysis_version": "3.0.0",
"source_type": "community",
"content_hash": "775f3af2482098aa126fd02c5c1882ce50136a31955f9dd16b0999fb63dbe9ef",
"tree_hash": "1634a6361aba01d2b48877bc15ade47a0004e08513b9af635de92624cb1e20cc",
"provenance": {
"model_requested": "gpt-5.5:high",
"model_effective": "codex:gpt-5.5:high",
"fallback_chain": [
{
"agent": "codex",
"model": "gpt-5.5",
"effort": "high",
"outcome": "success"
}
],
"analysis_version": "3.0.0"
}
},
"skill": {
"name": "binary-re-static-analysis",
"description": "Analyze binaries without running them using radare2 and Ghidra workflows for function enumeration, cross-reference tracing, decompilation, CFG review, and journaling.",
"summary": "Static reverse-engineering workflow for binary structure, functions, xrefs, and decompilation.",
"icon": "📦",
"version": "1.0.0",
"author": "2389-research",
"license": "MIT",
"tags": [
"binary-analysis",
"reverse-engineering",
"radare2",
"ghidra",
"static-analysis"
],
"supported_tools": [
"claude",
"codex",
"claude-code"
],
"risk_factors": [
"external_commands",
"filesystem"
],
"category": "security"
},
"security_audit": {
"risk_level": "high",
"is_blocked": false,
"safe_to_publish": false,
"analysis_status": "ok",
"summary": "Most static findings are false positives caused by markdown code fences and inline radare2 command names, not Ruby backtick execution. Real risks remain where the workflow asks an agent to execute sample binaries, install r2ghidra, run shell command substitution over binary-derived names, and create a fixed /tmp Ghidra project. No prompt injection or data exfiltration instructions were found.",
"remediation": [
{
"issue": "Binary execution appears in a static-analysis workflow.",
"suggestion": "Move I/O execution to a dynamic-analysis skill, or require an isolated sandbox, no network access, resource limits, and explicit approval.",
"severity": "high"
},
{
"issue": "The workflow installs r2ghidra during analysis.",
"suggestion": "Require a preinstalled reviewed toolchain, or pin plugin source, version, and checksum before installation.",
"severity": "medium"
},
{
"issue": "The shell loop expands binary-derived function names without quoting.",
"suggestion": "Use structured radare2 JSON parsing, or quote and validate every function name before shell expansion.",
"severity": "medium"
},
{
"issue": "The Ghidra project path uses a fixed /tmp directory.",
"suggestion": "Create a unique directory with mktemp, restrict permissions, and remove it after analysis.",
"severity": "medium"
}
],
"risk_factor_evidence": [
{
"factor": "external_commands",
"evidence": [
{
"file": "SKILL.md",
"line_start": 25,
"line_end": 48
},
{
"file": "SKILL.md",
"line_start": 48,
"line_end": 65
},
{
"file": "SKILL.md",
"line_start": 65,
"line_end": 66
},
{
"file": "SKILL.md",
"line_start": 66,
"line_end": 67
},
{
"file": "SKILL.md",
"line_start": 67,
"line_end": 67
},
{
"file": "SKILL.md",
"line_start": 71,
"line_end": 78
},
{
"file": "SKILL.md",
"line_start": 78,
"line_end": 81
},
{
"file": "SKILL.md",
"line_start": 81,
"line_end": 82
},
{
"file": "SKILL.md",
"line_start": 82,
"line_end": 83
},
{
"file": "SKILL.md",
"line_start": 83,
"line_end": 83
},
{
"file": "SKILL.md",
"line_start": 87,
"line_end": 89
},
{
"file": "SKILL.md",
"line_start": 89,
"line_end": 99
},
{
"file": "SKILL.md",
"line_start": 99,
"line_end": 103
},
{
"file": "SKILL.md",
"line_start": 103,
"line_end": 116
},
{
"file": "SKILL.md",
"line_start": 116,
"line_end": 120
},
{
"file": "SKILL.md",
"line_start": 120,
"line_end": 129
},
{
"file": "SKILL.md",
"line_start": 129,
"line_end": 133
},
{
"file": "SKILL.md",
"line_start": 133,
"line_end": 142
},
{
"file": "SKILL.md",
"line_start": 142,
"line_end": 146
},
{
"file": "SKILL.md",
"line_start": 146,
"line_end": 155
},
{
"file": "SKILL.md",
"line_start": 155,
"line_end": 159
},
{
"file": "SKILL.md",
"line_start": 159,
"line_end": 168
},
{
"file": "SKILL.md",
"line_start": 168,
"line_end": 176
},
{
"file": "SKILL.md",
"line_start": 176,
"line_end": 182
},
{
"file": "SKILL.md",
"line_start": 182,
"line_end": 184
},
{
"file": "SKILL.md",
"line_start": 184,
"line_end": 184
},
{
"file": "SKILL.md",
"line_start": 188,
"line_end": 194
},
{
"file": "SKILL.md",
"line_start": 194,
"line_end": 200
},
{
"file": "SKILL.md",
"line_start": 200,
"line_end": 208
},
{
"file": "SKILL.md",
"line_start": 208,
"line_end": 211
},
{
"file": "SKILL.md",
"line_start": 211,
"line_end": 211
},
{
"file": "SKILL.md",
"line_start": 212,
"line_end": 213
},
{
"file": "SKILL.md",
"line_start": 213,
"line_end": 214
},
{
"file": "SKILL.md",
"line_start": 214,
"line_end": 215
},
{
"file": "SKILL.md",
"line_start": 215,
"line_end": 219
},
{
"file": "SKILL.md",
"line_start": 219,
"line_end": 228
},
{
"file": "SKILL.md",
"line_start": 228,
"line_end": 232
},
{
"file": "SKILL.md",
"line_start": 232,
"line_end": 241
},
{
"file": "SKILL.md",
"line_start": 241,
"line_end": 247
},
{
"file": "SKILL.md",
"line_start": 247,
"line_end": 260
},
{
"file": "SKILL.md",
"line_start": 260,
"line_end": 264
},
{
"file": "SKILL.md",
"line_start": 264,
"line_end": 275
},
{
"file": "SKILL.md",
"line_start": 275,
"line_end": 279
},
{
"file": "SKILL.md",
"line_start": 279,
"line_end": 287
},
{
"file": "SKILL.md",
"line_start": 287,
"line_end": 293
},
{
"file": "SKILL.md",
"line_start": 293,
"line_end": 294
},
{
"file": "SKILL.md",
"line_start": 294,
"line_end": 295
},
{
"file": "SKILL.md",
"line_start": 295,
"line_end": 296
},
{
"file": "SKILL.md",
"line_start": 296,
"line_end": 297
},
{
"file": "SKILL.md",
"line_start": 297,
"line_end": 298
},
{
"file": "SKILL.md",
"line_start": 298,
"line_end": 299
},
{
"file": "SKILL.md",
"line_start": 299,
"line_end": 300
},
{
"file": "SKILL.md",
"line_start": 300,
"line_end": 301
},
{
"file": "SKILL.md",
"line_start": 301,
"line_end": 302
},
{
"file": "SKILL.md",
"line_start": 302,
"line_end": 308
},
{
"file": "SKILL.md",
"line_start": 308,
"line_end": 333
},
{
"file": "SKILL.md",
"line_start": 333,
"line_end": 339
},
{
"file": "SKILL.md",
"line_start": 339,
"line_end": 362
},
{
"file": "SKILL.md",
"line_start": 362,
"line_end": 366
},
{
"file": "SKILL.md",
"line_start": 366,
"line_end": 392
},
{
"file": "SKILL.md",
"line_start": 392,
"line_end": 405
},
{
"file": "SKILL.md",
"line_start": 405,
"line_end": 406
},
{
"file": "SKILL.md",
"line_start": 257,
"line_end": 257
},
{
"file": "SKILL.md",
"line_start": 247,
"line_end": 260
}
]
},
{
"factor": "filesystem",
"evidence": [
{
"file": "SKILL.md",
"line_start": 178,
"line_end": 178
},
{
"file": "SKILL.md",
"line_start": 202,
"line_end": 202
}
]
}
],
"static_findings": [
{
"id": "external_commands:SKILL.md:25:ruby-shell-backtick-execution",
"category": "external_commands",
"severity": "medium",
"pattern": "Ruby/shell backtick execution",
"file": "SKILL.md",
"line_start": 25,
"line_end": 48,
"snippet": "```bash"
},
{
"id": "external_commands:SKILL.md:48:ruby-shell-backtick-execution",
"category": "external_commands",
"severity": "medium",
"pattern": "Ruby/shell backtick execution",
"file": "SKILL.md",
"line_start": 48,
"line_end": 65,
"snippet": "```"
},
{
"id": "external_commands:SKILL.md:65:ruby-shell-backtick-execution",
"category": "external_commands",
"severity": "medium",
"pattern": "Ruby/shell backtick execution",
"file": "SKILL.md",
"line_start": 65,
"line_end": 66,
"snippet": "| < 500KB | `aaa` | Full analysis, may be slow |"
},
{
"id": "external_commands:SKILL.md:66:ruby-shell-backtick-execution",
"category": "external_commands",
"severity": "medium",
"pattern": "Ruby/shell backtick execution",
"file": "SKILL.md",
"line_start": 66,
"line_end": 67,
"snippet": "| 500KB - 5MB | `aa; aac` | Functions + all call targets |"
},
{
"id": "external_commands:SKILL.md:67:ruby-shell-backtick-execution",
"category": "external_commands",
"severity": "medium",
"pattern": "Ruby/shell backtick execution",
"file": "SKILL.md",
"line_start": 67,
"line_end": 67,
"snippet": "| > 5MB | `aa` + targeted `af @addr` | Fast, manual depth control |"
},
{
"id": "external_commands:SKILL.md:71:ruby-shell-backtick-execution",
"category": "external_commands",
"severity": "medium",
"pattern": "Ruby/shell backtick execution",
"file": "SKILL.md",
"line_start": 71,
"line_end": 78,
"snippet": "```bash"
},
{
"id": "external_commands:SKILL.md:78:ruby-shell-backtick-execution",
"category": "external_commands",
"severity": "medium",
"pattern": "Ruby/shell backtick execution",
"file": "SKILL.md",
"line_start": 78,
"line_end": 81,
"snippet": "```"
},
{
"id": "external_commands:SKILL.md:81:ruby-shell-backtick-execution",
"category": "external_commands",
"severity": "medium",
"pattern": "Ruby/shell backtick execution",
"file": "SKILL.md",
"line_start": 81,
"line_end": 82,
"snippet": "- `anal.timeout=120` - Prevent runaway analysis"
},
{
"id": "external_commands:SKILL.md:82:ruby-shell-backtick-execution",
"category": "external_commands",
"severity": "medium",
"pattern": "Ruby/shell backtick execution",
"file": "SKILL.md",
"line_start": 82,
"line_end": 83,
"snippet": "- `anal.maxsize=67108864` - 64MB max function size"
},
{
"id": "external_commands:SKILL.md:83:ruby-shell-backtick-execution",
"category": "external_commands",
"severity": "medium",
"pattern": "Ruby/shell backtick execution",
"file": "SKILL.md",
"line_start": 83,
"line_end": 83,
"snippet": "- Use `aa; aac` for medium binaries, `aaa` only for small ones"
},
{
"id": "external_commands:SKILL.md:87:ruby-shell-backtick-execution",
"category": "external_commands",
"severity": "medium",
"pattern": "Ruby/shell backtick execution",
"file": "SKILL.md",
"line_start": 87,
"line_end": 89,
"snippet": "If `axtj` returns empty for known imports:"
},
{
"id": "external_commands:SKILL.md:89:ruby-shell-backtick-execution",
"category": "external_commands",
"severity": "medium",
"pattern": "Ruby/shell backtick execution",
"file": "SKILL.md",
"line_start": 89,
"line_end": 99,
"snippet": "```bash"
},
{
"id": "external_commands:SKILL.md:99:ruby-shell-backtick-execution",
"category": "external_commands",
"severity": "medium",
"pattern": "Ruby/shell backtick execution",
"file": "SKILL.md",
"line_start": 99,
"line_end": 103,
"snippet": "```"
},
{
"id": "external_commands:SKILL.md:103:ruby-shell-backtick-execution",
"category": "external_commands",
"severity": "medium",
"pattern": "Ruby/shell backtick execution",
"file": "SKILL.md",
"line_start": 103,
"line_end": 116,
"snippet": "```bash"
},
{
"id": "external_commands:SKILL.md:116:ruby-shell-backtick-execution",
"category": "external_commands",
"severity": "medium",
"pattern": "Ruby/shell backtick execution",
"file": "SKILL.md",
"line_start": 116,
"line_end": 120,
"snippet": "```"
},
{
"id": "external_commands:SKILL.md:120:ruby-shell-backtick-execution",
"category": "external_commands",
"severity": "medium",
"pattern": "Ruby/shell backtick execution",
"file": "SKILL.md",
"line_start": 120,
"line_end": 129,
"snippet": "```bash"
},
{
"id": "external_commands:SKILL.md:129:ruby-shell-backtick-execution",
"category": "external_commands",
"severity": "medium",
"pattern": "Ruby/shell backtick execution",
"file": "SKILL.md",
"line_start": 129,
"line_end": 133,
"snippet": "```"
},
{
"id": "external_commands:SKILL.md:133:ruby-shell-backtick-execution",
"category": "external_commands",
"severity": "medium",
"pattern": "Ruby/shell backtick execution",
"file": "SKILL.md",
"line_start": 133,
"line_end": 142,
"snippet": "```bash"
},
{
"id": "external_commands:SKILL.md:142:ruby-shell-backtick-execution",
"category": "external_commands",
"severity": "medium",
"pattern": "Ruby/shell backtick execution",
"file": "SKILL.md",
"line_start": 142,
"line_end": 146,
"snippet": "```"
},
{
"id": "external_commands:SKILL.md:146:ruby-shell-backtick-execution",
"category": "external_commands",
"severity": "medium",
"pattern": "Ruby/shell backtick execution",
"file": "SKILL.md",
"line_start": 146,
"line_end": 155,
"snippet": "```bash"
},
{
"id": "external_commands:SKILL.md:155:ruby-shell-backtick-execution",
"category": "external_commands",
"severity": "medium",
"pattern": "Ruby/shell backtick execution",
"file": "SKILL.md",
"line_start": 155,
"line_end": 159,
"snippet": "```"
},
{
"id": "external_commands:SKILL.md:159:ruby-shell-backtick-execution",
"category": "external_commands",
"severity": "medium",
"pattern": "Ruby/shell backtick execution",
"file": "SKILL.md",
"line_start": 159,
"line_end": 168,
"snippet": "```bash"
},
{
"id": "external_commands:SKILL.md:168:ruby-shell-backtick-execution",
"category": "external_commands",
"severity": "medium",
"pattern": "Ruby/shell backtick execution",
"file": "SKILL.md",
"line_start": 168,
"line_end": 176,
"snippet": "```"
},
{
"id": "external_commands:SKILL.md:176:ruby-shell-backtick-execution",
"category": "external_commands",
"severity": "medium",
"pattern": "Ruby/shell backtick execution",
"file": "SKILL.md",
"line_start": 176,
"line_end": 182,
"snippet": "```bash"
},
{
"id": "external_commands:SKILL.md:182:ruby-shell-backtick-execution",
"category": "external_commands",
"severity": "medium",
"pattern": "Ruby/shell backtick execution",
"file": "SKILL.md",
"line_start": 182,
"line_end": 184,
"snippet": "```"
},
{
"id": "external_commands:SKILL.md:184:ruby-shell-backtick-execution",
"category": "external_commands",
"severity": "medium",
"pattern": "Ruby/shell backtick execution",
"file": "SKILL.md",
"line_start": 184,
"line_end": 184,
"snippet": "**If r2ghidra unavailable:** Rely on disassembly (`pdf`) and cross-reference analysis (`axt/axf`)."
},
{
"id": "external_commands:SKILL.md:188:ruby-shell-backtick-execution",
"category": "external_commands",
"severity": "medium",
"pattern": "Ruby/shell backtick execution",
"file": "SKILL.md",
"line_start": 188,
"line_end": 194,
"snippet": "```bash"
},
{
"id": "external_commands:SKILL.md:194:ruby-shell-backtick-execution",
"category": "external_commands",
"severity": "medium",
"pattern": "Ruby/shell backtick execution",
"file": "SKILL.md",
"line_start": 194,
"line_end": 200,
"snippet": "```"
},
{
"id": "external_commands:SKILL.md:200:ruby-shell-backtick-execution",
"category": "external_commands",
"severity": "medium",
"pattern": "Ruby/shell backtick execution",
"file": "SKILL.md",
"line_start": 200,
"line_end": 208,
"snippet": "```bash"
},
{
"id": "external_commands:SKILL.md:208:ruby-shell-backtick-execution",
"category": "external_commands",
"severity": "medium",
"pattern": "Ruby/shell backtick execution",
"file": "SKILL.md",
"line_start": 208,
"line_end": 211,
"snippet": "```"
},
{
"id": "external_commands:SKILL.md:211:ruby-shell-backtick-execution",
"category": "external_commands",
"severity": "medium",
"pattern": "Ruby/shell backtick execution",
"file": "SKILL.md",
"line_start": 211,
"line_end": 211,
"snippet": "- ARM 32-bit: `ARM:LE:32:v7` or `ARM:LE:32:Cortex`"
},
{
"id": "external_commands:SKILL.md:212:ruby-shell-backtick-execution",
"category": "external_commands",
"severity": "medium",
"pattern": "Ruby/shell backtick execution",
"file": "SKILL.md",
"line_start": 212,
"line_end": 213,
"snippet": "- ARM 64-bit: `AARCH64:LE:64:v8A`"
},
{
"id": "external_commands:SKILL.md:213:ruby-shell-backtick-execution",
"category": "external_commands",
"severity": "medium",
"pattern": "Ruby/shell backtick execution",
"file": "SKILL.md",
"line_start": 213,
"line_end": 214,
"snippet": "- x86_64: `x86:LE:64:default`"
},
{
"id": "external_commands:SKILL.md:214:ruby-shell-backtick-execution",
"category": "external_commands",
"severity": "medium",
"pattern": "Ruby/shell backtick execution",
"file": "SKILL.md",
"line_start": 214,
"line_end": 215,
"snippet": "- MIPS LE: `MIPS:LE:32:default`"
},
{
"id": "external_commands:SKILL.md:215:ruby-shell-backtick-execution",
"category": "external_commands",
"severity": "medium",
"pattern": "Ruby/shell backtick execution",
"file": "SKILL.md",
"line_start": 215,
"line_end": 219,
"snippet": "- MIPS BE: `MIPS:BE:32:default`"
},
{
"id": "external_commands:SKILL.md:219:ruby-shell-backtick-execution",
"category": "external_commands",
"severity": "medium",
"pattern": "Ruby/shell backtick execution",
"file": "SKILL.md",
"line_start": 219,
"line_end": 228,
"snippet": "```bash"
},
{
"id": "external_commands:SKILL.md:228:ruby-shell-backtick-execution",
"category": "external_commands",
"severity": "medium",
"pattern": "Ruby/shell backtick execution",
"file": "SKILL.md",
"line_start": 228,
"line_end": 232,
"snippet": "```"
},
{
"id": "external_commands:SKILL.md:232:ruby-shell-backtick-execution",
"category": "external_commands",
"severity": "medium",
"pattern": "Ruby/shell backtick execution",
"file": "SKILL.md",
"line_start": 232,
"line_end": 241,
"snippet": "```bash"
},
{
"id": "external_commands:SKILL.md:241:ruby-shell-backtick-execution",
"category": "external_commands",
"severity": "medium",
"pattern": "Ruby/shell backtick execution",
"file": "SKILL.md",
"line_start": 241,
"line_end": 247,
"snippet": "```"
},
{
"id": "external_commands:SKILL.md:247:ruby-shell-backtick-execution",
"category": "external_commands",
"severity": "medium",
"pattern": "Ruby/shell backtick execution",
"file": "SKILL.md",
"line_start": 247,
"line_end": 260,
"snippet": "```bash"
},
{
"id": "external_commands:SKILL.md:260:ruby-shell-backtick-execution",
"category": "external_commands",
"severity": "medium",
"pattern": "Ruby/shell backtick execution",
"file": "SKILL.md",
"line_start": 260,
"line_end": 264,
"snippet": "```"
},
{
"id": "external_commands:SKILL.md:264:ruby-shell-backtick-execution",
"category": "external_commands",
"severity": "medium",
"pattern": "Ruby/shell backtick execution",
"file": "SKILL.md",
"line_start": 264,
"line_end": 275,
"snippet": "```bash"
},
{
"id": "external_commands:SKILL.md:275:ruby-shell-backtick-execution",
"category": "external_commands",
"severity": "medium",
"pattern": "Ruby/shell backtick execution",
"file": "SKILL.md",
"line_start": 275,
"line_end": 279,
"snippet": "```"
},
{
"id": "external_commands:SKILL.md:279:ruby-shell-backtick-execution",
"category": "external_commands",
"severity": "medium",
"pattern": "Ruby/shell backtick execution",
"file": "SKILL.md",
"line_start": 279,
"line_end": 287,
"snippet": "```bash"
},
{
"id": "external_commands:SKILL.md:287:ruby-shell-backtick-execution",
"category": "external_commands",
"severity": "medium",
"pattern": "Ruby/shell backtick execution",
"file": "SKILL.md",
"line_start": 287,
"line_end": 293,
"snippet": "```"
},
{
"id": "external_commands:SKILL.md:293:ruby-shell-backtick-execution",
"category": "external_commands",
"severity": "medium",
"pattern": "Ruby/shell backtick execution",
"file": "SKILL.md",
"line_start": 293,
"line_end": 294,
"snippet": "| `aflj` | Functions list | Map code structure |"
},
{
"id": "external_commands:SKILL.md:294:ruby-shell-backtick-execution",
"category": "external_commands",
"severity": "medium",
"pattern": "Ruby/shell backtick execution",
"file": "SKILL.md",
"line_start": 294,
"line_end": 295,
"snippet": "| `axtj @addr` | Xrefs TO address | Who uses this? |"
},
{
"id": "external_commands:SKILL.md:295:ruby-shell-backtick-execution",
"category": "external_commands",
"severity": "medium",
"pattern": "Ruby/shell backtick execution",
"file": "SKILL.md",
"line_start": 295,
"line_end": 296,
"snippet": "| `axfj @addr` | Xrefs FROM address | What does it call? |"
},
{
"id": "external_commands:SKILL.md:296:ruby-shell-backtick-execution",
"category": "external_commands",
"severity": "medium",
"pattern": "Ruby/shell backtick execution",
"file": "SKILL.md",
"line_start": 296,
"line_end": 297,
"snippet": "| `pdfj @addr` | Disassembly | Understand instructions |"
},
{
"id": "external_commands:SKILL.md:297:ruby-shell-backtick-execution",
"category": "external_commands",
"severity": "medium",
"pattern": "Ruby/shell backtick execution",
"file": "SKILL.md",
"line_start": 297,
"line_end": 298,
"snippet": "| `pdgj @addr` | Decompilation | Pseudo-C output |"
},
{
"id": "external_commands:SKILL.md:298:ruby-shell-backtick-execution",
"category": "external_commands",
"severity": "medium",
"pattern": "Ruby/shell backtick execution",
"file": "SKILL.md",
"line_start": 298,
"line_end": 299,
"snippet": "| `afbj @addr` | Basic blocks | Control flow |"
},
{
"id": "external_commands:SKILL.md:299:ruby-shell-backtick-execution",
"category": "external_commands",
"severity": "medium",
"pattern": "Ruby/shell backtick execution",
"file": "SKILL.md",
"line_start": 299,
"line_end": 300,
"snippet": "| `izj` | Data strings | Configuration, URLs |"
},
{
"id": "external_commands:SKILL.md:300:ruby-shell-backtick-execution",
"category": "external_commands",
"severity": "medium",
"pattern": "Ruby/shell backtick execution",
"file": "SKILL.md",
"line_start": 300,
"line_end": 301,
"snippet": "| `iij` | Imports | External dependencies |"
},
{
"id": "external_commands:SKILL.md:301:ruby-shell-backtick-execution",
"category": "external_commands",
"severity": "medium",
"pattern": "Ruby/shell backtick execution",
"file": "SKILL.md",
"line_start": 301,
"line_end": 302,
"snippet": "| `iEj` | Exports | Public interface |"
},
{
"id": "external_commands:SKILL.md:302:ruby-shell-backtick-execution",
"category": "external_commands",
"severity": "medium",
"pattern": "Ruby/shell backtick execution",
"file": "SKILL.md",
"line_start": 302,
"line_end": 308,
"snippet": "| `afvj @addr` | Local variables | Stack analysis |"
},
{
"id": "external_commands:SKILL.md:308:ruby-shell-backtick-execution",
"category": "external_commands",
"severity": "medium",
"pattern": "Ruby/shell backtick execution",
"file": "SKILL.md",
"line_start": 308,
"line_end": 333,
"snippet": "```json"
},
{
"id": "external_commands:SKILL.md:333:ruby-shell-backtick-execution",
"category": "external_commands",
"severity": "medium",
"pattern": "Ruby/shell backtick execution",
"file": "SKILL.md",
"line_start": 333,
"line_end": 339,
"snippet": "```"
},
{
"id": "external_commands:SKILL.md:339:ruby-shell-backtick-execution",
"category": "external_commands",
"severity": "medium",
"pattern": "Ruby/shell backtick execution",
"file": "SKILL.md",
"line_start": 339,
"line_end": 362,
"snippet": "```"
},
{
"id": "external_commands:SKILL.md:362:ruby-shell-backtick-execution",
"category": "external_commands",
"severity": "medium",
"pattern": "Ruby/shell backtick execution",
"file": "SKILL.md",
"line_start": 362,
"line_end": 366,
"snippet": "```"
},
{
"id": "external_commands:SKILL.md:366:ruby-shell-backtick-execution",
"category": "external_commands",
"severity": "medium",
"pattern": "Ruby/shell backtick execution",
"file": "SKILL.md",
"line_start": 366,
"line_end": 392,
"snippet": "```"
},
{
"id": "external_commands:SKILL.md:392:ruby-shell-backtick-execution",
"category": "external_commands",
"severity": "medium",
"pattern": "Ruby/shell backtick execution",
"file": "SKILL.md",
"line_start": 392,
"line_end": 405,
"snippet": "```"
},
{
"id": "external_commands:SKILL.md:405:ruby-shell-backtick-execution",
"category": "external_commands",
"severity": "medium",
"pattern": "Ruby/shell backtick execution",
"file": "SKILL.md",
"line_start": 405,
"line_end": 406,
"snippet": "→ `binary-re-dynamic-analysis` to verify hypotheses with runtime observation"
},
{
"id": "external_commands:SKILL.md:257:shell-command-substitution",
"category": "external_commands",
"severity": "medium",
"pattern": "Shell command substitution",
"file": "SKILL.md",
"line_start": 257,
"line_end": 257,
"snippet": "for func in $(aflj | jq -r '.[].name'); do"
},
{
"id": "external_commands:SKILL.md:247:template-literal-with-command-substitution",
"category": "external_commands",
"severity": "medium",
"pattern": "Template literal with command substitution",
"file": "SKILL.md",
"line_start": 247,
"line_end": 260,
"snippet": "```bash"
},
{
"id": "filesystem:SKILL.md:178:standard-device-file-access",
"category": "filesystem",
"severity": "low",
"pattern": "Standard device file access",
"file": "SKILL.md",
"line_start": 178,
"line_end": 178,
"snippet": "r2 -qc 'pdg?' - 2>/dev/null | grep -q Usage && echo \"r2ghidra OK\" || echo \"SKIP: r2ghidra not instal"
},
{
"id": "filesystem:SKILL.md:202:temp-directory-access",
"category": "filesystem",
"severity": "medium",
"pattern": "Temp directory access",
"file": "SKILL.md",
"line_start": 202,
"line_end": 202,
"snippet": "analyzeHeadless /tmp/ghidra_proj proj \\"
},
{
"id": "blocker:SKILL.md:3:network-reconnaissance",
"category": "blocker",
"severity": "low",
"pattern": "Network reconnaissance",
"file": "SKILL.md",
"line_start": 3,
"line_end": 3,
"snippet": "description: Use when analyzing binary structure, disassembling code, or decompiling functions. Deep"
}
],
"finding_verdicts": [
{
"id": "external_commands:SKILL.md:25:ruby-shell-backtick-execution",
"verdict": "confirmed",
"confidence": 0.92,
"reason": "The enclosed workflow runs user-supplied binaries through qemu, Docker, or native execution. The skill asks for approval first, but executing unknown binaries remains a real sandbox and malware risk.",
"severity": "high"
},
{
"id": "external_commands:SKILL.md:48:ruby-shell-backtick-execution",
"verdict": "false_positive",
"confidence": 0.88,
"reason": "This is markdown documentation for radare2 or Ghidra usage, not executable Ruby backtick syntax. The referenced commands are local analysis steps and show no exfiltration or hidden automation."
},
{
"id": "external_commands:SKILL.md:65:ruby-shell-backtick-execution",
"verdict": "false_positive",
"confidence": 0.88,
"reason": "This is markdown documentation for radare2 or Ghidra usage, not executable Ruby backtick syntax. The referenced commands are local analysis steps and show no exfiltration or hidden automation."
},
{
"id": "external_commands:SKILL.md:66:ruby-shell-backtick-execution",
"verdict": "false_positive",
"confidence": 0.88,
"reason": "This is markdown documentation for radare2 or Ghidra usage, not executable Ruby backtick syntax. The referenced commands are local analysis steps and show no exfiltration or hidden automation."
},
{
"id": "external_commands:SKILL.md:67:ruby-shell-backtick-execution",
"verdict": "false_positive",
"confidence": 0.88,
"reason": "This is markdown documentation for radare2 or Ghidra usage, not executable Ruby backtick syntax. The referenced commands are local analysis steps and show no exfiltration or hidden automation."
},
{
"id": "external_commands:SKILL.md:71:ruby-shell-backtick-execution",
"verdict": "false_positive",
"confidence": 0.88,
"reason": "This is markdown documentation for radare2 or Ghidra usage, not executable Ruby backtick syntax. The referenced commands are local analysis steps and show no exfiltration or hidden automation."
},
{
"id": "external_commands:SKILL.md:78:ruby-shell-backtick-execution",
"verdict": "false_positive",
"confidence": 0.88,
"reason": "This is markdown documentation for radare2 or Ghidra usage, not executable Ruby backtick syntax. The referenced commands are local analysis steps and show no exfiltration or hidden automation."
},
{
"id": "external_commands:SKILL.md:81:ruby-shell-backtick-execution",
"verdict": "false_positive",
"confidence": 0.88,
"reason": "This is markdown documentation for radare2 or Ghidra usage, not executable Ruby backtick syntax. The referenced commands are local analysis steps and show no exfiltration or hidden automation."
},
{
"id": "external_commands:SKILL.md:82:ruby-shell-backtick-execution",
"verdict": "false_positive",
"confidence": 0.88,
"reason": "This is markdown documentation for radare2 or Ghidra usage, not executable Ruby backtick syntax. The referenced commands are local analysis steps and show no exfiltration or hidden automation."
},
{
"id": "external_commands:SKILL.md:83:ruby-shell-backtick-execution",
"verdict": "false_positive",
"confidence": 0.88,
"reason": "This is markdown documentation for radare2 or Ghidra usage, not executable Ruby backtick syntax. The referenced commands are local analysis steps and show no exfiltration or hidden automation."
},
{
"id": "external_commands:SKILL.md:87:ruby-shell-backtick-execution",
"verdict": "false_positive",
"confidence": 0.88,
"reason": "This is markdown documentation for radare2 or Ghidra usage, not executable Ruby backtick syntax. The referenced commands are local analysis steps and show no exfiltration or hidden automation."
},
{
"id": "external_commands:SKILL.md:89:ruby-shell-backtick-execution",
"verdict": "false_positive",
"confidence": 0.88,
"reason": "This is markdown documentation for radare2 or Ghidra usage, not executable Ruby backtick syntax. The referenced commands are local analysis steps and show no exfiltration or hidden automation."
},
{
"id": "external_commands:SKILL.md:99:ruby-shell-backtick-execution",
"verdict": "false_positive",
"confidence": 0.88,
"reason": "This is markdown documentation for radare2 or Ghidra usage, not executable Ruby backtick syntax. The referenced commands are local analysis steps and show no exfiltration or hidden automation."
},
{
"id": "external_commands:SKILL.md:103:ruby-shell-backtick-execution",
"verdict": "false_positive",
"confidence": 0.88,
"reason": "This is markdown documentation for radare2 or Ghidra usage, not executable Ruby backtick syntax. The referenced commands are local analysis steps and show no exfiltration or hidden automation."
},
{
"id": "external_commands:SKILL.md:116:ruby-shell-backtick-execution",
"verdict": "false_positive",
"confidence": 0.88,
"reason": "This is markdown documentation for radare2 or Ghidra usage, not executable Ruby backtick syntax. The referenced commands are local analysis steps and show no exfiltration or hidden automation."
},
{
"id": "external_commands:SKILL.md:120:ruby-shell-backtick-execution",
"verdict": "false_positive",
"confidence": 0.88,
"reason": "This is markdown documentation for radare2 or Ghidra usage, not executable Ruby backtick syntax. The referenced commands are local analysis steps and show no exfiltration or hidden automation."
},
{
"id": "external_commands:SKILL.md:129:ruby-shell-backtick-execution",
"verdict": "false_positive",
"confidence": 0.88,
"reason": "This is markdown documentation for radare2 or Ghidra usage, not executable Ruby backtick syntax. The referenced commands are local analysis steps and show no exfiltration or hidden automation."
},
{
"id": "external_commands:SKILL.md:133:ruby-shell-backtick-execution",
"verdict": "false_positive",
"confidence": 0.88,
"reason": "This is markdown documentation for radare2 or Ghidra usage, not executable Ruby backtick syntax. The referenced commands are local analysis steps and show no exfiltration or hidden automation."
},
{
"id": "external_commands:SKILL.md:142:ruby-shell-backtick-execution",
"verdict": "false_positive",
"confidence": 0.88,
"reason": "This is markdown documentation for radare2 or Ghidra usage, not executable Ruby backtick syntax. The referenced commands are local analysis steps and show no exfiltration or hidden automation."
},
{
"id": "external_commands:SKILL.md:146:ruby-shell-backtick-execution",
"verdict": "false_positive",
"confidence": 0.88,
"reason": "This is markdown documentation for radare2 or Ghidra usage, not executable Ruby backtick syntax. The referenced commands are local analysis steps and show no exfiltration or hidden automation."
},
{
"id": "external_commands:SKILL.md:155:ruby-shell-backtick-execution",
"verdict": "false_positive",
"confidence": 0.88,
"reason": "This is markdown documentation for radare2 or Ghidra usage, not executable Ruby backtick syntax. The referenced commands are local analysis steps and show no exfiltration or hidden automation."
},
{
"id": "external_commands:SKILL.md:159:ruby-shell-backtick-execution",
"verdict": "false_positive",
"confidence": 0.88,
"reason": "This is markdown documentation for radare2 or Ghidra usage, not executable Ruby backtick syntax. The referenced commands are local analysis steps and show no exfiltration or hidden automation."
},
{
"id": "external_commands:SKILL.md:168:ruby-shell-backtick-execution",
"verdict": "false_positive",
"confidence": 0.88,
"reason": "This is markdown documentation for radare2 or Ghidra usage, not executable Ruby backtick syntax. The referenced commands are local analysis steps and show no exfiltration or hidden automation."
},
{
"id": "external_commands:SKILL.md:176:ruby-shell-backtick-execution",
"verdict": "confirmed",
"confidence": 0.82,
"reason": "This block includes an r2pm command to install r2ghidra during analysis. On-demand plugin installation introduces supply-chain and toolchain integrity risk.",
"severity": "medium"
},
{
"id": "external_commands:SKILL.md:182:ruby-shell-backtick-execution",
"verdict": "false_positive",
"confidence": 0.88,
"reason": "This is markdown documentation for radare2 or Ghidra usage, not executable Ruby backtick syntax. The referenced commands are local analysis steps and show no exfiltration or hidden automation."
},
{
"id": "external_commands:SKILL.md:184:ruby-shell-backtick-execution",
"verdict": "false_positive",
"confidence": 0.88,
"reason": "This is markdown documentation for radare2 or Ghidra usage, not executable Ruby backtick syntax. The referenced commands are local analysis steps and show no exfiltration or hidden automation."
},
{
"id": "external_commands:SKILL.md:188:ruby-shell-backtick-execution",
"verdict": "false_positive",
"confidence": 0.88,
"reason": "This is markdown documentation for radare2 or Ghidra usage, not executable Ruby backtick syntax. The referenced commands are local analysis steps and show no exfiltration or hidden automation."
},
{
"id": "external_commands:SKILL.md:194:ruby-shell-backtick-execution",
"verdict": "false_positive",
"confidence": 0.88,
"reason": "This is markdown documentation for radare2 or Ghidra usage, not executable Ruby backtick syntax. The referenced commands are local analysis steps and show no exfiltration or hidden automation."
},
{
"id": "external_commands:SKILL.md:200:ruby-shell-backtick-execution",
"verdict": "confirmed",
"confidence": 0.72,
"reason": "The Ghidra headless command imports an untrusted binary and runs a postScript in a local project. This is legitimate analysis, but it expands execution surface and depends on a trusted script.",
"severity": "medium"
},
{
"id": "external_commands:SKILL.md:208:ruby-shell-backtick-execution",
"verdict": "false_positive",
"confidence": 0.88,
"reason": "This is markdown documentation for radare2 or Ghidra usage, not executable Ruby backtick syntax. The referenced commands are local analysis steps and show no exfiltration or hidden automation."
},
{
"id": "external_commands:SKILL.md:211:ruby-shell-backtick-execution",
"verdict": "false_positive",
"confidence": 0.88,
"reason": "This is markdown documentation for radare2 or Ghidra usage, not executable Ruby backtick syntax. The referenced commands are local analysis steps and show no exfiltration or hidden automation."
},
{
"id": "external_commands:SKILL.md:212:ruby-shell-backtick-execution",
"verdict": "false_positive",
"confidence": 0.88,
"reason": "This is markdown documentation for radare2 or Ghidra usage, not executable Ruby backtick syntax. The referenced commands are local analysis steps and show no exfiltration or hidden automation."
},
{
"id": "external_commands:SKILL.md:213:ruby-shell-backtick-execution",
"verdict": "false_positive",
"confidence": 0.88,
"reason": "This is markdown documentation for radare2 or Ghidra usage, not executable Ruby backtick syntax. The referenced commands are local analysis steps and show no exfiltration or hidden automation."
},
{
"id": "external_commands:SKILL.md:214:ruby-shell-backtick-execution",
"verdict": "false_positive",
"confidence": 0.88,
"reason": "This is markdown documentation for radare2 or Ghidra usage, not executable Ruby backtick syntax. The referenced commands are local analysis steps and show no exfiltration or hidden automation."
},
{
"id": "external_commands:SKILL.md:215:ruby-shell-backtick-execution",
"verdict": "false_positive",
"confidence": 0.88,
"reason": "This is markdown documentation for radare2 or Ghidra usage, not executable Ruby backtick syntax. The referenced commands are local analysis steps and show no exfiltration or hidden automation."
},
{
"id": "external_commands:SKILL.md:219:ruby-shell-backtick-execution",
"verdict": "false_positive",
"confidence": 0.88,
"reason": "This is markdown documentation for radare2 or Ghidra usage, not executable Ruby backtick syntax. The referenced commands are local analysis steps and show no exfiltration or hidden automation."
},
{
"id": "external_commands:SKILL.md:228:ruby-shell-backtick-execution",
"verdict": "false_positive",
"confidence": 0.88,
"reason": "This is markdown documentation for radare2 or Ghidra usage, not executable Ruby backtick syntax. The referenced commands are local analysis steps and show no exfiltration or hidden automation."
},
{
"id": "external_commands:SKILL.md:232:ruby-shell-backtick-execution",
"verdict": "false_positive",
"confidence": 0.88,
"reason": "This is markdown documentation for radare2 or Ghidra usage, not executable Ruby backtick syntax. The referenced commands are local analysis steps and show no exfiltration or hidden automation."
},
{
"id": "external_commands:SKILL.md:241:ruby-shell-backtick-execution",
"verdict": "false_positive",
"confidence": 0.88,
"reason": "This is markdown documentation for radare2 or Ghidra usage, not executable Ruby backtick syntax. The referenced commands are local analysis steps and show no exfiltration or hidden automation."
},
{
"id": "external_commands:SKILL.md:247:ruby-shell-backtick-execution",
"verdict": "confirmed",
"confidence": 0.66,
"reason": "The code block contains a Bash-style loop with command substitution over function names derived from the analyzed binary. Legitimate use is possible, but quoting and validation are missing.",
"severity": "medium"
},
{
"id": "external_commands:SKILL.md:260:ruby-shell-backtick-execution",
"verdict": "false_positive",
"confidence": 0.88,
"reason": "This is markdown documentation for radare2 or Ghidra usage, not executable Ruby backtick syntax. The referenced commands are local analysis steps and show no exfiltration or hidden automation."
},
{
"id": "external_commands:SKILL.md:264:ruby-shell-backtick-execution",
"verdict": "false_positive",
"confidence": 0.88,
"reason": "This is markdown documentation for radare2 or Ghidra usage, not executable Ruby backtick syntax. The referenced commands are local analysis steps and show no exfiltration or hidden automation."
},
{
"id": "external_commands:SKILL.md:275:ruby-shell-backtick-execution",
"verdict": "false_positive",
"confidence": 0.88,
"reason": "This is markdown documentation for radare2 or Ghidra usage, not executable Ruby backtick syntax. The referenced commands are local analysis steps and show no exfiltration or hidden automation."
},
{
"id": "external_commands:SKILL.md:279:ruby-shell-backtick-execution",
"verdict": "false_positive",
"confidence": 0.88,
"reason": "This is markdown documentation for radare2 or Ghidra usage, not executable Ruby backtick syntax. The referenced commands are local analysis steps and show no exfiltration or hidden automation."
},
{
"id": "external_commands:SKILL.md:287:ruby-shell-backtick-execution",
"verdict": "false_positive",
"confidence": 0.88,
"reason": "This is markdown documentation for radare2 or Ghidra usage, not executable Ruby backtick syntax. The referenced commands are local analysis steps and show no exfiltration or hidden automation."
},
{
"id": "external_commands:SKILL.md:293:ruby-shell-backtick-execution",
"verdict": "false_positive",
"confidence": 0.88,
"reason": "This is markdown documentation for radare2 or Ghidra usage, not executable Ruby backtick syntax. The referenced commands are local analysis steps and show no exfiltration or hidden automation."
},
{
"id": "external_commands:SKILL.md:294:ruby-shell-backtick-execution",
"verdict": "false_positive",
"confidence": 0.88,
"reason": "This is markdown documentation for radare2 or Ghidra usage, not executable Ruby backtick syntax. The referenced commands are local analysis steps and show no exfiltration or hidden automation."
},
{
"id": "external_commands:SKILL.md:295:ruby-shell-backtick-execution",
"verdict": "false_positive",
"confidence": 0.88,
"reason": "This is markdown documentation for radare2 or Ghidra usage, not executable Ruby backtick syntax. The referenced commands are local analysis steps and show no exfiltration or hidden automation."
},
{
"id": "external_commands:SKILL.md:296:ruby-shell-backtick-execution",
"verdict": "false_positive",
"confidence": 0.88,
"reason": "This is markdown documentation for radare2 or Ghidra usage, not executable Ruby backtick syntax. The referenced commands are local analysis steps and show no exfiltration or hidden automation."
},
{
"id": "external_commands:SKILL.md:297:ruby-shell-backtick-execution",
"verdict": "false_positive",
"confidence": 0.88,
"reason": "This is markdown documentation for radare2 or Ghidra usage, not executable Ruby backtick syntax. The referenced commands are local analysis steps and show no exfiltration or hidden automation."
},
{
"id": "external_commands:SKILL.md:298:ruby-shell-backtick-execution",
"verdict": "false_positive",
"confidence": 0.88,
"reason": "This is markdown documentation for radare2 or Ghidra usage, not executable Ruby backtick syntax. The referenced commands are local analysis steps and show no exfiltration or hidden automation."
},
{
"id": "external_commands:SKILL.md:299:ruby-shell-backtick-execution",
"verdict": "false_positive",
"confidence": 0.88,
"reason": "This is markdown documentation for radare2 or Ghidra usage, not executable Ruby backtick syntax. The referenced commands are local analysis steps and show no exfiltration or hidden automation."
},
{
"id": "external_commands:SKILL.md:300:ruby-shell-backtick-execution",
"verdict": "false_positive",
"confidence": 0.88,
"reason": "This is markdown documentation for radare2 or Ghidra usage, not executable Ruby backtick syntax. The referenced commands are local analysis steps and show no exfiltration or hidden automation."
},
{
"id": "external_commands:SKILL.md:301:ruby-shell-backtick-execution",
"verdict": "false_positive",
"confidence": 0.88,
"reason": "This is markdown documentation for radare2 or Ghidra usage, not executable Ruby backtick syntax. The referenced commands are local analysis steps and show no exfiltration or hidden automation."
},
{
"id": "external_commands:SKILL.md:302:ruby-shell-backtick-execution",
"verdict": "false_positive",
"confidence": 0.88,
"reason": "This is markdown documentation for radare2 or Ghidra usage, not executable Ruby backtick syntax. The referenced commands are local analysis steps and show no exfiltration or hidden automation."
},
{
"id": "external_commands:SKILL.md:308:ruby-shell-backtick-execution",
"verdict": "false_positive",
"confidence": 0.88,
"reason": "This is markdown documentation for radare2 or Ghidra usage, not executable Ruby backtick syntax. The referenced commands are local analysis steps and show no exfiltration or hidden automation."
},
{
"id": "external_commands:SKILL.md:333:ruby-shell-backtick-execution",
"verdict": "false_positive",
"confidence": 0.88,
"reason": "This is markdown documentation for radare2 or Ghidra usage, not executable Ruby backtick syntax. The referenced commands are local analysis steps and show no exfiltration or hidden automation."
},
{
"id": "external_commands:SKILL.md:339:ruby-shell-backtick-execution",
"verdict": "false_positive",
"confidence": 0.88,
"reason": "This is markdown documentation for radare2 or Ghidra usage, not executable Ruby backtick syntax. The referenced commands are local analysis steps and show no exfiltration or hidden automation."
},
{
"id": "external_commands:SKILL.md:362:ruby-shell-backtick-execution",
"verdict": "false_positive",
"confidence": 0.88,
"reason": "This is markdown documentation for radare2 or Ghidra usage, not executable Ruby backtick syntax. The referenced commands are local analysis steps and show no exfiltration or hidden automation."
},
{
"id": "external_commands:SKILL.md:366:ruby-shell-backtick-execution",
"verdict": "false_positive",
"confidence": 0.88,
"reason": "This is markdown documentation for radare2 or Ghidra usage, not executable Ruby backtick syntax. The referenced commands are local analysis steps and show no exfiltration or hidden automation."
},
{
"id": "external_commands:SKILL.md:392:ruby-shell-backtick-execution",
"verdict": "false_positive",
"confidence": 0.88,
"reason": "This is markdown documentation for radare2 or Ghidra usage, not executable Ruby backtick syntax. The referenced commands are local analysis steps and show no exfiltration or hidden automation."
},
{
"id": "external_commands:SKILL.md:405:ruby-shell-backtick-execution",
"verdict": "false_positive",
"confidence": 0.88,
"reason": "This is markdown documentation for radare2 or Ghidra usage, not executable Ruby backtick syntax. The referenced commands are local analysis steps and show no exfiltration or hidden automation."
},
{
"id": "external_commands:SKILL.md:257:shell-command-substitution",
"verdict": "confirmed",
"confidence": 0.68,
"reason": "The loop uses command substitution and then expands binary-derived function names without quoting. Crafted names could alter shell parsing if this snippet is run outside a controlled r2 context.",
"severity": "medium"
},
{
"id": "external_commands:SKILL.md:247:template-literal-with-command-substitution",
"verdict": "confirmed",
"confidence": 0.64,
"reason": "The detected block includes command substitution in a shell-like loop. It is intended for local analysis, but unquoted binary-derived values make it safer to keep for review.",
"severity": "medium"
},
{
"id": "filesystem:SKILL.md:178:standard-device-file-access",
"verdict": "false_positive",
"confidence": 0.93,
"reason": "The /dev/null reference is stderr redirection for a local availability check. It does not read sensitive device files or access arbitrary filesystem paths."
},
{
"id": "filesystem:SKILL.md:202:temp-directory-access",
"verdict": "confirmed",
"confidence": 0.78,
"reason": "The Ghidra workflow uses a fixed /tmp/ghidra_proj path. A predictable temporary project path can collide with stale files or unsafe permissions on shared systems.",
"severity": "medium"
},
{
"id": "blocker:SKILL.md:3:network-reconnaissance",
"verdict": "false_positive",
"confidence": 0.91,
"reason": "The line describes binary reverse engineering and decompilation, not active network reconnaissance. Later network sections trace imports inside a binary rather than scan external hosts."
}
],
"semantic_findings": [
{
"title": "Untrusted Binary Execution in Static Workflow",
"description": "The pre-analysis section tells the agent to run the analyzed binary through qemu, Docker, or native execution after approval. This is risky inside a static-analysis skill because unknown binaries may be hostile.",
"severity": "high",
"locations": [
{
"file": "SKILL.md",
"line_start": 21,
"line_end": 38
}
],
"confidence": 0.91,
"confidence_reasoning": "The cited lines explicitly require approval and then show qemu, Docker, and native execution of ./binary. The approval language reduces accidental execution risk but does not remove execution risk."
},
{
"title": "On-Demand Tool Plugin Installation",
"description": "The r2ghidra setup section instructs installing a plugin during analysis if it is missing. Installing tool plugins at analysis time can introduce unreviewed code into the environment.",
"severity": "medium",
"locations": [
{
"file": "SKILL.md",
"line_start": 174,
"line_end": 181
}
],
"confidence": 0.84,
"confidence_reasoning": "The availability check is harmless, but line 181 gives an installation command. The source and integrity of that plugin are not pinned in the skill."
}
],
"critical_findings": [],
"high_findings": [
{
"title": "Ruby/shell backtick execution",
"description": "```bash",
"locations": [
{
"file": "SKILL.md",
"line_start": 25,
"line_end": 48
}
],
"review_kind": "capability",
"source_category": "external_commands",
"source_severity": "medium",
"confidence": 0.92,
"confidence_reasoning": "The enclosed workflow runs user-supplied binaries through qemu, Docker, or native execution. The skill asks for approval first, but executing unknown binaries remains a real sandbox and malware risk."
},
{
"title": "Untrusted Binary Execution in Static Workflow",
"description": "The pre-analysis section tells the agent to run the analyzed binary through qemu, Docker, or native execution after approval. This is risky inside a static-analysis skill because unknown binaries may be hostile.",
"locations": [
{
"file": "SKILL.md",
"line_start": 21,
"line_end": 38
}
],
"review_kind": "security",
"source_category": "semantic",
"source_severity": "high",
"confidence": 0.91,
"confidence_reasoning": "The cited lines explicitly require approval and then show qemu, Docker, and native execution of ./binary. The approval language reduces accidental execution risk but does not remove execution risk."
}
],
"medium_findings": [
{
"title": "Ruby/shell backtick execution",
"description": "```bash",
"locations": [
{
"file": "SKILL.md",
"line_start": 176,
"line_end": 182
}
],
"review_kind": "capability",
"source_category": "external_commands",
"source_severity": "medium",
"confidence": 0.82,
"confidence_reasoning": "This block includes an r2pm command to install r2ghidra during analysis. On-demand plugin installation introduces supply-chain and toolchain integrity risk."
},
{
"title": "Ruby/shell backtick execution",
"description": "```bash",
"locations": [
{
"file": "SKILL.md",
"line_start": 200,
"line_end": 208
}
],
"review_kind": "capability",
"source_category": "external_commands",
"source_severity": "medium",
"confidence": 0.72,
"confidence_reasoning": "The Ghidra headless command imports an untrusted binary and runs a postScript in a local project. This is legitimate analysis, but it expands execution surface and depends on a trusted script."
},
{
"title": "Ruby/shell backtick execution",
"description": "```bash",
"locations": [
{
"file": "SKILL.md",
"line_start": 247,
"line_end": 260
}
],
"review_kind": "capability",
"source_category": "external_commands",
"source_severity": "medium",
"confidence": 0.66,
"confidence_reasoning": "The code block contains a Bash-style loop with command substitution over function names derived from the analyzed binary. Legitimate use is possible, but quoting and validation are missing."
},
{
"title": "Shell command substitution",
"description": "for func in $(aflj | jq -r '.[].name'); do",
"locations": [
{
"file": "SKILL.md",
"line_start": 257,
"line_end": 257
}
],
"review_kind": "capability",
"source_category": "external_commands",
"source_severity": "medium",
"confidence": 0.68,
"confidence_reasoning": "The loop uses command substitution and then expands binary-derived function names without quoting. Crafted names could alter shell parsing if this snippet is run outside a controlled r2 context."
},
{
"title": "Template literal with command substitution",
"description": "```bash",
"locations": [
{
"file": "SKILL.md",
"line_start": 247,
"line_end": 260
}
],
"review_kind": "capability",
"source_category": "external_commands",
"source_severity": "medium",
"confidence": 0.64,
"confidence_reasoning": "The detected block includes command substitution in a shell-like loop. It is intended for local analysis, but unquoted binary-derived values make it safer to keep for review."
},
{
"title": "Temp directory access",
"description": "analyzeHeadless /tmp/ghidra_proj proj \\",
"locations": [
{
"file": "SKILL.md",
"line_start": 202,
"line_end": 202
}
],
"review_kind": "capability",
"source_category": "filesystem",
"source_severity": "medium",
"confidence": 0.78,
"confidence_reasoning": "The Ghidra workflow uses a fixed /tmp/ghidra_proj path. A predictable temporary project path can collide with stale files or unsafe permissions on shared systems."
},
{
"title": "On-Demand Tool Plugin Installation",
"description": "The r2ghidra setup section instructs installing a plugin during analysis if it is missing. Installing tool plugins at analysis time can introduce unreviewed code into the environment.",
"locations": [
{
"file": "SKILL.md",
"line_start": 174,
"line_end": 181
}
],
"review_kind": "security",
"source_category": "semantic",
"source_severity": "medium",
"confidence": 0.84,
"confidence_reasoning": "The availability check is harmless, but line 181 gives an installation command. The source and integrity of that plugin are not pinned in the skill."
}
],
"low_findings": [],
"dangerous_patterns": [],
"files_scanned": 1,
"total_lines": 407,
"audit_model": "codex",
"audited_at": "2026-07-04T18:13:43.224Z",
"agent_auto_install_policy": "confirmation_required",
"manual_install_policy": "allowed"
},
"content": {
"user_title": "Analyze Binaries with r2 and Ghidra",
"value_statement": "Binary analysis is slow when function maps, xrefs, and decompiler output are scattered. This skill gives Claude, Codex, and Claude Code a staged static-analysis workflow.",
"seo_keywords": [
"Claude",
"Codex",
"Claude Code",
"binary reverse engineering",
"static binary analysis",
"radare2 workflow",
"Ghidra headless",
"disassembly analysis",
"decompilation workflow",
"malware analysis"
],
"actual_capabilities": [
"Guides radare2 light analysis with functions, imports, strings, and cross-references.",
"Shows how to choose analysis depth based on binary size.",
"Provides r2ghidra and Ghidra headless steps for targeted decompilation.",
"Covers CFG, call graph, data structure, network, configuration, and crypto tracing patterns.",
"Defines a journaling format for facts, hypotheses, questions, and resolved findings."
],
"limitations": [
"It depends on external tools such as radare2, r2ghidra, Ghidra, jq, qemu, and Docker.",
"It can suggest executing binaries for I/O comparison, which requires approval and sandboxing.",
"It does not include the referenced Ghidra ExportDecompilation.java script.",
"It provides analysis workflows, not automated malware containment or legal authorization."
],
"use_cases": [
{
"title": "Map an unknown binary",
"description": "Enumerate functions, imports, strings, and xrefs before deeper reverse engineering.",
"target_user": "Reverse engineer"
},
{
"title": "Trace risky behavior",
"description": "Follow network, file, and crypto call chains from imports to caller functions.",
"target_user": "Security analyst"
},
{
"title": "Document firmware findings",
"description": "Record facts, hypotheses, and open questions after static analysis of embedded binaries.",
"target_user": "Firmware researcher"
}
],
"prompt_templates": [
{
"title": "Start a Light Pass",
"scenario": "Beginner workflow for a new sample",
"prompt": "Plan a light static-analysis pass for this binary. Identify architecture assumptions, function enumeration, imports, strings, and first xrefs to inspect."
},
{
"title": "Trace a String or Import",
"scenario": "Intermediate workflow for a suspicious artifact",
"prompt": "Help me trace this string or import through the binary. Show which functions reference it and what caller chain to inspect next."
},
{
"title": "Decompile a Target Function",
"scenario": "Advanced workflow for focused reverse engineering",
"prompt": "Guide a targeted decompilation of this function. Compare decompiler output with disassembly, xrefs, local variables, and control flow."
},
{
"title": "Build an Evidence Journal",
"scenario": "Advanced workflow for reporting conclusions",
"prompt": "Turn these static-analysis notes into facts, hypotheses, confidence levels, unresolved questions, and recommended dynamic checks."
}
],
"output_examples": [
{
"input": "I have a stripped ARM binary and need a first static pass.",
"output": "The skill would propose a light radare2 workflow, list the first artifacts to collect, and defer execution until approval."
},
{
"input": "Which function uses this API endpoint string?",
"output": "The skill would map the string to an address, inspect xrefs, identify containing functions, and summarize likely data flow."
},
{
"input": "I need to record findings after decompiling a function.",
"output": "The skill would separate observed facts from hypotheses, cite analysis sources, update confidence, and list open questions."
}
],
"best_practices": [
"Confirm authorization and isolate samples before using binary analysis tools.",
"Start with light analysis, then deepen only the functions that matter.",
"Record facts, source commands, confidence, and unresolved questions."
],
"anti_patterns": [
"Running unknown binaries natively without explicit approval and sandboxing.",
"Using full deep analysis on large binaries before scoping the target.",
"Treating decompiler output as ground truth without checking disassembly and xrefs."
],
"faq": [
{
"question": "Does this skill execute binaries by default?",
"answer": "No. Its main workflow is static analysis, but one pre-analysis section suggests approved I/O comparison."
},
{
"question": "Which tools does it expect?",
"answer": "It expects radare2 for core analysis and optionally r2ghidra, Ghidra headless, jq, qemu, and Docker."
},
{
"question": "Can it analyze stripped binaries?",
"answer": "Yes. It focuses on imports, strings, xrefs, function discovery, and targeted decompilation when symbols are absent."
},
{
"question": "Is this only for malware analysis?",
"answer": "No. It also supports firmware review, compatibility debugging, vulnerability research, and unknown binary triage."
},
{
"question": "Does it replace dynamic analysis?",
"answer": "No. It builds hypotheses and recommends dynamic verification when static evidence is incomplete."
},
{
"question": "Can it produce final reverse-engineering reports?",
"answer": "It provides journaling structure and evidence organization, but final conclusions still need analyst review."
}
]
},
"file_structure": [
{
"name": "SKILL.md",
"type": "file",
"path": "SKILL.md",
"lines": 407
}
]
}
Related skills
| Skill | Stars | Updated | Works with | Status | Install |
|---|---|---|---|---|---|
| receiving-code-reviewobra/superpowersUse when receiving code review feedback, before implementing suggestions, especially if feedback seems unclear or technically questionable - requires technical rigor and verification, not performative agreement or blind implementation | Stars: 322k | Updated | Claude CodeCodex | Verified | Install |
| requesting-code-reviewobra/superpowersUse when completing tasks, implementing major features, or before merging to verify work meets requirements | Stars: 322k | Updated | Claude CodeCodex | Verified | Install |
| using-git-worktreesobra/superpowersUse when starting feature work that needs isolation from current workspace or before executing implementation plans - ensures an isolated workspace exists via native tools or git worktree fallback | Stars: 322k | Updated | Claude CodeCodex | Verified | Install |
| verification-before-completionobra/superpowersUse when about to claim work is complete, fixed, or passing, before committing or creating PRs - requires running verification commands and confirming output before making any success claims; evidence before assertions always | Stars: 322k | Updated | Claude CodeCodex | Verified | Install |