foundry-poc-mainnet-fork - Reproduce EVM vulnerabilities with Foundry forks
Creates a Foundry test that reproduces a smart contract vulnerability end to end against real deployed contracts on a forked EVM network.
Tags
Updated: 2026-10-12Capabilities
Typical Inputs
Typical Outputs
What this skill does
- Classify finding impact
- Trace the causal chain
- Select the fork starting point
- Bind real deployed contracts
- Execute every attack step
- Verify realized impact
Inputs
- Vulnerability description
- Target EVM chain
- Fork block or latest
- Deployed contract addresses
- RPC URL
- Repository test paths
- Finding severity
Outputs
- Foundry PoC test file
- Classification statement
- Passing end-to-end vulnerability test
Requirements
- Foundry framework
- EVM-compatible target chain
- RPC access to fork state
- Historical state access for pinned blocks
- Real deployed contracts on target chain
