apiscan
API security audit — REST, GraphQL, JWT analysis, parameter discovery
Full static analysis workflow — PE headers, strings, disassembly, classification
> /plugin marketplace add ogrodev/fsociety > /plugin install fsociety@ogrodev-fsociety
How it fires
How this command gets triggered: by you, by Claude, or both.
/analyzeContext preview
What this command does when you run it.
Full static analysis workflow — PE headers, strings, disassembly, classification
description: Full static analysis workflow — PE headers, strings, disassembly, classification allowed-tools: ToolSearch, Bash, Read, Write, Glob, Grep, Task argument-hint: <path-to-binary>
> **Storage Policy**: ALL output files MUST be saved in the project directory. NEVER write to `/tmp/` or any system temporary directory.
Parse `$ARGUMENTS` to get the binary path. This command runs the complete 8-phase reverse engineering workflow.
1. Verify the binary exists at the provided path. 2. Check tool availability:
node "${CLAUDE_PLUGIN_ROOT}/scripts/tool-checker.js" check3. If critical Tier 1 tools are missing, inform the user and suggest `/re-install`.
1. Compute hashes:
node "${CLAUDE_PLUGIN_ROOT}/scripts/binary-hasher.js" hash "$ARGUMENTS"2. Check for prior analysis:
node "${CLAUDE_PLUGIN_ROOT}/scripts/analysis-tracker.js" check "<sha256>" "full-analysis"3. File type identification: `file <binary>` 4. Record basic metadata: size, timestamps.
Use radare2 for PE header analysis:
r2 -qc 'iH' <binary> # PE headers r2 -qc 'iI' <binary> # Binary info r2 -qc 'iS' <binary> # Sections (check entropy) r2 -qc 'ii' <binary> # Imports r2 -qc 'iE' <binary> # Exports r2 -qc 'ir' <binary> # Resources
Flag suspicious indicators:
strings -a -n 6 <binary> # ASCII strings strings -a -n 6 -el <binary> # UTF-16 LE strings floss <binary> # Obfuscated/stack strings
Regex-match for: URLs, IPs, emails, API keys (AWS `AKIA*`, Azure, GCP `AIza*`), JWT tokens (`eyJ*`), base64 blobs, file paths, registry keys, wallet addresses.
Log each finding:
node "${CLAUDE_PLUGIN_ROOT}/scripts/findings-tracker.js" add "<binary>" "<type>" "<value>" "<severity>" "<title>"r2 -qc 'aaa; afl' <binary> # Analyze and list functions r2 -qc 'aaa; pdf @main' <binary> # Decompile main/entry
Identify key function categories: network, file I/O, process manipulation, registry, crypto, anti-analysis.
If imports include `mscoree.dll` or `_CorExeMain`, this is a .NET binary. Run `/dotnet` for specialized analysis.
Check section entropy and known packer signatures. If packed, suggest `/unpack` before deep analysis.
yara -r <rules-dir> <binary> # YARA scan (if rules available)
Extract IOCs: C2 addresses, mutex names, dropped file paths, persistence keys.
Log analysis completion:
node "${CLAUDE_PLUGIN_ROOT}/scripts/analysis-tracker.js" add "<sha256>" "full-analysis" "completed" --binary "<name>" --findings <count>Save comprehensive report to `analysis-<binary-name>.md` with sections:
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