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.
npx skills add Awarexone/web3-bug-bounty-hunting-ai-skills --skill web3-bug-classesgit clone --depth 1 https://github.com/Awarexone/web3-bug-bounty-hunting-ai-skillsWrote 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.
[](https://agentmods.dev/skills/awarexone/web3-bug-bounty-hunting-ai-skills/web3-bug-classes)<a href="https://agentmods.dev/skills/awarexone/web3-bug-bounty-hunting-ai-skills/web3-bug-classes"><img src="https://agentmods.dev/badge/skills/awarexone/web3-bug-bounty-hunting-ai-skills/web3-bug-classes/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.
<a href="https://agentmods.dev/skills/awarexone/web3-bug-bounty-hunting-ai-skills/web3-bug-classes"><img src="https://agentmods.dev/badge/skills/awarexone/web3-bug-bounty-hunting-ai-skills/web3-bug-classes.svg" alt="Reviewed on agentmods" width="80" height="20"></a>- NVIDIA SkillSpector pass
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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00072 | $0.10306 |
| Opus 5 | $0.00036 | $0.05153 |
| Sonnet 5 | $0.00014 | $0.02061 |
| Haiku 4.5 | $0.00007 | $0.01031 |
Grade A, and why
web3-bug-classes 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.
Copies of this mod
1 near-identical copy found in the catalogue:
- web3-bug-classes — 100% identical, 0 lines differ
How it starts
The opening of the file, as written. The whole thing — 1,121 lines — stays where its author put it; the contents beside it link to each section on GitHub.
BUG CLASSES — DeFi Smart Contract Vulnerabilities
10 bug classes. Each one with root cause, vulnerable code, fix, grep patterns, and real paid examples.
1. ACCOUNTING STATE DESYNCHRONIZATION
#1 Critical bug class — 28% of all Criticals on Immunefi. Real protocols: Yeet, Alchemix V3, Folks Finance, ResupplyFi, MetaPool
What It Is
Two state variables are supposed to stay in sync. One code path updates variable A but forgets variable B. Later code reads both and makes decisions based on the stale B.
Real Value = A - B
If A is updated but B isn't → Real Value appears larger than it is → phantom value
Root Cause Pattern
// BEFORE (correct state):
// aToken.balanceOf(this) = 1000 (principal + yield)
// totalSupply = 1000 (only principal)
// yield = 1000 - 1000 = 0 ✓ correct
// Attacker triggers startUnstake:
totalSupply -= amount; // decremented BEFORE transfer
// totalSupply = 900 now
// aToken.balanceOf still = 1000
// yield appears = 1000 - 900 = 100 (PHANTOM)
// Now harvest():
yieldAmount = aToken.balanceOf(this) - totalSupply;
// = 1000 - 900 = 100 (phantom yield — no real yield was earned)
// Protocol harvests 100 of principal and distributes as "yield"
Variants
Variant 1: Phantom Yield — totalSupply decremented before transfer
// Yeet protocol (35 duplicate reports):
function startUnstake(uint256 amount) external {
totalSupply -= amount; // decremented here, transfer happens later
// balanceOf(this) - totalSupply now shows phantom yield
}
Variant 2: Fast Path Skips State Update — early return bypasses critical updates
// Alchemix V3 claimRedemption:
function claimRedemption(uint256 tokenId) external {
if (transmuter.balance >= amount) {
transmuter.transfer(user, amount);
_burn(tokenId);
return; // EARLY RETURN — cumulativeEarmarked, _redemptionWeight, totalDebt never updated
}
// SLOW PATH: updates all state vars correctly
alchemist.redeem(...);
}
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.
- 12d ago First seen · 1,121 lines · 72 tokens per session scan A 03cd842c5cba
web3-bug-classes is a skill published in the GitHub repository Awarexone/web3-bug-bounty-hunting-ai-skills (142 stars, last pushed 17d ago), licensed MIT. It adds 72 tokens to every session and 10,306 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.
Other skills, from other repositories
analyzing-ethereum-smart-contract-vulnerabilities
Perform static and symbolic analysis of Solidity smart contracts using Slither and Mythril to detect reentrancy, integer overflow, access control, and other vulnerability classes before deployment to Ethereum mainnet.
propfund
Trade on PropFund, the decentralized on-chain prop firm for AI agents. Use this skill to get funded with the liquidity pool's capital and trade without risking your own bankroll — pass a transparent evaluation, then place leveraged long/short trades with mandatory stop-loss/take-profit and on-chain risk limits, and…
token-antiflash
When this skill is triggered, DO NOT directly implement all strategies. Follow this workflow.
solidity-coding
When a contract involves state initialization (external addresses, business parameters, role assignments), DO NOT default to any single approach. Follow this workflow.
solidity-checklist
Most on-chain operation failures come from skipping systematic verification. Instead of the reactive loop.
programmable-v4-hook-builder
Build, repair, validate, submit, or track a complete Programmable Uniswap v4 Custom launch through the public V3 API. Use when the user names Programmable and wants implementation or launch work for a hook, token, multi-contract graph, app, game, service, or hybrid. Do not use for explanation-only questions, unrelated…