{"uid":"cap___3coFrrq-f323I4ed-oX","slug":"x402-secret-scanner-text-redaction-a427a023","name":"x402 Secret Scanner – Text Redaction","description":"Secret scan for exposed API keys, tokens, passwords, and credentials in text — returns redacted output without exposing matched secret values. Ideal for agent pre-flight checks before sharing config or logs.","url":"https://x402-hono-api.inraby.workers.dev/api/v1/secret-scan","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"text":{"type":"string","description":"Text to scan for exposed secrets and credentials"}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.01","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.01/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_ILPriK-LZ8otGc5lY9nzB","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.01","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Scans submitted text for exposed secrets (API keys, tokens, credentials) and returns redacted output with matches identified but values hidden.","exampleAgentPrompt":"Scan this text for any exposed secrets or API keys and give me back a redacted version with the actual values hidden: 'GITHUB_TOKEN=ghp_abc123xyz STRIPE_KEY=sk_live_9876abcd AWS_SECRET=wJalrXUtnFEMI/K7MDENG'","exampleUseCases":null,"resultDescription":"Returns redacted output text where secret values are masked or replaced, along with metadata about what types of secrets were found (e.g. AWS keys, GitHub tokens, Stripe keys), without exposing the actual matched secret values.","failureModes":["Empty or missing 'text' field returns a 400 validation error","Extremely large text payloads may be rejected or truncated","Payment failure via x402 returns 402 Payment Required before processing","False positives: high-entropy strings that look like secrets may be flagged","False negatives: novel or obfuscated secret formats may not be detected"],"whenToPreferThis":"Choose this endpoint when you need to sanitize or audit arbitrary text blobs, logs, config dumps, or code snippets for accidentally exposed credentials before sharing or storing them. Prefer this over general-purpose LLM prompting for secret detection because it is purpose-built, consistent, and returns structured redacted output without risk of the secret values being echoed back in a response.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T00:42:27.269Z","isFirstParty":false}