solving-malware-with-symbolic-execution

solving-malware-with-symbolic-execution is a skill for Claude Code, Codex from meltedinhex/analyst-ai-pack. It costs 84 tokens per session (771 once invoked), scanned A, original, Apache-2.0.

A workflow that uses symbolic execution to explore many possible inputs through a program and solve conditions along the way. It generates an angr harness, where angr is a software-analysis tool, to find inputs reaching or avoiding chosen code locations.

In plain words
What is it for?
Use it to find inputs that reach a target branch, recover values accepted by a check routine, or test opaque conditions in an isolated environment.
Why use it?
It can solve difficult checks without manually trying every possible value. This is useful when a malware sample hides a key, password, or branch condition behind complex logic.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it to find inputs that reach a target branch, recover values accepted by a check routine, or test opaque conditions in an isolated environment.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/meltedinhex/analyst-ai-pack/solving-malware-with-symbolic-execution
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.

Any agent
npx skills add meltedinhex/analyst-ai-pack --skill solving-malware-with-symbolic-execution
Clone the repo
git clone --depth 1 https://github.com/meltedinhex/analyst-ai-pack

Made for: Claude Code, Codex.

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 solving-malware-with-symbolic-execution

README.md
[![agentmods](https://agentmods.dev/badge/skills/meltedinhex/analyst-ai-pack/solving-malware-with-symbolic-execution/github.svg)](https://agentmods.dev/skills/meltedinhex/analyst-ai-pack/solving-malware-with-symbolic-execution)
Your own site
<a href="https://agentmods.dev/skills/meltedinhex/analyst-ai-pack/solving-malware-with-symbolic-execution"><img src="https://agentmods.dev/badge/skills/meltedinhex/analyst-ai-pack/solving-malware-with-symbolic-execution/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 solving-malware-with-symbolic-execution

Your own site · 80×15
<a href="https://agentmods.dev/skills/meltedinhex/analyst-ai-pack/solving-malware-with-symbolic-execution"><img src="https://agentmods.dev/badge/skills/meltedinhex/analyst-ai-pack/solving-malware-with-symbolic-execution.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 84 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 771 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.00084 $0.00771
Opus 5 $0.00042 $0.00385
Sonnet 5 $0.00017 $0.00154
Haiku 4.5 $0.00008 $0.00077

Measured 9d ago against content hash 713b25c719b5, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-12, from the pricing page.

Security

Grade A, and why

solving-malware-with-symbolic-execution 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 9d ago.

The scan reads SKILL.md. This mod also ships 1 executable file (scripts/analyst.py), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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.

skills/solving-malware-with-symbolic-execution/SKILL.md · 94 lines

How it starts

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

Solving Malware With Symbolic Execution

When to Use

  • You need to find an input that reaches (or avoids) a specific address — a license/unlock check, an environment guardrail, or an opaque predicate — without manual constraint solving.
  • You want to recover a key/password a check routine validates, or prune bogus branches.

Do not use angr's unicorn/concrete execution against untrusted code outside isolation — and do not treat symbolic execution as a substitute for understanding the routine. This skill generates a harness; run it in an isolated environment.

Prerequisites

  • The target binary and the relevant addresses (entry, target/avoid). The angr package (the script degrades gracefully and reports availability if absent).

Safety & Handling

  • Run generated harnesses in an isolated VM; angr loads the binary — keep inputs contained.

Workflow

Step 1: Check availability and generate a harness

python scripts/analyst.py check
python scripts/analyst.py harness --binary sample.bin --find 0x401234 --avoid 0x401260 \
    --out solve.py

Emits an angr script that loads the binary, sets a symbolic stdin/argument, explores to --find while avoiding --avoid, and prints the solving input.

Step 2: Constrain the input

Edit the harness to add the input's length/charset constraints (printable, specific size) so the solver converges quickly.

Step 3: Run and interpret

Run the harness; the recovered concrete input is the key/password/flag that reaches the target.

Step 4: Validate manually

Confirm the recovered input actually drives the intended path in a debugger/disassembler.

Validation

  • The harness sets explicit find/avoid addresses and a constrained symbolic input.
  • A found solution is verified to reach the target in a debugger.
  • State explosion is mitigated with constraints or veritesting.

Pitfalls

  • State explosion on loops/large inputs — constrain length and use LAZY_SOLVES/veritesting.
  • Symbolic-execution-hostile code (hashing, heavy crypto) that angr cannot tractably solve.
  • Wrong addresses (ASLR/base) — use the binary's load base, not a runtime address.

Read the full file on GitHub · 94 lines

Files

What ships with it

3 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. 9d ago First seen · 94 lines · 84 tokens per session scan A 713b25c719b5

Subscribe to this mod's changes

solving-malware-with-symbolic-execution is a skill published in the GitHub repository meltedinhex/analyst-ai-pack (22 stars, last pushed 2mo ago), licensed Apache-2.0. It adds 84 tokens to every session and 771 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-09-03.

Related

Other skills, from other repositories

analyzing-malicious-pdf-with-peepdf

Perform static analysis of malicious PDF documents using peepdf, pdfid, and pdf-parser to extract embedded JavaScript, shellcode, and suspicious objects.

pinkpixel-dev/skills-collection-1 · 43 tokens

analyzing-golang-malware-with-ghidra

Reverse engineer Go-compiled malware in Ghidra by parsing Go buildinfo and pclntab structures, recovering stripped/obfuscated function names (e.g. via GoResolver), and extracting embedded module/dependency strings and types from Go binaries. Use when analyzing a Go-language malware sample, deobfuscating a…

mukul975/Anthropic-Cybersecurity-Skills · 95 tokens

analyzing-malicious-pdf-with-peepdf

Perform static analysis of malicious PDF documents using peepdf, pdfid, and pdf-parser to extract embedded JavaScript, shellcode, and suspicious objects. Use when triaging a suspicious PDF attachment from a phishing email, analyzing a PDF-based exploit document, or building detection signatures for weaponized PDF…

mukul975/Anthropic-Cybersecurity-Skills · 73 tokens

deobfuscating-powershell-obfuscated-malware

Systematically deobfuscate multi-layer PowerShell malware using AST analysis, dynamic tracing, and tools like PSDecode and PowerDecode to reveal hidden payloads and C2 infrastructure.

adriannoes/awesome-agentic-ai · 48 tokens

analyzing-malicious-pdf-with-peepdf

A Chinese-language skill for examining suspicious PDF files with peepdf, pdfid, and pdf-parser. It is intended for static malware analysis, which studies a file without running it.

killvxk/cybersecurity-skills-zh · 50 tokens

analyzing-malicious-pdf-with-peepdf

Perform static analysis of malicious PDF documents using peepdf, pdfid, and pdf-parser to extract embedded JavaScript, shellcode, and suspicious objects.

26zl/cybersec-toolkit · 43 tokens