dragonked2/alphacode/economic-attacks
Claude Code and agent skill by dragonked2/alphacode
- community
Checking that the SKILL.md file is still in the repository.
Economic modeling — flash-loan capital, profit equations, manipulation cost, liquidation games. Load before calling anything an exploit.
Install
npx vskill@latest install dragonked2/alphacode/economic-attacksSKILL.md
ECONOMIC ATTACKS
Mandatory equation
Itemize: attacker capital, temporary (flash) capital and fees, liquidity required vs available, slippage, gas, protocol loss, attacker gain, repayment. Reject netProfit <= 0 and attacks needing liquidity that does not exist.
Flash-loan pattern (capital, not bug)
Ask: does temporary capital let the attacker hold a manipulated variable long enough to violate an invariant? Atomicity cuts both ways — the protocol interaction and the restoration happen in one transaction, so the vulnerable window must be inside it.
Lenses
- Liquidation games: discount vs bonus, MEV competition, dust positions.
- Oracle lag arbitrage between markets.
- Governance rented per block vs proposal value.
- Fee/reward farming exceeding intended emission rate.
Rule
Economics without numbers is narrative. Every economic finding ships with the arithmetic or it ships as a hypothesis, never as confirmed.
Security
- Security scanPassed, 95 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingsrc/alphacode_base/bundled_skills/web3-security-research/economic-attacks/SKILL.md
Popularity
- 7-day trend score
- 5
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/dragonked2/alphacode/economic-attacks)