The security layer for AI agent payments
x402 is the internet-native payment standard by Coinbase and Cloudflare. PAUSE adds risk scoring and cancellable payments — so agents never pay malicious addresses.
The Problem
x402 lets AI agents pay for APIs, compute, and data over HTTP. But agents pay whatever address a server specifies — blindly. No risk check. No cancellation. The 402Bridge hack drained 200+ users' USDC. V2's dynamic payTo routing means the recipient address can change every request.
The Solution
Drop-in protection for every x402 agent.
@pausesecure/x402-risk
Risk Extension for all x402 schemes
@pausesecure/x402-commit
New pause-commit payment scheme
Risk Engine
Every payTo address is analyzed across 11 independent Bayesian signals, combined via log-odds scoring with correlation discounting.
Flow
End-to-end protection for every x402 payment your agent makes.
Your AI agent hits an x402-enabled API endpoint.
Server returns payment requirements: amount, payTo address, and scheme.
11 Bayesian signals analyze the recipient address in real-time.
If SAFE: agent signs payment. If HIGH: payment blocked, zero loss.
For pause-commit: server commits intent on-chain, then delivers the resource.
If server never delivers, agent revokes the intent. Funds stay safe.
Integration
Add PAUSE protection to your x402 agent in minutes.
// Install
npm install @pausesecure/x402-risk
import { createRiskGuard, wrapFetchWithRiskGuard } from "@pausesecure/x402-risk/client"
import { createFetchWithPayment } from "x402-fetch"
// Create the risk guard with minimum score threshold
const guard = createRiskGuard({ minScore: 40 })
// Wrap your x402 fetch with the risk guard
const fetchWithPayment = createFetchWithPayment(wallet)
const safeFetch = wrapFetchWithRiskGuard(fetchWithPayment, guard)
// Use safeFetch — payments to HIGH-risk addresses are auto-blocked
const response = await safeFetch("https://api.example.com/data")// Install
npm install @pausesecure/x402-risk
import { createRiskMiddleware } from "@pausesecure/x402-risk/server"
// Add risk middleware to your x402 facilitator
const riskMiddleware = createRiskMiddleware({
minScore: 40,
blockHighRisk: true,
})
// Apply to your payment handler
app.use("/paid-endpoint", riskMiddleware)Infrastructure
Everything you need to run PAUSE-protected x402 payments.
Pricing
Start free. Scale with your agents.
Free
50 scans/month
Perfect for testing and development
x402 Native
Pay per scan via x402
$0.005 per full analysis. No subscription needed.
Pro
10,000 scans/month
For production agents and teams
Facilitator
Per pause-commit settlement
On-chain verification and settlement
Every x402 payment your agent makes should be risk-scored. Start in under 5 minutes.