/spec-driven:reverse-engineerfrom spec-driven
Consolidated skill for reverse engineering binaries, firmware, mobile apps, JS/Electron apps, .NET assemblies, network protocols, and malware. Includes REA CLI workflows, CTF playbooks, and consent-gated security assessment coordination.
Ships in spec-driven. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
One consolidated skill for reverse engineering and adjacent security analysis. It merges two upstream packs:
references/rea/) — evidence-ledger workflows for the REA CLI/MCP
server (rea-agents on npm): native, managed, Electron/JS, packaged,
firmware, browser, EVM, crash-dump, packet/signal-capture, and metadata-artifact
targets, plus AgentEnv environment bundles of web applications.references/) — 45+ domain guides, a 40+ CTF competition
playbook pack (references/CTF-Sandbox-Orchestrator/), a structured router,
case/scope scripts, and a field journal.references/scripts/case-init.sh (or the offline-sample / ctf-public
presets) to write work/<case>/scope.md; auth.status=granted plus a legal
network_profile — or an explicit offline sample — is required before any
ACT step. --force never bypasses this.references/RULES.md and references/ops/scope-contract.md.references/RULES.md → "Untrusted Artifact Boundary".references/rea/.scripts/install-rea.sh
(or --check first to diagnose). It wraps npx rea-agents setup/doctor
and never installs Node.js or analysis engines.| Target / task | First tool or guide |
|---|---|
| Native exe/dll/elf/so, unknown binary | REA open_binary → analyze_function / pseudocode (providers: Ghidra/IDA/Hopper/Kuna); else references/reverse-engineering/README.md (triage→static→dynamic→synthesis) |
| Managed PE (.NET/C#) | REA inspect_managed_artifact; else references/dotnet-reverse/ |
| ASAR / Electron / bundled JS | REA analyze_javascript_application; else references/js-reverse/ |
| APK / Android | REA inspect_android_package; else references/apk-reverse/, references/mobile-reverse/ |
| APK/AAB signing identity & lineage | REA inspect_apk_signature |
| ZIP/APK/IPA/MSIX/AppX/DMG member inventory, PyInstaller exe | REA open_binary (archive route) → inspect_artifact |
| Apple bundle resources (plist, .nib, .car, keyed archives) | REA open_bundle_resources |
| Firmware image | REA inspect_firmware_regions / extract_firmware; else references/firmware-pentest/ |
| ELF layout/symbols/mitigations (offline) | REA inspect_binary_layout; else references/radare2/ |
| Linux x86-64 core dump | REA inspect_recorded_crash |
| PE/ELF static metadata (Authenticode, imports, TLS/load-config, exports, ELF notes, PE resources) | REA inspect_pe_certificates / inspect_pe_imports / inspect_pe_load_config / inspect_native_exports / inspect_elf_notes / inspect_pe_resources (target-free, no engine) |
| WASM / IL2CPP metadata / GGUF·safetensors / .pyc / .beam / SQLite / Apple .ips / kernel .ko / GPU code objects | Target-free REA inspectors: inspect_wasm_artifact, inspect_il2cpp_metadata, inspect_model_artifact, inspect_python_pyc, inspect_erlang_beam, inspect_sqlite_database, inspect_apple_ips, inspect_kernel_module, inspect_gpu_code_objects — details in references/rea/README.md |
| EVM bytecode blob | REA inspect_evm_interface |
| Open browser page / Electron runtime | REA list_browser_targets / list_electron_targets (check inspect_electron_fuses first); else references/browser-automation/ |
| Native runtime observation (instrument, debug, record process) | references/rea/runtime-observation.md workflows; else Frida/GDB per domain guide |
| HAR / SAZ / mitmproxy / qlog capture | REA inspect_web_network_capture (format: "saz" for Fiddler .saz) |
| Packet/logic captures (PCAP fields, pcap summaries, sigrok) | REA inspect_packet_fields → inspect_packet_capture, inspect_pcap_capture, inspect_signal_decoders → decode_signal_recording; else references/protocol-reverse/ |
| AgentEnv bundle of a web app (from live instance or capture) | references/rea/environments.md — capture_browser_scenario → export_environment_bundle / rea environment-serve |
| Go/Rust stripped binary | REA inspect_go_binary / inspect_rust_binary (embedded metadata, no engine); deep RE: references/go-rust-reverse/, REA Ghidra provider |
| Kernel driver / LKM / .sys | references/reverse-engineering/kernel-driver-reverse.md |
| OLLVM / control-flow-flattening obfuscation | references/reverse-engineering/references/ollvm-deobfuscation.md |
| Custom VM / DSL VM (JS opcode switch) | references/reverse-engineering/dsl-vm-reverse/ |
| Custom protocol / Protobuf / PCAP | references/protocol-reverse/, references/digital-forensics/ |
| Malware sample | references/malware-analysis/ (six-stage, YARA/Sigma) |
| Version diffing / symbol migration | references/binary-diff/; N-day patch→exploit: references/patch-diff-exploit/ |
| Exploit development after RE | references/pwn-chain/ (stack/heap/kernel, pwntools) |
| Anti-debug / anti-VM / packing | references/reverse-engineering/anti-analysis.md |
| CTF challenge (any category) | references/ctf-sandbox/ → references/CTF-Sandbox-Orchestrator/ |
| macOS / iOS / Mach-O | references/macos-reverse/, references/mobile-reverse/ |
| Thick desktop client | references/thick-client/; extension: references/browser-extension-reverse/ |
| Hardware (UART/JTAG/SWD) | references/hardware-security/ |
| Authorized pentest / web / API / AD / cloud / wireless | references/pentest-tools/, api-security/, windows-ad/, cloud-k8s/, wifi-wireless/; multi-stage planning under written authorization: attack-chain/ |
| Code audit / SBOM / secrets scan | references/code-audit/, supply-chain-security/ |
| Forensics / threat hunting / OSINT | references/digital-forensics/, threat-hunting/, threat-intelligence/ |
| Ambiguous route | bash references/scripts/master-route.sh --hint "<task>" (rule SSoT: references/config/routing.json); fallback matrix: references/routing.md |
references/scripts/case-init.sh --hint "<task>" (or presets
offline-sample / ctf-public). Guard re-check: case-guard.sh.master-route.sh --hint "<task>" → PRIMARY guide; open its
README.md (upstream SKILL.md) and follow it.file, strings, checksec, rabin2 -z,
ltrace/strace before disassemblers; summary-first in REA
(detail: "summary" → inspect_analysis_view for retained evidence).references/scripts/append-evidence.ps1 on Windows,
references/scripts/consolidate_evidence.py anywhere), findings via
references/ops/evidence-finding-path.md.references/ops/analysis-decision-framework.md.references/scripts/check-tools.sh <module> — read-only
per-module readiness (required/optional + bootstrap hint; --all, --list,
--json). Tool inventory lives in generated references/tool-index.md
(refresh with references/scripts/refresh-tool-index.sh); install only via
references/scripts/bootstrap-reverse.sh <capability> after disclosure —
capabilities listed in references/scripts/bootstrap-manifest.json.references/docs-generator/,
references/field-journal/_template.md.references/ mirrors upstream skills/ — upstream links like ../ops/,
../scripts/, ../field-journal/ resolve inside it. Upstream
../CTF-Sandbox-Orchestrator/ → references/CTF-Sandbox-Orchestrator/;
upstream repo-root RULES.md → references/RULES.md.SKILL.md is renamed README.md inside its folder
(pre-existing upstream READMEs are preserved as README.upstream.md).references/tool-index.md is generated (gitignored upstream); the template
is references/tool-index.md.template.scripts/install-rea.sh (this skill's own script) installs/registers REA:
--check doctor, --global npm CLI, --client <id> scoped setup,
--dry-run, --print-manual for raw mcpServers JSON.references/CONTRIBUTING.md (opens in a new tab)references/CTF-Sandbox-Orchestrator/LICENSE (opens in a new tab)references/CTF-Sandbox-Orchestrator/README.md (opens in a new tab)references/CTF-Sandbox-Orchestrator/competition-ad-certificate-abuse/README.md (opens in a new tab)references/CTF-Sandbox-Orchestrator/competition-ad-certificate-abuse/agents/openai.yaml (opens in a new tab)references/CTF-Sandbox-Orchestrator/competition-ad-certificate-abuse/references/ad-certificate-abuse.md (opens in a new tab)references/CTF-Sandbox-Orchestrator/competition-agent-cloud/README.md (opens in a new tab)references/CTF-Sandbox-Orchestrator/competition-agent-cloud/agents/openai.yaml (opens in a new tab)references/CTF-Sandbox-Orchestrator/competition-agent-cloud/references/agent-cloud.md (opens in a new tab)references/CTF-Sandbox-Orchestrator/competition-android-hooking/README.md (opens in a new tab)references/CTF-Sandbox-Orchestrator/competition-android-hooking/agents/openai.yaml (opens in a new tab)references/CTF-Sandbox-Orchestrator/competition-android-hooking/references/android-hooking.md (opens in a new tab)references/CTF-Sandbox-Orchestrator/competition-browser-persistence/README.md (opens in a new tab)references/CTF-Sandbox-Orchestrator/competition-browser-persistence/agents/openai.yaml (opens in a new tab)references/CTF-Sandbox-Orchestrator/competition-browser-persistence/references/browser-persistence.md (opens in a new tab)references/CTF-Sandbox-Orchestrator/competition-bundle-sourcemap-recovery/README.md (opens in a new tab)references/CTF-Sandbox-Orchestrator/competition-bundle-sourcemap-recovery/agents/openai.yaml (opens in a new tab)references/CTF-Sandbox-Orchestrator/competition-bundle-sourcemap-recovery/references/bundle-sourcemap-recovery.md (opens in a new tab)references/CTF-Sandbox-Orchestrator/competition-cloud-metadata-path/README.md (opens in a new tab)references/CTF-Sandbox-Orchestrator/competition-cloud-metadata-path/agents/openai.yaml (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
27 skills in this plugin
/architectureSingle owner of everything under docs/architecture/ — ADRs, architecture and design documents, and architecture diagrams. Routes each deliverable to the right engine: /mermaid-architecture for Markdown-native diagrams, /drawio-architecture for editable .drawio diagrams, and the optional archify skill for interactive standalone HTML diagrams (used only when already installed in the environment; never installed at runtime). Use whenever architecture documentation, ADRs, or architecture diagrams must be created or updated./building-mcp-serversUse when building a new MCP server in TypeScript, Python, or C# that exposes tools to LLMs./code-review-and-qualitynpx claudepluginhub afonsoft/skills --plugin spec-drivenOther plugins' skills for the same job