{"uid":"cap_CQGCNXM88HpIG7bNa9q-X","slug":"cloudflare-worker-security-review-f035f48a","name":"Cloudflare Worker Security Review","description":"Review Cloudflare Worker source and optional wrangler.toml for hardcoded secrets, unsafe CORS, missing admin auth, sensitive logging, and dynamic code execution.","url":"https://x402-hono-api.inraby.workers.dev/api/v1/cloudflare-worker-security-review","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"workerCode":{"type":"string","description":"Worker JavaScript/TypeScript source"},"wranglerToml":{"type":"string","description":"Optional wrangler.toml contents"}}},"responseSchema":null,"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.1/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.1","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.1","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_JgocJPfzw0F7oyRScaaYl","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.1","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Analyzes Cloudflare Worker JavaScript/TypeScript source (and optional wrangler.toml) for security vulnerabilities including hardcoded secrets, unsafe CORS, missing admin auth, sensitive logging, and dynamic code execution.","exampleAgentPrompt":"Can you do a security review of this Cloudflare Worker source code and flag any hardcoded secrets, unsafe CORS settings, missing admin auth, sensitive logging, or dynamic code execution risks? Here's the worker code: [paste Worker JS/TS here]","exampleUseCases":null,"resultDescription":"A structured security audit report identifying vulnerabilities in the Worker source code across categories: hardcoded secrets, unsafe CORS configuration, missing admin authentication, sensitive data logging, and dangerous dynamic code execution patterns, with remediation guidance per finding.","failureModes":["Empty or missing workerCode field returns validation error","Malformed JavaScript/TypeScript that cannot be parsed may return partial results","Very large Worker files may hit payload size limits","Non-Worker JavaScript may produce irrelevant findings","Payment failure returns 402 response requiring x402 protocol payment"],"whenToPreferThis":"Use this endpoint when you need a focused, automated security review specifically for Cloudflare Workers code — it understands Worker-specific patterns like wrangler.toml secrets, Cloudflare-specific CORS handling, and Workers runtime APIs. Prefer this over general code scanners when deploying Workers to production or reviewing Worker PRs.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T06:40:34.283Z","isFirstParty":false}