Python package checks x402 payee addresses for sanctions and scams before agent payments
An open-source Python package called x402-payee-guard hooks into the x402 payment SDK to screen the payTo address before an agent signs a payment. The lookup, served by Veriql's GET /api/v1/payee endpoint, checks the address against the US Treasury's OFAC sanctions list, a drainer and scam blocklist, and issuer freezes by Tether or Circle. Its default settings fail open so that lookup failures do not halt payments, while a stricter fail-closed configuration is available for treasury use. Each uncached lookup costs USD 0.01 paid over x402, and results are cached per address for an hour when clean or a day when flagged. Developers can instead supply their own denylist or lookup function, in which case no data is sent to Veriql.
This is an AI-generated summary. ShortSingh links to the original source for the complete article.

Discussion (0)
Log in to join the discussion and vote.
Log in