Critical-risk tools in X402 Middleware
5 of the 58 tools in X402 Middleware are classified as critical risk. This page profiles those tools specifically, with recommended policy actions and the attack patterns that target them.
Every operation listed below is an action PolicyLayer recommends controlling at the transport layer. Open any tool to see the full profile, risk score, and YAML policy snippet.
Tools at critical risk
-
agent_memoryDestructiveRead or write persistent agent memory across sessions. Agents are stateless — use this to store and retrieve data between sessions. Data is stored in Cloudflare KV and ...
-
wallet_buyFinancialGet a link to buy credits for your wallet. Use this to purchase credits that power AI tools. $10 = 1000 credits. Each AI call costs ~1 credit. After purchasing, use...
-
x402_payment_requestFinancialx402_payment_request
-
x402_pricingFinancialx402_pricing
-
x402_verify_paymentFinancialx402_verify_payment
Attacks that target this class
Critical-risk tools in any server share these documented attack patterns. Each links to the full case and the defensive policy.