Intercepta screens every x402 payment before MetaMask Agent Wallet signs: pay, cap, ask, or refuse

AI agents are starting to pay each other over x402, but nobody checks who is on the other side. x402-guard is a MetaMask Agent Wallet plugin that screens every x402 payment with the Intercepta API before the wallet signs it, shows the verdict with its reasons, and lets that verdict decide what happens: pay, cap, ask a human, or refuse.
We started by testing the gap. x402 payments are EIP-3009 signatures, not transactions, and MetaMask's outflow limit doesn't count signatures. A real server wallet in Guard Mode, funded on Base, signed x402 payments to an OFAC-sanctioned Lazarus Group address, to a lookalike "USD Coin" contract, for 96% of its balance, and with a 1-year validity window. None of them triggered a prompt. USDC already freezes sanctioned addresses, and MetaMask's Blockaid scanning protects the signer from drainers. Nobody screens who the agent is paying.
For each payment, x402-guard checks:
Clean counterparties are auto-paid up to $1 and caution-tier counterparties up to $0.10. Blocked counterparties are never paid, and a refusal can't be overridden. Anything above a ceiling goes to a human, with an approval code bound to that exact payee, token and amount, so a seller can't swap the payee after approval. mm x402 screen <address> also gives a standalone counterparty risk profile.
In the demo, an agent buys three reports. The clean seller is paid and settled on Base Sepolia. The seller whose payTo is the Lazarus Group wallet is refused before anything is signed. A wallet with 8 Tornado Cash deposits asks for $0.50, which is over its caution ceiling, so the agent stops and asks the human. Payments run on testnet, but every payee is a real mainnet address screened with Intercepta's mainnet data.
x402-guard is a TypeScript plugin for the MetaMask Agent Wallet CLI (mm), built from MetaMask's official plugin template. It adds four commands: mm x402 pay, inspect, screen and config. Signing goes through the plugin's walletExecutor with a "typed-data" request, so MetaMask's own policy pipeline (Guard Mode, Blockaid, 2FA) still runs after our screen. The agent never touches keys. We ship a skill file (SKILL.md) that routes agents to mm x402 pay instead of raw sign-typed-data, and tells them to stop on a refusal and never approve on their own.
The x402 client is a port of MetaMask's own x402_pay.py helper (exact scheme, EIP-3009, protocol v1 and v2). It builds the authorization first, so the payload Intercepta scans is byte-for-byte the one MetaMask signs. It never follows redirects, and it clamps the server's validity window. The Intercepta integration calls four endpoints in parallel: Quick Scan Address, Deep Scan Address (cached, with a timeout), Scan Token and Scan Message. It then folds traits into a clean / caution / blocked tier, because a raw toxicScore misses mixer exposure (it scores 0.4 to 15). Testnet payments are screened against the mainnet sibling chain. For the demo, a small Python x402 v2 seller verifies and settles real payments through the public x402 facilitator on Base Sepolia.
Hacky and notable:

