dragonked2/alphacode/economic-attacks

Claude Code and agent skill by dragonked2/alphacode

Trust tier 3
  • community
Source check pending

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-attacks

SKILL.md

ECONOMIC ATTACKS

Mandatory equation

netProfit = attackerGain - attackerCosts - requiredRepayment

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)

flash liquidity → manipulation → protocol interaction →
extraction → restoration → repayment → profit

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

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
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/dragonked2/alphacode/economic-attacks/badge)](https://verified-skill.com/skills/dragonked2/alphacode/economic-attacks)

Something wrong with this skill or its page? Tell us.