What problem does it solve?
This Skill automates the creation and validation of Foundry Proof-of-Concept (PoC) tests for smart contract vulnerabilities, transforming attack scenarios into executable code.
Core Features & Use Cases
- PoC Generation: Creates Solidity test files (
.t.sol) from detailed attack scenario descriptions.
- Validation: Executes generated PoCs using Foundry and analyzes results to confirm vulnerability impact.
- Scenario Refinement: Updates attack scenarios based on validation outcomes, ensuring accuracy.
- Use Case: After an audit identifies a high-severity reentrancy bug, use this Skill to generate a Foundry test that proves the exploit and validates the claimed impact.
Quick Start
Use the poc skill to generate and validate a Foundry PoC for the finding located at .vigilo/findings/high/logic/H-01-donation-attack-inflated-collateral.md.