Economic Attack Simulator
Model oracle, sandwich, and griefing attacks on live pool state to estimate real attacker profit after slippage and gas.
Sensitivity: net profit vs. price shift
Closed-form slippage cost rises as √(1+p), while extractable value rises linearly. The break-even shift for the current inputs is marked; shifts to the left are unprofitable under any gas price.
Net profitExtractableManipulation costBreak-even shift
Why this beats severity alone
- A finding is CAPTURED not when a reviewer labels it "Critical" but when the numbers close: cost-to-attack < extractable-value, and capital requirements are within flash-loan reach.
- The constant-product slippage model is conservative — it ignores liquidity concentration, multi-pool arbitrage, and oracle TWAP windows. Use it to screen findings before burning fork-runtime cycles on a full F2 capsule.
- A profitable finding ranks above an "unprofitable Critical" under the F2 verdict ladder applied in theExploit Lab.
Sign in to use the Economic Attack Simulator
Use the Sign In button in the navigation bar.
Select Smart Contract
Choose a smart contract from your workspace to open in this view.