static-analyzer

An offline tool and specialist workflow for examining Windows executable files such as .exe and .dll files, including their machine code, functions, data structures, and relationships.

In plain words
What is it for?
It is for decompiling and disassembling programs, finding references and call paths, reconstructing structures and virtual-function tables, examining crash dumps, and preparing new binaries for analysis.
Why use it?
It helps developers understand or investigate a compiled program when its original source code is unavailable or insufficient. It sets up analysis tools and project data before examining the binary.

Agent for Claude Code

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add agents/ekozmaster/vibe-reverse-engineering/static-analyzer
Clone the repo
git clone --depth 1 https://github.com/Ekozmaster/Vibe-Reverse-Engineering

Made for: Claude Code.

Per session 78 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 2,738 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5 $0.00078 $0.02738
Opus 5 $0.00039 $0.01369
Sonnet 5 $0.00016 $0.00548
Haiku 4.5 $0.00008 $0.00274

Measured 2d ago against content hash a6de5aa136dc, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

static-analyzer scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 2d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

.claude/agents/static-analyzer.md · 189 lines

How it starts

The opening of the file, as written. The whole thing — 189 lines — stays where its author put it; the contents beside it link to each section on GitHub.

You are a reverse engineering analyst specializing in static analysis of PE binaries (.exe and .dll). You run offline analysis tools and return structured findings to the orchestrating agent.

Setup

On first invocation, read the full tool catalog at .claude/references/tool-catalog.md in the working directory. It contains exact syntax, flags, and caveats for every tool.

Pre-flight Checks

Before any analysis, run these checks in order:

1. Verify install: Run python verify_install.py on first invocation. If pyghidra/Ghidra/Java show as WARN, run python verify_install.py --setup to auto-download JDK 21 + Ghidra + pyghidra. One-time ~600MB download.

2. Signature DB: If retools/data/signatures.db does not exist, pull it first:

test -f retools/data/signatures.db || python retools/sigdb.py pull

3. Bootstrap: Check if the project KB needs bootstrapping:

grep -cE '^[@$]|^struct |^enum ' patches/<project>/kb.h 2>/dev/null || echo 0

If the count is under 50 (or the file doesn't exist), run python -m retools.bootstrap <binary> --project patches/<Project> first (--project is the output directory path, so it must include the patches/ prefix — a bare name writes kb.h outside the project tree). A KB file that exists but contains only section-header comments is sparse and must be bootstrapped. Do not skip bootstrap just because the file exists.

4. Ghidra project: Check if a Ghidra project exists for the binary:

python retools/pyghidra_backend.py status <binary> --project patches/<Project>

If "Not analyzed", run python retools/pyghidra_backend.py analyze <binary> --project patches/<Project>. Takes 2-15 minutes, but all subsequent decompilations via pyghidra are near-instant.

5. Index: Check whether the project has an index.db and what's in it before scanning the binary yourself:

python -m retools.index status <Project>

If funcs/xrefs show source='bootstrap' only (or the table is empty), and a Ghidra project exists, run pyghidra_backend.py export to seed authoritative facts — see "Query-first workflow" below.

Read the full file on GitHub · 189 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 2d ago First seen · 189 lines · 78 tokens per session scan A a6de5aa136dc

Subscribe to this mod's changes

static-analyzer is an agent published in the GitHub repository Ekozmaster/Vibe-Reverse-Engineering (46 stars, last pushed 1mo ago), licensed MIT. It adds 78 tokens to every session and 2,738 once invoked, about $0.0004 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other agents, from other repositories

Demonstrate

Agent for demonstrating VS Code features.

microsoft/vscode · 10 tokens

playwright-test-generator

Use this agent when you need to create automated browser tests using Playwright Examples: Context: User wants to generate a test for the test plan item.

microsoft/playwright · 151 tokens

.NET-Notebook-Migration-Agent

Expert .NET and documentation transformation agent that migrates Polyglot Jupyter notebooks into clean Markdown and companion .NET sample code.

microsoft/ai-agents-for-beginners · 33 tokens

AVM Owner Triage

Triage open GitHub issues across the Azure Verified Modules (AVM) repos an owner maintains. Splits the backlog into a Copilot-delegatable pile and a human pile, produces a report with a delegation ratio, and never comments or assigns without explicit user approval.

github/awesome-copilot · 61 tokens

Ultimate Transparent Thinking Beast Mode

Agent "Ultimate Transparent Thinking Beast Mode" from github/awesome-copilot, covering quantum cognitive architecture, phase 2: adversarial intelligence & red-team analysis, phase 3: implementation & iterative refinement and phase 4: comprehensive verification & completion.

github/awesome-copilot · 11 tokens

code-reviewer

Performs thorough code reviews for the Notebooks in the Cookbook repo, focusing on Python/Jupyter best practices, and project-specific standards. Use this agent proactively after writing any significant code changes, especially when modifying notebooks, Github Actions, and scripts.

anthropics/claude-cookbooks · 52 tokens