Solidity Red-Flag Scan ($0.020)
solidity_red_flag_scanBefore you buy, approve or deposit: scans a contract's verified Solidity source (Sourcify; follows proxies to the implementation) for red flags with file, line and reason: blocklists, unbounded fee setters, owner balance edits, trading switches, owner mint, pause, upgradeability, arbitrary transferFrom (approval drain), arbitrary delegatecall, unprotected initializer, reentrancy order, unchecked calls, tx.origin auth, signature replay, weak randomness. Heuristic, not an audit. Unverified contracts are not charged. PAID: $0.020 per call in USDC on Base via x402, or use a 0.25 USDC transfer pass (pay_tx). See payment_options. By Lao K.
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": {
"address": "<address>"
},
"name": "solidity_red_flag_scan"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| chain | No | Chain of the contract (default base). Payment is always USDC on Base. | |
| follow | No | 1 (default) = if it is a proxy, also scan the implementation | |
| pay_tx | No | Optional, for the plain-transfer option (no x402 needed): hash of a USDC transfer of >= 0.25 USDC to this server's receiving address (get it from the payment_options tool). One transfer unlocks every paid tool for 24h. | |
| address | Yes | Contract address (verified on Sourcify) | |
| pay_chain | No | Chain of pay_tx (default: inferred; 0x hash = base, base58 signature = solana) |