{"uid":"cap_mMOXvcBiQ3QqiKdmDIq7_","slug":"scanpay-quick-code-security-scanner-430af992","name":"ScanPay Quick Code Security Scanner","description":"Pay-per-call x402 APIs for AI agents: OpenAI-compatible LLM chat, perp funding and arbitrage spreads, crypto prices, gas, FX, Solana SPL mint audit, token price by contract, x402 delivery-receipt verification, web search, clean page extraction, batch tools and deterministic code-security scanning. USDC on Base or Solana, no signup, no API key, from $0.0001 a call.","url":"https://scanpay-edge.alextaghiashvili.workers.dev/api/v1/quick?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method","bodyType","body"],"properties":{"body":{"type":"object","required":["source_code"],"properties":{"language":{"enum":["python","javascript","typescript","tsx"],"type":"string","default":"python"},"source_code":{"type":"string","description":"UTF-8 source code to scan (max 100 KB)"}}},"type":{"type":"string","const":"http"},"method":{"enum":["POST"],"type":"string"},"bodyType":{"enum":["json","form-data","text"],"type":"string"}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":{"type":"json","example":{"product":"scanpay.quick","verdict":"PASS","findings":[],"language":"python","price_usd":0.005,"max_severity":null,"source_sha256":"9f56e761d79bfdb34304a012586cb04d16b435ef6130091a97702e559260a2f2","findings_count":0}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.005","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.005/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.005","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.005","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_qnE8nTlFTu2rJN4yEoJt4","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.005","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Scans AI-generated Python, JavaScript, or TypeScript source code and returns a deterministic PASS/WARN/BLOCK verdict using AST-based static analysis rules, without executing the code or using an LLM.","exampleAgentPrompt":"Before running this AI-generated Python script, scan it for security issues and tell me if it's safe to execute — give me a PASS, WARN, or BLOCK verdict.","exampleUseCases":[{"title":"Pre-execution gate for AI coding agents","prompt":"I have an AI agent that writes and runs Python scripts autonomously — before each script runs, scan the code and block execution if it gets a WARN or BLOCK verdict."},{"title":"Vetting user-submitted JavaScript","prompt":"A user just submitted this JavaScript snippet to run on our platform — can you scan it with the static AST analyzer and tell me whether it passes, warns, or should be blocked?"},{"title":"CI pipeline safety check for LLM-generated code","prompt":"We're building a pipeline where GPT-4 generates TypeScript utility functions — scan each generated file before it gets merged and flag any that come back with a BLOCK verdict."}],"resultDescription":"Returns a deterministic verdict of PASS, WARN, or BLOCK, along with the specific AST rule matches and risk findings that triggered the verdict. No code is executed during analysis, no LLM is used, and no code is retained after scanning. Max input size is 100 KB.","failureModes":["Code exceeds 100 KB limit — request rejected","Unsupported language submitted (non-Python/JS/TS) — may return error or undefined behavior","Malformed or unparseable source code — AST parsing failure","Network timeout on Cloudflare Workers edge","Payment not included or invalid x402 payment — 402 response returned"],"whenToPreferThis":"Choose this endpoint when you need a fast, deterministic, no-execution security gate for AI-generated code in Python, JavaScript, or TypeScript. It is ideal for agentic pipelines where code is generated by LLMs and must be checked before execution, without the risk of running the code or sending it to another LLM. Prefer this over LLM-based code review when you need consistent, rule-based verdicts with no retention and low latency.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-11-01T06:56:50.373Z","isFirstParty":false,"canonicalSlug":"scanpay-quick-code-security-scanner-430af992"}