pactlint: scan a deployed contract by address
scan_contract_addressScan a verified contract by address on Ethereum or Base for security bugs, using Slither and DeFi detectors. Returns findings with severity, fixes and a JSON report.
Instructions
pactlint: Scan a deployed, verified contract on Ethereum or Base for security bugs, by address. For source you hold use scan_contract_source. Fetches the verified source from Sourcify. Runs solc, Slither and custom DeFi detectors (unchecked ERC-20 returns, zero slippage limits, oracle misuse, ERC-4626 inflation, signature replay, ...). Returns a JSON report (findings with severity, confidence, file:line and a fix) plus Markdown. Price: USD 0.25 up to 3,000 nSLOC, USD 0.75 up to 15,000; refused inputs are never charged. Free: 3 scans or 30 txpeek checks per IP per UTC day. Unverified contracts are refused (not charged): use check_contract_before_interaction. Typically 3-30 s; at most 60 s; a full queue is a 503 with Retry-After (not charged). Automated and heuristic, not an audit: findings can be false positives and an empty report does not prove the code is free of bugs. Docs: https://tanod.dev/learn/smart-contract-scanner-api.html
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| chain | Yes | Chain the contract is deployed on. | |
| address | Yes | Contract address (0x + 40 hex). | |
| include_noisy | No | Also report detectors dropped by default as noisy (high false-positive rate); default false. | |
| include_dependencies | No | Also report findings in dependencies, tests and mocks (lib/, node_modules/, OpenZeppelin, ...); default false. | |
| include_informational | No | Also report informational (style and best-practice) findings; default false. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| error | No | Only on an error result: an object {code, message}, or the reason string of an x402 PaymentRequired object. | |
| stats | No | ||
| status | No | ||
| scan_id | No | ||
| findings | No | ||
| disclaimer | No | ||
| schema_version | No |