web3-auditor

web3-auditor is an agent for Claude Code from Awarexone/Agentic-Bug-Hunter. It costs 101 tokens per session (1,519 once invoked), scanned A, original, MIT.

A security auditor for Solidity smart contracts and DeFi protocols, checking common flaws in accounting, access control, oracles, tokens, signatures, reentrancy, flash loans, and upgradeable proxies. DeFi means financial applications built on blockchains.

In plain words
What is it for?
Assessing eligible smart-contract targets, inspecting their code for the listed vulnerability classes, and looking for bugs that could cause financial loss.
Why use it?
It prioritizes likely high-impact bug types and first checks whether the protocol is large and valuable enough to justify a deep review.

Agent for Claude Code

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

Part of the agentic-bug-hunter plugin — 16 skills, 37 commands, 9 agents, 3 hooks shipped together

Good fit Assessing eligible smart-contract targets, inspecting their code for the listed vulnerability classes, and looking for bugs that could cause financial loss.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/awarexone/agentic-bug-hunter/web3-auditor
About the project

Agentic Bug Hunter is a terminal toolkit that uses AI to investigate security targets, test for vulnerabilities, validate findings, and write bug bounty reports. It is for ethical hackers submitting findings to platforms such as HackerOne, Bugcrowd, Intigriti, or Immunefi, and can resume previous sessions. The catalogue entries package commands, skills, agents, instructions, hooks, and settings for using the toolkit.

Awarexone/Agentic-Bug-Hunter · 5,367 stars · on GitHub · awarexone.com

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/Awarexone/Agentic-Bug-Hunter

Made for: Claude Code.

Or install agentic-bug-hunter, the plugin that ships this one along with the rest of its 16 skills, 37 commands, 9 agents, 3 hooks.

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 web3-auditor

README.md
[![agentmods](https://agentmods.dev/badge/agents/awarexone/agentic-bug-hunter/web3-auditor/github.svg)](https://agentmods.dev/agents/awarexone/agentic-bug-hunter/web3-auditor)
Your own site
<a href="https://agentmods.dev/agents/awarexone/agentic-bug-hunter/web3-auditor"><img src="https://agentmods.dev/badge/agents/awarexone/agentic-bug-hunter/web3-auditor/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 web3-auditor

Your own site · 80×15
<a href="https://agentmods.dev/agents/awarexone/agentic-bug-hunter/web3-auditor"><img src="https://agentmods.dev/badge/agents/awarexone/agentic-bug-hunter/web3-auditor.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 101 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,519 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.00101 $0.01519
Opus 5.5 $0.00040 $0.00608
Sonnet 5.5 $0.00020 $0.00304
Haiku 4.5 $0.00010 $0.00152

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

Security

Grade A, and why

web3-auditor 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 1mo 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.

agents/web3-auditor.md · 171 lines

How it starts

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

Web3 Auditor Agent

You are a smart contract security researcher. You analyze Solidity contracts for bugs that pay on Immunefi and similar platforms.

Step 0: Pre-Dive Assessment

ALWAYS run this before reading code:

1. TVL check: < $500K → too low → STOP
2. Audit check: 2+ top-tier audits (Halborn, ToB, Cyfrin, OZ) on SIMPLE protocol → STOP
3. Size check: < 500 lines, single A→B→C flow → minimal surface → STOP
4. Payout formula: min(10% × TVL, program_cap) → if < $10K → STOP

If target passes, score it:

TVL > $10M:                        +2
Immunefi Critical >= $50K:         +2
No top-tier audit on this version: +2
< 30 days since deploy:            +1
Upgradeable proxies:               +1
Protocol you know well:            +1
→ Proceed if >= 6/10

Audit Protocol (10 bug classes in order)

Class 1: Accounting Desync (28% of Criticals)

Read all functions that modify balance/supply/accounting variables.

For each function with an early return:

  • What state variables are updated in the normal path?
  • Are ALL of them updated in the early return path too?
  • If A updated but not B → possible desync
grep -rn "totalSupply\|totalShares\|totalAssets\|totalDebt\|cumulativeReward" contracts/
grep -rn "\breturn\b" contracts/ -B5 | grep -B5 "if\b"

Class 2: Access Control (19% of Criticals)

The ONE RULE: Read ALL sibling functions. If vote() has modifiers, check poke(), reset(), harvest().

grep -rn "function vote\|function poke\|function reset\|function update\|function claim\|function harvest" contracts/ -A2
grep -rn "modifier\b" contracts/ -A8 | grep -B3 "if (" | grep -v "require\|revert"
grep -rn "function initialize\b" contracts/ -A3
grep -rn "_disableInitializers()" contracts/

Class 3: Incomplete Code Path (17% of Criticals)

For every function pair (deposit/withdraw, place/update, create/cancel):

  • Does the reverse function handle ALL the same state changes?
  • Does partial fill refund both ETH AND ERC20?

Read the full file on GitHub · 171 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. 1mo ago Changed · -4 lines 297e0258f4a8
  2. 1mo ago First seen · 175 lines · 101 tokens per session scan A ac24a88efbd7

Subscribe to this mod's changes

web3-auditor is an agent published in the GitHub repository Awarexone/Agentic-Bug-Hunter (5,367 stars, last pushed 11d ago), licensed MIT. It adds 101 tokens to every session and 1,519 once invoked, about $0.0004 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-08-30.

Related

Other agents, from other repositories

web3-auditor

Smart contract and Web3/DeFi security auditor. Covers Solidity vulnerabilities, Foundry PoC building, and DeFi-specific attack patterns. Use for Immunefi, Code4rena, and other Web3 bug bounty programs.

H-mmer/pentest-agents · 51 tokens

ssti-hunter

Server-Side Template Injection specialist. Covers Jinja2 (H1 #74), Twig, Velocity, FreeMarker, ERB, Handlebars, Thymeleaf. Use for any rule-engine, comment/message rendering, PR automation, admin template, or user-customizable template surface. Systematic blocklist mapper + CVE bypass runner + runtime-vs-parse…

H-mmer/pentest-agents · 83 tokens

report-writer

Security report generation agent. Use for compiling findings into formal penetration test reports, executive summaries, technical write-ups, and bug bounty submissions. Provide the findings directory or list of vulnerabilities to document.

H-mmer/pentest-agents · 42 tokens

sast-danger-mapper

Maps dangerous operations in a source file: memory ops, type casts, arithmetic near trust boundaries, free/dealloc patterns. Pattern matching task — list what you see, don't speculate. Use via /sast command.

H-mmer/pentest-agents · 49 tokens

sast-gap-analyzer

Analyzes validation gaps in data flows. Takes traced flows and identifies where checks are missing, insufficient, or bypassable. The 'interaction reasoning' step — finds bugs that exist in the gaps between individually correct-looking code. MUST run on Opus. Use via /sast command.

H-mmer/pentest-agents · 63 tokens

browser-stealth-agent

Stealth browser automation agent for targets behind Cloudflare, Akamai, Google, DataDome, or PerimeterX bot detection. Drives the local camofox-browser REST server (Camoufox, C++-patched Firefox) for recon, client-side bug verification, and evidence capture. Prefer this over the Burp-backed browser-agent when the…

H-mmer/pentest-agents · 98 tokens