Pre-flight x402 security audit & prompt-injection detector
x402_paywall_probeProbe x402 endpoints unpaid to validate price limits and detect SIWx spoofing, fake USDC, and prompt-injection risks before paying.
Instructions
[$0.002] Pre-flight x402 endpoint security firewall & prompt-injection detector. Probes any URL unpaid to catch price spikes, SIWx spoofing, fake USDC, and prompt injections ($0.002/call). Do not use for EVM calldata simulation (use evm_tx_simulate) or token bytecode scans (use token_honeypot_scan). method sets the HTTP probe verb (GET vs POST) used to trigger the 402 header, deep_audit=true runs prompt-injection checks, and max_acceptable_usd caps price validation. Live HTTP probe, read-only; requires x402 USDC or Stripe MPP (10 free lifetime calls via /api/free/*) at 30-60 req/min.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "x402_paywall_probe"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | No | Target x402 endpoint URL to inspect (https only) | |
| method | No | HTTP method for the unpaid probe | POST |
| deep_audit | No | Add one local-LLM prompt-injection audit of the 402 metadata | |
| session_token | No | Optional prepaid session token (x402s_...) from https://apix402data.com/pay after the 10-call free preview. | |
| max_acceptable_usd | No | Your maximum acceptable price in USD |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| probe | No | ||
| cached | No | ||
| checks | No | ||
| pay_to | No | ||
| network | No | ||
| endpoint | No | ||
| warnings | No | ||
| final_url | No | ||
| deep_audit | No | ||
| risk_level | No | ||
| risk_score | No | ||
| target_url | No | ||
| safe_to_pay | No | ||
| x402_version | No | ||
| schema_version | No | ||
| payment_options | No | ||
| quoted_price_usd | No | ||
| cache_age_seconds | No | ||
| max_acceptable_usd | No | ||
| stripe_mpp_offered | No |