pentagonal_fix
Fix smart contract vulnerabilities by providing contract code and vulnerability details. Returns the complete fixed contract while preserving all existing functionality.
Instructions
Fix a specific vulnerability in a smart contract. Provide the contract code and the finding details — returns the complete fixed contract preserving all existing functionality.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| code | Yes | The full smart contract source code to fix | |
| finding_title | Yes | Short title of the vulnerability (e.g., "Reentrancy in withdraw()") | |
| finding_description | Yes | Detailed description of the vulnerability and how it can be exploited |