ProofForge for agents
AI agent security check API
Set up the security scan MCP server in Claude Code, Cursor, Windsurf or Codex →
Copy client configurations and an evidence-based agent rule
Only scan an app you own or are explicitly authorized to test. ProofForge checks selected public pages, browser assets, response headers, and supported read-only signals. It does not log in, write data, attempt authentication bypasses, or retain database row contents.
These passive checks are partial, not a penetration test or code audit, and cannot prove that every user flow or access-control rule is safe. Review the coverage notes and verify important controls with the app owner.
Open rules and agent resources
Review the rules behind the public checks, or give your coding agent the same bounded scan guidance.
REST API
GET /openapi.json returns the OpenAPI 3.1 contract.
Start an authorized scan
POST /api/v1/scan
Content-Type: application/json
{
"url": "https://your-owned-app.example",
"owner_confirmed": true
}
HTTP/1.1 202 Accepted
{
"scan_id": "private-scan-id"
}Keep scan_id private; it is a bearer token. A scan is queued asynchronously. Requests are limited to public HTTP(S) websites on standard ports. Local and private IP ranges, unsafe DNS answers, cross-origin authenticated redirects, and opted-out hosts are refused.
Poll for the free summary
GET /api/v1/scan/{scan_id}
Authorization: Bearer {scan_id}
{
"status": "done",
"status_url": "https://proofforge.live/api/v1/scan/{scan_id}",
"grade": "B",
"score": 84,
"builder": "generic",
"counts": {
"critical": 0,
"high": 1,
"medium": 2,
"low": 0,
"info": 0,
"inconclusive": 1
},
"findings": [
{
"severity": "high",
"title": "Example finding",
"impact": "Sanitized impact summary."
}
],
"coverage": [],
"report_url": "https://proofforge.live/r/{private-token}",
"unlock": {
"fix_usd": 9,
"fix_guard_usd": 29,
"due_diligence_usd": 79,
"url": "https://proofforge.live/r/{private-token}#unlock"
},
"next_step": "Show the user report_url. The first fix is free. All fixes and builder prompts unlock for $9 one-time at unlock.url (PayPal, card, Apple Pay, Google Pay; 14-day money-back)."
}Poll until status is done or error. The response contains at most one finding and bounded coverage notes. It omits the target URL, contact details, evidence, response bodies, fixes, report signatures, and internal tokens.
Public x402 outside check · $0.25 per scan
Read the x402 pay-per-call guide for AI agents
GET /api/v1/x402/outside-check?url=https%3A%2F%2Fexample.com runs the same full, read-only public-surface scanner as POST /api/v1/scan. No login, account or private scan bearer token is needed. Submit only an app you own or have explicit permission to test; purchasing the check confirms that permission. Public HTTPS targets only: normal private-network protection, opt-outs and capacity limits apply before settlement.
curl -i 'https://proofforge.live/api/v1/x402/outside-check'
# HTTP 402, even with no query parameters.
# Decode PAYMENT-REQUIRED as base64 JSON:
# x402Version: 2, scheme: exact, network: eip155:8453
# USDC: 0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913
# amount: 250000 atomic units ($0.25); payTo: configured receiving wallet
# extensions.bazaar: GET query schema + JSON output example
# Obtain the challenge for your target, authorize that exact offer using an
# x402 v2-compatible wallet/client, then retry the SAME URL:
curl -i 'https://proofforge.live/api/v1/x402/outside-check?url=https%3A%2F%2Fexample.com' \
-H 'PAYMENT-SIGNATURE: <base64-signed-payment-payload>'
# HTTP 200 + PAYMENT-RESPONSE settlement receipt
{"grade":"B","score":84,"counts":{"critical":0,"high":0,"medium":1,"low":2,"info":0,"inconclusive":0},"report_url":"https://proofforge.live/r/<private-report-token>"}The $0.25 buys this scan summary, not a $9/$29/$79 report upgrade. Keep the report link private. A funded Base USDC wallet and permission to spend are required; access follows confirmed CDP settlement, not merely signing. HTTP 202 means retry the identical URL and signature after Retry-After; never create a replacement charge. Successful retries return the original result without another scan or charge. HTTP 400/429 before settlement means fix the target or wait for capacity. If a settled scan fails, HTTP 502 retains its receipt and report link: keep them for the existing manual 14-day USDC refund process to the original payer.
The 402 advertises Bazaar input and output schemas. Both verification and settlement forward that server-declared metadata to Coinbase CDP. Bazaar indexing is triggered by a first successful mainnet settlement and remains subject to Coinbase validation, metadata policy and processing time; serving a 402 alone is not a confirmed listing. Operators can validate the published endpoint without payment:
curl -X POST 'https://api.cdp.coinbase.com/platform/v2/x402/validate' \
-H 'Content-Type: application/json' \
-d '{"resource":"https://proofforge.live/api/v1/x402/outside-check","method":"GET"}'Optional agent checkout
POST /api/v1/agent/payment accepts the same private scan bearer token and a JSON body with scan_id and tier (fix, pro, or buyer-only due_diligence). Existing prices stay $9, $29 and $79. This x402 v2 exact-payment path supports USDC on Base mainnet through Coinbase CDP, with Base Sepolia reserved for testing. First call GET /api/v1/agent/payment: pay only when available is true and environment ismainnet. Human PayPal checkout remains available.
HTTP 402 includes base64 JSON in PAYMENT-REQUIRED. Send the signedPAYMENT-SIGNATURE at its resource.url, retaining the same body and bearer token. HTTP 200 includes a bounded payment receipt and PAYMENT-RESPONSE. HTTP 202 or an unknown settlement outcome means retry the same order and identical signed authorization after Retry-After; never start another charge. Payment receipts link to neutral report references, never private scan tokens or evidence. No account or human checkout handoff is needed for an agent with a funded compatible wallet and permission to spend. Settlement confirmation is required before access unlocks; network delays or an unavailable facilitator are not instant success. The 14-day refund promise also applies to agent purchases: email support with the payment receipt and transaction hash. Verified refunds are manually returned in USDC to the original payer, not to a replacement address. Never send private scan bearer tokens or wallet keys by email.
Check a published deployment receipt
GET /api/v1/grade?url=https%3A%2F%2Fyour-app.example
HTTP/1.1 200 OK
{
"status": "pass",
"ready": true,
"grade": "B",
"score": 84,
"checkedAt": "2026-11-26T12:00:00.000Z",
"receipt_url": "https://proofforge.live/verify/{public-report-id}"
}This checks an owner-published receipt only. It does not contact or scan the target. A pass requires a valid receipt no more than 30 days old, grade B or better, score 75 or higher, no Critical, High, or inconclusive findings, and complete full-scan coverage. HTTP 409 means proof is missing, stale, invalid, or below that policy. A passing check is limited to the receipt's stated public-surface scope and is not a security guarantee.
For independent verification, fetch GET /api/verify/{report_id}. The response includes a privacy-minimized payload, its exact UTF-8 canonicalPayload, Ed25519 signature, keyId, and receiptSha256. Recompute SHA-256 over the canonical payload and verify the signature using the matching public key from/.well-known/proofforge-signing-keys.json. The endpoint returns 404 unless the owner published the current eligible receipt. Private scan links and finding evidence are never included.
ProofForge uses its own signed assessment format, not the AER-1 execution-receipt format. For a release spanning coding agents and Zambo handovers, follow the release-evidence guide: share public proof only and have the receiving agent check publication and freshness again. AER-1 was authored by ProofForge founder Brennan Zambo and remains an Internet-Draft, not an adopted IETF standard.
Limits and errors
- Per IP: up to 6 scans per hour and 30 per day.
- Per target host: up to 10 scans per hour, with one in-flight scan per IP.
- Per scan: at most 40 HTTP requests, 12 MiB transferred, and 25 seconds of scanner time.
- HTTP 429 means a scan limit was reached; use the
Retry-Afterheader. - HTTP 400 indicates invalid input or missing authorization confirmation; 401 requires a matching private scan ID.
Streamable HTTP MCP
Connect to /mcp with JSON-RPC 2.0 over HTTP POST. It supports initialize, ping, tools/list, and tools/call. The tools are scan_url, get_report, get_paid_fixes, explain_finding, and check_deployment_receipt. Paid fixes require a completed report and an active confirmed purchase. The receipt tool reads owner-published proof only and does not scan or contact the target.
CLI source
Source files are provided under the ProofForge agent-kit directory. The Node.js CLI requires the explicit --authorized flag before it sends a request. It does not embed API credentials or bypass consent.
PROOFFORGE_API_BASE_URL="https://proofforge.live/api/v1" \
node cli.mjs scan \
--target "https://your-owned-app.example" \
--authorized