{"uid":"cap_avrH4L17iG8jhj5r7JgtD","slug":"secrets-check-local-secret-pattern-scanner-1eb71032","name":"Secrets Check — Local Secret Pattern Scanner","description":"local secret pattern scan for pasted files or diffs: detects common private keys, API keys, GitHub tokens and EVM private keys without sending data to an LLM.","url":"https://relay402.georgespring.workers.dev/api/security-secrets-check","method":"GET","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method"],"properties":{"type":{"type":"string","const":"http"},"method":{"enum":["GET"],"type":"string"},"queryParams":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["content"],"properties":{"content":{"type":"string","maxLength":64000,"minLength":1},"filename":{"type":"string","maxLength":200}},"additionalProperties":false}},"additionalProperties":false}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.02","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.02/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.02","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.02","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_51GNZeXchxjBYj-KXZt63","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.02","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Scans pasted file content or code diffs locally for exposed secrets such as private keys, API keys, GitHub tokens, and EVM private keys, without sending data to an LLM.","exampleAgentPrompt":"Can you scan this code snippet for any exposed secrets or private keys before I commit it? Here's the content: 'GITHUB_TOKEN=ghp_abc123... AWS_SECRET_ACCESS_KEY=wJalrXUtnFEMI...'","exampleUseCases":[{"title":"Pre-commit secrets audit","prompt":"Before I push this diff to GitHub, scan it for any hardcoded API keys, private keys, or tokens that shouldn't be there — here's the diff content: '- API_KEY=sk-abc123\n+ API_KEY=os.environ[\"API_KEY\"]'"},{"title":"Config file credential check","prompt":"I just pasted my .env file contents into a ticket by accident. Can you scan it for any exposed secrets like private keys or API tokens? The content is: 'DATABASE_URL=postgres://user:password@host/db\nAWS_ACCESS_KEY_ID=AKIAIOSFODNN7EXAMPLE'"},{"title":"Agent spec prelaunch secret scan","prompt":"I have a YAML agent spec I'm about to deploy — can you check it for any accidentally hardcoded EVM private keys or API credentials before it goes live? Here's the file content: 'wallet_key: 0xabc123deadbeef...'"}],"resultDescription":"Returns a list of detected secret patterns found in the submitted content, including the type of secret (e.g. GitHub token, EVM private key, AWS key), the matched pattern or location, and a risk summary — all computed locally without sending data to any external LLM.","failureModes":["Missing 'content' query parameter returns a validation error","Content exceeding 64,000 characters is rejected","Obfuscated or encoded secrets may evade pattern matching","False positives possible for placeholder or example key strings","Non-secret sensitive data (e.g. passwords in natural language) may not be detected"],"whenToPreferThis":"Choose this endpoint when you need fast, privacy-preserving secret detection on code, config files, or diffs without sending content to an LLM. It is ideal for pre-commit hooks, agent prelaunch audits, or any scenario where the content itself is sensitive and must not leave the local scan context. Prefer this over general-purpose LLM code review when pattern-based detection of well-known secret formats (GitHub tokens, EVM private keys, common API key formats) is sufficient.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T12:50:40.059Z","isFirstParty":false}