{"uid":"cap_Ijq7BGXkxo-fwuk-UdcGr","slug":"lock-smith-x402-security-auditor-8f513f83","name":"lock-smith x402 Security Auditor","description":"Automated security checks for one x402 endpoint — not a penetration test. Eight non-destructive, unpaid probes: paywall presence, challenge sanity, garbage and forged (invalid-signature) payment rejection, exposure surface, error hygiene, body-size cap, discovery consistency. Returns SECURE / FINDINGS / EXPOSED with a fix note per finding. Use this when you operate an x402 route and want its locks checked the way an attacker would rattle them.","url":"https://lock-smith-production.up.railway.app/v1/audit?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"mode":{"enum":["full","compact"],"type":"string","default":"full","description":"Response mode. 'full' (default) returns every check's full detail prose. 'compact' returns the same audit with headline summaries for passing checks (findings keep full detail) — for buyers who republish or forward the response; some indexers drop samples over ~1.5 KB."},"endpoint_url":{"type":"string","description":"Full URL of the x402 endpoint (paid route) to audit, e.g. https://service.example.com/v1/endpoint"}}},"responseSchema":{"type":"json","schema":{"type":"object","required":["ok","service","audit_version","target","verdict","summary","terms_observed","checks","probes_used","scope_note"],"properties":{"ok":{"type":"boolean"},"checks":{"type":"array","items":{"type":"object","required":["id","name","status","detail"],"properties":{"id":{"type":"string"},"fix":{"type":"string"},"name":{"type":"string"},"detail":{"type":"string"},"status":{"enum":["pass","finding","not_tested"],"type":"string"},"severity":{"enum":["low","medium","high","critical"],"type":"string"}}}},"target":{"type":"string"},"service":{"type":"string"},"summary":{"type":"object","properties":{"passed":{"type":"integer"},"findings":{"type":"integer"},"not_tested":{"type":"integer"},"worst_severity":{"type":["string","null"]}}},"verdict":{"enum":["SECURE","FINDINGS","EXPOSED"],"type":"string"},"scope_note":{"type":"string"},"probes_used":{"type":"integer"},"audit_version":{"type":"string"},"terms_observed":{"type":"object","properties":{"asset":{"type":["string","null"]},"price":{"type":["string","null"]},"pay_to":{"type":["string","null"]},"network":{"type":["string","null"]},"amount_units":{"type":["string","null"]}}}}},"example":{"ok":true,"checks":[{"id":"paywall_present","name":"Paywall present","detail":"Unpaid request drew HTTP 402 with a parseable x402 challenge.","status":"pass"},{"id":"challenge_sanity","name":"Challenge sanity","detail":"Challenge terms are complete and consistent: exact on eip155:8453, amount 20000 units ($0.02), payTo 0x097f9685D1e0752bF8B02d61E5Ce9be7eA0FBA7F.","status":"pass"},{"id":"garbage_payment","name":"Garbage payment rejected","detail":"Base64-junk payment headers were rejected with a fresh 402 challenge.","status":"pass"},{"id":"forged_payment","name":"Forged payment rejected","detail":"Invalid-signature EIP-3009 authorization was rejected (HTTP 402).","status":"pass"},{"id":"exposure_surface","name":"Exposure surface","detail":"None of /.env, /.git/config, /debug, /metrics, /admin answered with sensitive content.","status":"pass"},{"id":"error_hygiene","name":"Error hygiene","detail":"Malformed-JSON and wrong-content-type requests drew clean errors (or a paywall 402) with no stack traces, paths, SQL, or debug pages.","status":"pass"},{"id":"body_cap","name":"Body-cap sanity","detail":"Oversized (~1.1 MiB) body was refused with HTTP 413.","status":"pass"},{"id":"discovery_consistency","name":"Discovery consistency","detail":"Published discovery advertises the audited route with terms matching the live challenge.","status":"pass"}],"target":"https://token-verdict-production.up.railway.app/v1/verdict","service":"lock-smith","summary":{"passed":8,"findings":0,"not_tested":0,"worst_severity":null},"verdict":"SECURE","scope_note":"Automated security checks, not a penetration test. All probes are unpaid and non-destructive; checks that could not run are reported as not_tested, never as passes.","probes_used":14,"audit_version":"1.0","terms_observed":{"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","price":"$0.02","pay_to":"0x097f9685D1e0752bF8B02d61E5Ce9be7eA0FBA7F","network":"eip155:8453","amount_units":"20000"}}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.1","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.5/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.5","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.5","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_aL__sIMs0RUKr45D2LUAY","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.5","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Runs eight automated, non-destructive security probes against a single x402 paid endpoint and returns a SECURE/FINDINGS/EXPOSED verdict with per-finding fix notes.","exampleAgentPrompt":"Can you run a full lock-smith security audit on my x402 endpoint at https://myservice.example.com/v1/premium — I want to know if the paywall, challenge format, and payment rejection are all airtight?","exampleUseCases":[{"title":"Pre-launch x402 route hardening","prompt":"Before I go live, can you audit my x402 endpoint at https://api.myapp.com/v1/data with a full report so I can see every check and fix any issues before real users hit it?"},{"title":"Compact audit for CI pipeline reporting","prompt":"Run a compact security audit on https://payments.example.com/v1/content — I need the short-form output because I'm forwarding it to my monitoring dashboard that truncates long responses."},{"title":"Investigating a suspected misconfiguration","prompt":"Something seems off with my x402 route at https://myapi.dev/v1/report — can you do a full lock-smith audit and tell me if it's actually rejecting forged payments and not leaking anything sensitive?"}],"resultDescription":"A JSON object containing: a boolean 'ok' field, the overall verdict (SECURE, FINDINGS, or EXPOSED), a summary with counts of passed/finding/not_tested checks, an array of up to 8 individual check results each with id, name, status, detail prose, optional severity (low/medium/high/critical), and optional fix note, plus the x402 terms observed (price, asset, network, payTo address), the number of probes used, audit version, scope note, and the target URL audited.","failureModes":["Target URL is not an x402 endpoint — returns audit with paywall_present as 'finding' and likely EXPOSED verdict","Target URL is unreachable or returns a network error — audit may fail or return not_tested for all checks","Malformed endpoint_url input — validation error returned","Endpoint uses non-standard x402 challenge format that cannot be parsed — challenge_sanity marked as finding","Rate limiting or transient errors on the target — some probes may return not_tested"],"whenToPreferThis":"Use lock-smith when you operate an x402 paid route and need rapid, automated, non-destructive security validation — specifically checking paywall presence, challenge integrity, garbage/forged payment rejection, information exposure, error hygiene, body-size caps, and discovery consistency. Prefer this over manual testing or generic HTTP scanners because it is purpose-built for x402 protocol semantics and returns structured, actionable verdicts per check.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-12-02T13:38:14.939Z","isFirstParty":false,"canonicalSlug":"lock-smith-x402-security-auditor-8f513f83"}