apiscan
API security audit — REST, GraphQL, JWT analysis, parameter discovery
Ghidra headless decompilation with function analysis
> /plugin marketplace add ogrodev/fsociety > /plugin install fsociety@ogrodev-fsociety
How it fires
How this command gets triggered: by you, by Claude, or both.
/decompileContext preview
What this command does when you run it.
Ghidra headless decompilation with function analysis
description: Ghidra headless decompilation with function analysis allowed-tools: ToolSearch, Bash, Read, Write, Glob, Grep argument-hint: <path-to-binary> [--function <name>]
> **Storage Policy**: ALL output files MUST be saved in the project directory. NEVER write to `/tmp/` or any system temporary directory.
Parse `$ARGUMENTS` for the binary path and optional `--function <name>` flag.
1. Verify Ghidra is installed:
node "${CLAUDE_PLUGIN_ROOT}/scripts/tool-checker.js" check ghidraIf missing, inform user and suggest: `sudo apt install -y ghidra`
2. Locate `analyzeHeadless`:
find /opt/ghidra* /usr/share/ghidra -name analyzeHeadless 2>/dev/null | head -1
mkdir -p extracted/ghidra-projects
analyzeHeadless extracted/ghidra-projects ProjectName \ -import <binary> \ -overwrite \ -analysisTimeoutPerFile 300 \ -postScript ExportDecompilation.java \ -scriptPath /path/to/scripts
If ExportDecompilation script is not available, use radare2 as fallback:
r2 -qc 'aaa; pdd @main' <binary> # Decompile main r2 -qc 'aaa; afl~[0]' <binary> # List function addresses r2 -qc 'aaa; pdd @<addr>' <binary> # Decompile specific function
If `--function <name>` was specified:
r2 -qc 'aaa; s <name>; pdd' <binary>
Focus on functions that reference:
Save decompiled code to `extracted/decompiled-<binary-name>/`. Generate summary with key functions annotated.
Multi-plugin marketplace for Claude Code offensive security plugins
Repo: ogrodev/fsociety
API security audit — REST, GraphQL, JWT analysis, parameter discovery
Archive or list previous engagement snapshots
Password brute force and hash cracking against target services
Resume or execute an attack campaign with progress tracking
Show running scans, system health, and engagement status