The gap
NEAR spending-wallet contracts for agents stop drains with allowlists, caps and queues for large payments. That enforcement works after the payee is trusted. Nothing checks whether a new payee deserves to be on the allowlist in the first place: is the seller real, does it ask the price it advertises, has this address delivered before, is it a look-alike of a known account?
The idea
Before an owner adds a payee, or approves a held payment, the agent wallet asks for an independent verdict:
- presign-guard checks the transaction or NEAR Intents message itself: look-alike accounts, fake tokens, keys slipped in, swaps at a bad price.
- x402 Doctor checks the seller behind an x402 payment: a valid 402, the price as advertised, the payee unchanged, its daily track record in the Trust Index.
On-chain limits after signing, an independent check before. Works with any NEAR agent wallet: a free quick check, the full answer paid per call over x402, also over MCP.
