{"uid":"cap_gC6uX02hJ9yXGOwltPdxT","slug":"genesis-agent-tools-secret-leak-scanner-2f8d8faf","name":"GENESIS Agent Tools — Secret Leak Scanner","description":"Pay-per-call x402 APIs for autonomous agents on Base USDC: API compatibility analysis, bounded HTTP/JSON workflows, URL evidence analysis, crypto price consensus, and agent/MCP readiness checks.","url":"https://genesis-agent-tools.genesisagenttools.workers.dev/api/tools/secret-leak-scan?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","required":["text"],"properties":{"text":{"type":"string"}}},"responseSchema":{"type":"object","properties":{"hits":{"type":"array"},"secret_count":{"type":"number"}}},"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_HTcYO4TM3EISiKahjT0Vv","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 arbitrary text for exposed secrets, API keys, tokens, and credentials, returning a list of detected hits and a count.","exampleAgentPrompt":"Can you scan this text for any leaked secrets or API keys? Here's the content: 'export STRIPE_KEY=sk_live_abc123 and GITHUB_TOKEN=ghp_xyz789'","exampleUseCases":[{"title":"Pre-commit code secret check","prompt":"Before I push this code, can you check it for any hardcoded secrets or API keys? Here's the content of my config.js file: 'const DB_PASS = \"hunter2\"; const STRIPE_SECRET = \"sk_live_abc123\";'"},{"title":"Log file credential audit","prompt":"I just captured some application logs and I'm worried they might contain sensitive tokens — can you scan this log snippet for any exposed credentials or API keys?"},{"title":"CI/CD pipeline secret validation","prompt":"We're about to deploy and I need to make sure our generated build artifact doesn't accidentally contain any hardcoded secrets or tokens — can you run a secret leak scan on this output text?"}],"resultDescription":"Returns a JSON object with a 'hits' array listing each detected secret (including type and matched value/pattern) and a 'secret_count' integer indicating the total number of secrets found in the input text.","failureModes":["Empty or missing 'text' field returns a validation error","Very large text inputs may time out or be truncated","False positives on strings that resemble but are not actual secrets","False negatives for obfuscated or encoded secrets","Network or payment (x402) failures if USDC payment is not completed"],"whenToPreferThis":"Choose this endpoint when you need a quick, pay-per-call secret scanning check on arbitrary text without setting up a full static analysis pipeline. Ideal for agents that need to validate text snippets, code blobs, logs, or config files on-demand before storage, transmission, or deployment. Useful when you want a lightweight, programmatic alternative to tools like truffleHog or GitGuardian for single-text scanning.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-01T00:42:01.838Z","isFirstParty":false,"canonicalSlug":"genesis-agent-tools-secret-leak-scanner-2f8d8faf"}