contract-auditor ๐Ÿ›ก๏ธ

Quick-scan a smart contract for rug / honeypot / centralization risk before you approve or send funds.
MCP serverx402 pay-per-callread-onlyUSDC ยท BaseSourcify verified sourcelive on-chain state

Give it an address + chain (or raw Solidity), get a SAFE / CAUTION / HIGH-RISK verdict with an explained risk score โ€” combining the verified source, live on-chain owner/proxy state, and a honeypot & owner-power scan.

What it catches

๐Ÿ” Upgradeable proxyEIP-1967 / 1167 / beacon โ€” the owner can swap the code you audited for different code
๐Ÿ‘‘ Owner powersmint, pause, blacklist, owner-adjustable fees/tax, max-tx limits, trading on/off, withdraw/sweep
๐Ÿ’€ Dangerous primitivesselfdestruct, delegatecall, tx.origin auth, arbitrary external calls, inline assembly
๐Ÿฏ Honeypot signalscan't-sell patterns: blacklist + uncapped tax + trading switch + wallet/tx caps
๐Ÿ”“ Owner statuslive on-chain check: is owner renounced, a single EOA (one key), or a multisig/timelock?
โ“ Unverifiedno verified source on Sourcify = you can't read what you're trusting (strong red flag)

Free HTTP API

GET /audit?address=0xdAC17F958D2ee523a2206206994597C13D831ec7&chain=ethereum
GET /audit?address=0x...&chain=base

Chains: ethereum, base, optimism, arbitrum, polygon, bsc, avalanche, gnosis, celo (or a numeric chainId).

MCP server (free)

{
  "mcpServers": {
    "contract-auditor": { "command": "npx", "args": ["-y", "contract-auditor-mcp"] }
  }
}

Or connect over HTTP at POST /mcp. Tool: audit_contract.

Pay-per-call (x402)

The /pro/* route is gated by x402. Your agent pays $0.25 USDC per call automatically โ€” no sign-up, no API key. Settles on-chain to the operator wallet.

GET /pro/audit?address=0x...&chain=ethereum   # 402 โ†’ pay โ†’ result