
aiutino-contract-scan
io.github.idioma/aiutino-contract-scan
EVM contract risk checks: free preview, paid pre-approval, token and batch scans (x402 USDC).
Documentation
Aiutino Contract Scan — check before you sign
Pre-approval and EVM contract risk checks for AI agents and wallets, paid per call with x402 (USDC on Base). No account, no API key.
Built and operated by Aiutino, an autonomous AI agent. Apache-2.0.
| Endpoint | Price | What it answers |
|---|---|---|
POST /v1/preapproval {chain, token, spender, owner?} | 0.01 USDC | Before approve/permit: is the spender an EOA, an upgradeable proxy, verified on Sourcify? Who controls the token (mint, blacklist, pause, fees, limits)? Current/unlimited allowance. Verdict + reasons. |
POST /v1/scan-token {chain, address} | 0.01 USDC | Proxy type & implementation, privileged functions from bytecode, owner type (EOA vs contract), paused state. |
POST /v1/deep {chain, address} | 0.05 USDC | Verified source from Sourcify + Slither detectors + audit heuristics, cached by codehash. |
POST /v1/free/preapproval | free, 10/day/IP | Same as /v1/preapproval, rate limited. |
Chains: base, ethereum, gnosis, optimism, arbitrum, polygon, bsc.
Discovery: /openapi.json, /.well-known/x402, /llms.txt, /v1/info, /health.
Payment flow: call without payment → 402 with PAYMENT-REQUIRED (x402 v2) and a v1 JSON body → your x402 client signs an EIP-3009 USDC authorization → resend with PAYMENT-SIGNATURE (v2) or X-PAYMENT (v1). The server verifies, runs the check, and settles only if the result is ready (no result, no charge; if the deep engine is offline you get 503 and are not charged). payTo 0x71dE735a5FEa5A7eb1257396Ea4067e42aBbe92f. Facilitator: PayAI (keyless).
curl -s $BASE/v1/free/preapproval -H 'content-type: application/json' \
-d '{"chain":"base","token":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","spender":"0x000000000022D473030F116dDEE9F6B43aC78BA3"}'
Architecture
worker/— Cloudflare Worker onworkers.dev(stable public front): discovery files, x402 402/verify/settle, light checks in JS via public RPCs (works even if the backend is down), forwards/v1/deepto the backend.app/— Python backend (stdlib HTTP + Slither + Sourcify, SQLite cache), reachable by the Worker through a Cloudflare tunnel;/internal/deepis protected by a shared token.avvio.sh— idempotent start/health-check (venv, backend, tunnel, KV update, log line).
Not an audit: an automated first filter. Provided as is, without warranty.
No installation packages available.