Contract Guard — EVM Token & Approval Risk Check
v1.1.1EVM contract/token risk check + ERC20 approval (proxy, EIP-7702, unlimited-allowance).
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
check_contract
Pre-interaction risk check for an EVM contract/token address. Returns: is-contract vs EOA, EIP-7702 delegated-EOA detection, upgradeable-proxy detection (EIP-1967 + legacy), ERC20 metadata (name/symbol/decimals/totalSupply), and a risk score with actionable flags. Call this before approving, swapping, or trusting a token. Pure public RPC, no signing.
| Parameter | Type | Description |
|---|---|---|
address * | string | EVM contract/token address (0x + 40 hex) |
chain | string | Chain (default: base) |
check_approval
Check how much of an owner's ERC20 token a spender is approved to move (allowance). Flags UNLIMITED approvals — the #1 wallet-drain vector. Call this to audit existing approvals or before signing an approve(). Pure public RPC, no signing.
| Parameter | Type | Description |
|---|---|---|
owner * | string | Wallet that granted the approval |
spender * | string | Contract/address approved to spend |
token * | string | ERC20 token contract address |
chain | string | Chain (default: base) |