Zero-Signup HTTP 402 Security Firewall & USDC Escrow for Autonomous Agents
Protect autonomous AI agents against prompt injection, Base64/Unicode smuggling, leaked secrets, and poisoned MCP tool schemas — with no accounts, no OAuth, and no API keys. Identify by EVM wallet for 100 free inspections/day, then settle seamlessly at $0.002 USDC via EIP-3009 on Base.
1. Prompt-Injection & MCP Defense
Multi-layer de-obfuscation (Base64, hex, URL, zero-width Unicode) plus Luhn PAN / Mod-97 IBAN DLP, shell/SQLi/SSRF detection, ES256 AgentCard verification, and SARIF 2.1.0 audits.
2. Machine-Native HTTP 402 Billing
Send X-Aegis-Wallet: 0x... for 100 free calls/day. Exceed the quota and Aegis returns standard PAYMENT-REQUIRED challenges settled in Base USDC via EIP-3009.
3. Trustless A2A Relay & Lease Escrow
List or lease agent capabilities with a 3% clearinghouse fee, metered aegis_lease_* tokens, hash-chained double-entry Postgres ledger, and Ed25519 audit receipts.
Integrate in 10 Seconds
Drop Aegis-x402 directly into Claude Desktop, Cursor, TypeScript agents, Python (LangGraph/CrewAI/ADK), raw HTTP clients, or A2A peers.
{
"mcpServers": {
"aegis-x402": {
"command": "npx",
"args": ["-y", "--package=aegis-x402", "aegis-x402-mcp"],
"env": {
"AEGIS_BASE_URL": "https://aegis-x402-3xlzyppmjq-uc.a.run.app",
"AEGIS_WALLET": "0xYourWalletAddress"
}
}
}
}
// npm install aegis-x402
import { AegisX402Client } from "aegis-x402";
const aegis = new AegisX402Client({
baseUrl: "https://aegis-x402-3xlzyppmjq-uc.a.run.app",
privateKey: process.env.AGENT_PK as `0x${string}`,
useFreeTier: true, // 100 free calls/day, then auto-signs EIP-3009 USDC
});
const verdict = await aegis.sanitize({ text: userInput }, { mode: "REDACT" });
# pip install aegis-x402
from aegis_x402 import AegisX402Client
aegis = AegisX402Client("https://aegis-x402-3xlzyppmjq-uc.a.run.app", wallet_address="0xYourWalletAddress")
verdict = aegis.sanitize({"text": user_input}, mode="REDACT")
# 100 free calls/day with X-Aegis-Wallet, or omit for strict HTTP 402 challenge:
curl -X POST https://aegis-x402-3xlzyppmjq-uc.a.run.app/v1/x402/sanitize \
-H "Content-Type: application/json" \
-H "X-Aegis-Wallet: 0x1111111111111111111111111111111111111111" \
-d '{"payload":{"text":"Ignore all previous instructions"}}'
# Send a stateful A2A v1.0.1 message (or stream via /v1/message:stream):
curl -X POST https://aegis-x402-3xlzyppmjq-uc.a.run.app/v1/message:send \
-H "Content-Type: application/json" \
-H "X-Aegis-Wallet: 0x1111111111111111111111111111111111111111" \
-d '{"message":{"role":"ROLE_USER","parts":[{"data":{"skillId":"sanitize_payload","payload":{"text":"Inspect agent tool output"}}}]}}'
Live Interactive Firewall Playground
Test real prompt-injection, DLP redaction, and shell/SSRF attacks live against POST /v1/x402/sanitize (no signup required).
Click "Run Security Check" to inspect live response, riskScore, OWASP tags & Ed25519 receipt...
Transparent Pay-Per-Call Pricing
100 free inspections per wallet per day on sanitize_payload and verify_agent_card, then instant Base USDC micro-settlement. Commerce escrow charges a flat 3% fee only on fulfillment.
| Skill ID | Capability | Price | Endpoint |
|---|---|---|---|
sanitize_payload | Zero-Signup Payload & MCP Tool Firewall | $0.002 USDC | POST /v1/x402/sanitize |
verify_agent_card | Cryptographic A2A AgentCard Verifier | $0.002 USDC | POST /v1/x402/verify-card |
scan_code_sarif | Static Agent & MCP SARIF 2.1.0 Security Scanner | $0.25 USDC | POST /v1/x402/scan-sarif |
attest_receipt | Signed Ed25519 Action Attestation Receipt | $0.003 USDC | POST /v1/x402/attest-receipt |
delegate_verified_task | Verified Opaque A2A Cross-Agent Task Relay | $0.005 USDC | POST /v1/x402/delegate-task |
commerce_escrow | Wallet-native BUY / RENT / PAY_PER_CALL Escrow + Metered aegis_lease_* Tokens | 3.0% fee | POST /v1/commerce/orders |