0x-shashi/web3-audit-skills/attack-chains
Claude Code and agent skill by 0x-shashi/web3-audit-skills
- community
Checking that the SKILL.md file is still in the repository.
Detect multi-step exploit sequences where individual steps may appear benign but combine into critical vulnerabilities. Use when analyzing protocols for flash-loan-to-governance chains, oracle manipulation sequences, or cross-contract re-entrancy paths inspired by real-world exploits like Ronin, Wormhole, and Beanstalk.
Install
npx vskill@latest install 0x-shashi/web3-audit-skills/attack-chainsSKILL.md
The same SKILL.md was published earlier as majiayu000/claude-skill-registry-data/attack-chains.
Attack Chains Skill
Purpose
Detect multi-step exploit sequences where individual steps may appear benign but combine into critical vulnerabilities. Real-world exploits rarely use a single vulnerability — they chain multiple issues together.
Why Attack Chains Matter
- $624M Ronin Bridge: Social engineering → Key compromise → Validator threshold bypass → Fund drain
- $326M Wormhole: Signature verification bypass → Fake VAA → Unauthorized minting
- $182M Beanstalk: Flash loan → Governance vote → Proposal execution → Fund drain
- $130M Cream Finance: Flash loan → Oracle manipulation → Under-collateralized borrow → Drain
Chain Types
| Chain | Description | File | |
|---|---|---|---|
| Flash Loan | Flash loan enables price/governance manipulation | flash-loan-chains.md | |
| Oracle | Oracle distortion enables economic exploits | oracle-chains.md | |
| Bridge | Cross-chain verification bypass chains | bridge-chains.md | |
| Governance | Vote manipulation and proposal hijacking | governance-chains.md |
Detection Approach
- Identify entry points: Flash loans, large token transfers, governance proposals
- Trace data flow: Follow manipulated values through the system
- Check invariants: Verify economic invariants hold under manipulation
- Simulate chains: Walk through multi-step sequences mentally or in tests
Severity
Attack chains are almost always Critical or High severity because they represent complete exploit paths.
Prerequisites
Attack chain analysis requires familiarity with individual vulnerability types. The Patterns skill MUST be loaded first. Flash loan chains additionally require understanding of DeFi composability.
Validation
To verify attack chain detection, test against known exploit reproductions:
Behavior Guidelines
- Chain analysis MUST consider all entry points (flash loans, large transfers, governance proposals)
- Auditors should optionally model economic profitability of detected chains
- Cross-contract interactions are required to be traced through all delegate calls
References
- Attack Chains References - Historical exploit timelines and chain diagrams
Security
- Security scanPassed, 100 of 100Pattern checks on the skill's files.
- Model reviewNot runA model review is scheduled for the next rescan.
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingskills/advanced/attack-chains/SKILL.md
Popularity
- 7-day trend score
- 0
Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/0x-shashi/web3-audit-skills/attack-chains)