attack-tx-analysis

attack-tx-analysis is a skill for Claude Code, Codex from BradMoonUESTC/TxAnalyzer. It costs 130 tokens per session (5,626 once invoked), scanned C, original, GPL-3.0.

A workflow for investigating blockchain attack transactions from start to finish. It gathers chain-specific transaction evidence and then traces the likely cause across trust boundaries.

In plain words
What is it for?
It helps analyze attacks on EVM chains using traces, source, opcodes, and selectors, and on Solana using transaction data, instructions, logs, accounts, and program information.
Why use it?
It helps turn raw transaction data into an evidence-based explanation of how an attack happened.

Skill for Claude CodeCodex

Which agent this was written for is unclear — body not stored (licence); the path alone says nothing.

Good fit It helps analyze attacks on EVM chains using traces, source, opcodes, and selectors, and on Solana using transaction data, instructions, logs, accounts, and program information.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/bradmoonuestc/txanalyzer/txanalyzer
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 BradMoonUESTC/TxAnalyzer --skill txanalyzer
Clone the repo
git clone --depth 1 https://github.com/BradMoonUESTC/TxAnalyzer

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 attack-tx-analysis

README.md
[![agentmods](https://agentmods.dev/badge/skills/bradmoonuestc/txanalyzer/txanalyzer/github.svg)](https://agentmods.dev/skills/bradmoonuestc/txanalyzer/txanalyzer)
Your own site
<a href="https://agentmods.dev/skills/bradmoonuestc/txanalyzer/txanalyzer"><img src="https://agentmods.dev/badge/skills/bradmoonuestc/txanalyzer/txanalyzer/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 attack-tx-analysis

Your own site · 80×15
<a href="https://agentmods.dev/skills/bradmoonuestc/txanalyzer/txanalyzer"><img src="https://agentmods.dev/badge/skills/bradmoonuestc/txanalyzer/txanalyzer.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 130 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 5,626 The whole file, excluding the scripts and references it only reads on demand.
Security scan C 2 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin unknown 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.00130 $0.05626
Opus 5.5 $0.00052 $0.02250
Sonnet 5.5 $0.00026 $0.01125
Haiku 4.5 $0.00013 $0.00563

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

Security

Grade C, and why

attack-tx-analysis scanned grade C with 2 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 1mo ago.

The scan reads SKILL.md. This mod also ships 5 executable files (scripts/backfill_opcodes.py, scripts/cleanup.py, scripts/decompile.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.

Downloads and executes remote codehighSupply chain

curl | sh runs whatever the server returns today, which is not necessarily what it returned when this was reviewed.

3. **Heimdall** (optional, for decompiling unverified contracts): binary expected at `~/.bifrost/bin/heimdall`. Install via `curl -L https://bifrost.sh | bash && bifrost --install heimdall`.

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

3. **Heimdall** (optional, for decompiling unverified contracts): binary expected at `~/.bifrost/bin/heimdall`. Install via `curl -L https://bifrost.sh | bash && bifrost --install heimdall`.
SKILL.md · 366 lines

The source is not reproduced here

Licensed GPL-3.0

The repository is licensed GPL-3.0, which this catalogue does not treat as permission to reproduce the file. Read it at the source.

Read it on GitHub

Files

What ships with it

6 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. 1mo ago First seen · 366 lines · 130 tokens per session scan C adee47d31be7

Subscribe to this mod's changes

attack-tx-analysis is a skill published in the GitHub repository BradMoonUESTC/TxAnalyzer (49 stars, last pushed 6mo ago), licensed GPL-3.0. It adds 130 tokens to every session and 5,626 once invoked, about $0.0005 per session on Opus 5.5. A static security scan graded it C with 2 findings (downloads and executes remote code, makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.