VerifyPay

Stops address poisoning on Arc: look-alike USDC payments are held in a 10-minute undo escrow

VerifyPay

Created At

ETHGlobal Mumbai

Project Description

Address poisoning has stolen over $83.8M across 270M attempts, including a single $50M loss in December 2025. An attacker sends a tiny transfer from an address that starts and ends like one you really pay, and you later copy it from your own history. Wallets cannot tell the two apart, and on-chain transfers cannot be reversed.

VerifyPay moves that check into the payment itself, on Arc. Businesses prove control of their domain with a DNS TXT record, and a Chainlink CRE workflow verifies it and writes the result to our PayeeRegistry contract. Paying a verified business by name settles in one block. Paying a first-time or look-alike address goes through SafeSend, which holds the USDC or EURC in a 10-minute escrow that the sender can undo for a full refund. The CRE workflow re-checks every business on a schedule and freezes it on-chain when its DNS proof disappears, so payments to a hijacked or abandoned business stop.

Changes that redirect money need a real person. Changing a business's payout wallet or raising an AI agent's spending limit requires a fresh World ID approval, validated on our backend, plus a public delay that the current wallet can cancel. An AI agent pays businesses by domain through AgentWallet, within the limits a human approved, so it cannot be poisoned either.

The app also includes a History shield that finds poisoning transfers in your past activity, a My payments view, and a public inspectRecipient(address) function that any wallet, dApp or agent can call to check a recipient before paying.

How it's Made

Contracts: three Solidity 0.8.28 contracts on Arc Testnet (PayeeRegistry, SafeSend, AgentWallet), written test-first with Foundry: 45 tests including fuzz, invariants and EIP-712 compatibility. They were deployed and source-verified from Arc Studio. There is no admin role after deployment: no owner, no upgrade path and no way for the team to move funds or unfreeze a business. USDC is used through its 6-decimal ERC-20 interface, never mixed with Arc's 18-decimal native balance.

Chainlink CRE: a TypeScript workflow with two triggers. An EVM log trigger on RegistrationRequested verifies new businesses, and a cron trigger re-checks every registered business. It reads TXT _verifypay.<domain> through two independent DNS-over-HTTPS resolvers (Google and Cloudflare) with identical-consensus aggregation, optionally checks an LEI against GLEIF, and writes VERIFY or FREEZE through the CRE forwarder to onReport, which accepts reports only from the forwarder. The workflow runs with the official CRE CLI, started automatically by a small runner until DON deployment access is granted.

World ID: the backend runs the Agent Pass device authorization flow against auth.world.org and validates the ID token on the server (signature, issuer, audience, expiry and a fresh auth_time). It binds each business or agent wallet to the first World ID that approves for it. Only then does it sign a narrow EIP-712 approval (PayoutChange or RaiseLimits) bound to chain ID, contract, nonce and deadline, which the contract verifies.

App: React, Vite and viem, built in Arc Studio and hosted on Vercel, with a Bun backend on Railway. Notable details: the History shield combines the explorer's transfer list with raw Transfer logs, because the explorer hides the zero-value transfers that poisoning uses. Reads go through Arc's partner RPC with fallbacks, because the public RPC rate-limits per IP. When MetaMask reports a duplicate submission as failed, the app finds the transaction that actually landed by its exact call data instead of asking the user to pay again.

background image mobile

Join the mailing list

Get the latest news and updates

VerifyPay | ETHGlobal