audit_contract
Audit Base Mainnet smart contract bytecode for risky opcodes, proxy patterns, interfaces, and owner controls, then calculate a risk score; requires a confirmed 0.50 USDC payment.
Instructions
Performs an on-chain bytecode security audit of a smart contract on Base Mainnet. Checks for SELFDESTRUCT opcodes, DELEGATECALL proxies, ERC-20/721 interfaces, centralized owner selectors, and calculates a risk score. Requires a confirmed 0.50 USDC transfer on Base.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"contract_address": "<contract_address>",
"tx_hash": "<tx_hash>"
},
"name": "audit_contract"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tx_hash | Yes | The 66-character 0x transaction hash on Base confirming the 0.50 USDC payment to the auditor vault (0xbefe9ce194a3d685486e5fda11c5221146de4d6c). | |
| contract_address | Yes | The 42-character 0x EVM smart contract address on Base Mainnet to audit. |