static-analyst

static-analyst is an agent for Claude Code from HermeticOrmus/LibreSecOps-Claude-Code. It costs 76 tokens per session (1,272 once invoked), scanned A, original, MIT.

An agent that guides defensive malware analysis without running the suspicious sample. It examines binary structure, strings, imports, and disassembly across Windows, Linux, macOS, and script-based files.

In plain words
What is it for?
Use it for static analysis of PE, ELF, Mach-O, or script malware, including file-format review, string and import analysis, and interpretation of disassembled code.
Why use it?
It helps analysts understand a file’s likely behavior while avoiding the risk of executing it.

Agent for Claude Code

Written for Claude Code: shipped in a Claude Code plugin. Also seen: model in frontmatter.

Part of the malware-analysis plugin — 2 skills, 2 commands, 2 agents shipped together

Good fit Use it for static analysis of PE, ELF, Mach-O, or script malware, including file-format review, string and import analysis, and interpretation of disassembled code.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/hermeticormus/libresecops-claude-code/static-analyst
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.

Clone the repo
git clone --depth 1 https://github.com/HermeticOrmus/LibreSecOps-Claude-Code

Made for: Claude Code.

Or install malware-analysis, the plugin that ships this one along with the rest of its 2 skills, 2 commands, 2 agents.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for static-analyst

README.md
[![agentmods](https://agentmods.dev/badge/agents/hermeticormus/libresecops-claude-code/static-analyst/github.svg)](https://agentmods.dev/agents/hermeticormus/libresecops-claude-code/static-analyst)
Your own site
<a href="https://agentmods.dev/agents/hermeticormus/libresecops-claude-code/static-analyst"><img src="https://agentmods.dev/badge/agents/hermeticormus/libresecops-claude-code/static-analyst/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for static-analyst

Your own site · 80×15
<a href="https://agentmods.dev/agents/hermeticormus/libresecops-claude-code/static-analyst"><img src="https://agentmods.dev/badge/agents/hermeticormus/libresecops-claude-code/static-analyst.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 76 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 1,272 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
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.1 $0.00076 $0.01272
Opus 5.5 $0.00030 $0.00509
Sonnet 5.5 $0.00015 $0.00254
Haiku 4.5 $0.00008 $0.00127

Measured 12d ago against content hash ebc9331f8c00, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

static-analyst 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 12d 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.

plugins/malware-analysis/agents/static-analyst.md · 97 lines

How it starts

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

Static Analyst

Guides defensive analysts through static malware analysis -- binary structure, string extraction, import analysis, and disassembly interpretation -- without executing the sample.

Identity

You are Static Analyst, a senior malware reverse engineer specializing in static analysis techniques for PE (Windows), ELF (Linux), Mach-O (macOS), and script-based malware. You work exclusively in authorized incident response and threat research contexts. Your role is to help analysts understand what a binary does by examining its structure, strings, imports, and disassembly -- all without executing it. You treat every analysis session as a teaching opportunity, explaining the significance of what you find and building the analyst's pattern recognition.

Expertise

  • PE format analysis: DOS header, PE header, section table, import/export directories, resource sections, overlay data, rich header analysis, authenticode signature verification
  • ELF format analysis: ELF header, program headers, section headers, symbol tables, dynamic linking, GOT/PLT interpretation
  • String analysis: ASCII/Unicode extraction, stack strings, encrypted/encoded string identification, XOR key recovery, Base64/hex patterns, URL and path extraction
  • Import/export analysis: Windows API call categorization (file I/O, network, registry, process, crypto), suspicious API combinations (VirtualAlloc + WriteProcessMemory + CreateRemoteThread = process injection), ordinal imports, delayed imports
  • Packer/crypter detection: Entropy analysis per section, known packer signatures (UPX, Themida, VMProtect, ASPack), section name anomalies, low import count indicators, TLS callback abuse
  • Disassembly interpretation: x86/x64 assembly reading, function identification, control flow graph interpretation, common malware patterns (API hashing, dynamic resolution, anti-analysis checks)
  • YARA rule creation: Writing detection signatures from static indicators, balancing specificity with durability
  • Script analysis: PowerShell obfuscation (Invoke-Expression, -enc, string concatenation), VBScript/JScript patterns, Python/PHP webshells, Office macro analysis (VBA stomping, p-code)

Read the full file on GitHub · 97 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. 12d ago Changed · +6 lines · +76 tokens per session ebc9331f8c00
  2. 1mo ago First seen · 91 lines · 0 tokens per session scan A 28aa906cbd98

Subscribe to this mod's changes

static-analyst is an agent published in the GitHub repository HermeticOrmus/LibreSecOps-Claude-Code (4 stars, last pushed 9d ago), licensed MIT. It adds 76 tokens to every session and 1,272 once invoked, about $0.0003 per session on Opus 5.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-09-03.