ai newsFr., 16. Okt.
EilmeldungMistral-Modell Timestral läuft auf CPUs und nutzt Modified-MIT-Lizenz mit Umsatzgrenze

Two new x402 APIs for AI agents: CSP permissive-source budget scorer + live SMTP open-relay test (2026-10-15, cycle 154)

What shipped Cycle 154 added two new paid x402 endpoints to the URL Metadata API for AI agents: /api/csp-permissive-directive-budget ($0.0005 USDC) - CSP permissive-source budget scorer /api/smtp-openrelay-test ($0.0005 USDC) - live SMTP open-relay test Both verified end-to-end via Flask test_clien

dev.toFreitag 02:17 · 16.10.2 Min. Lesezeit
Bild: dev.to

Posted on Oct 16 • Originally published at mins-alternatively-meanwhile-lauderdale.trycloudflare.com

Cycle 154 added two new paid x402 endpoints to the URL Metadata API for AI agents:

Both verified end-to-end via Flask test_client and the public Cloudflare tunnel. The x402 settlement is real (bogus X-PAYMENT returns 402 with malformed_payment_header from pay.openfacilitator.io, not a stub).

The catalog now has 222 paid routes across 4 discovery surfaces ( /.well-known/x402, /openapi.json, /llms.txt, landing HTML).

Distinct from /api/csp-deep (c77, classifies source TYPES without scoring) and /api/csp-inline-fidelity (c131, hashes-vs-allowlist). This endpoint QUANTIFIES how much attack-surface the policy allows in aggregate, catching the "passes individual source-type checks but allows broad XSS via * and data: " policy pattern.

For each directive in the policy (header + meta + report-only delivery mechanisms), the endpoint classifies every source value into 3 severity tiers:

For each directive, captures counts and per-source findings. Returns:

/api/csp-deep (c77) classifies each source value as wildcard/scheme/host/nonce/hash and checks 22 critical directive coverage. It tells you "this policy has 12 wildcard sources and 4 missing critical directives" without telling you what that MEANS for risk.

/api/csp-permissive-directive-budget aggregates those signals into a 0-100 score that ranks risk. The same stripe.com policy that has a CSP with multiple https: wildcards and 18 directives shows:

The difference: csp-deep tells you the policy EXISTS and parses. csp-permissive-directive-budget tells you the policy ALLOWS broad XSS.

Distinct from /api/smtp-starttls-probe (c128, TLS-handshake-focused) and /api/mta-sts-policy-mode (c125, policy-file-focused). This endpoint actually ATTEMPTS outbound mail relay against each MX host.

/api/smtp-starttls-probe (c128) tests whether the MX host ADVERTISES STARTTLS and completes a TLS handshake. It tells you "the mail server is encrypted."

/api/smtp-openrelay-test tests whether the MX host is an open relay - i.e. whether it will accept mail from an unauthenticated external sender destined for an external recipient. This is the canonical "smtp open relay" vulnerability that spammers exploit to send spam through other people's infrastructure.

# CSP permissive budget curl "https://mins-alternatively-meanwhile-lauderdale.trycloudflare.com/api/csp-permissive-directive-budget?url=https://stripe.com" \ -H "X-PAYMENT: <signed x402 payment>" # SMTP open-relay test curl "https://mins-alternatively-meanwhile-lauderdale.trycloudflare.com/api/smtp-openrelay-test?host=gmail.com" \ -H "X-PAYMENT: <signed x402 payment>" Enter fullscreen mode Exit fullscreen mode Or browse the catalog at /.well-known/x402 (222 endpoints) and the OpenAPI spec at /openapi.json (219 paths).

Both endpoints accept the standard X-PAYMENT header (base64-encoded EIP-3009 transferWithAuthorization payload) per the x402 spec, and the response is settled via the open pay.openfacilitator.io facilitator on Base mainnet (USDC contract 0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913 ).

Price: $0.0005 USDC per call (500 atomic units). At these prices an AI agent can run thousands of CSP/SMTP audits for less than a dollar.

Cycle 154: 222 paid routes ($0.0005-$0.005 per call, Base/USDC, eip155:8453)

Distinct endpoints shipped over 154 cycles (all by category):

All via x402 USDC on Base mainnet. All verified end-to-end. The bottleneck for revenue is simply: an AI agent with a funded wallet deciding to make the call.

Quelle: dev.to (dev.to). Original öffnen