{"uid":"cap_MAquNfWYEqd9m5OdiQuQg","slug":"leakguard-secret-pii-scanner-c978d58f","name":"LeakGuard Secret & PII Scanner","description":"Stop AI agents leaking secrets. Finds and redacts crypto wallet keys (BIP39 seed phrases with checksum, EVM and Solana private keys, WIF, xprv), API secrets (GitHub, AWS, Stripe, OpenAI, Anthropic, Slack, Telegram, npm, SendGrid, Hugging Face, JWT, PEM, credentialed URLs, password= assignments) and PII (Luhn-checked cards, mod-97 IBAN, SSN, email, phone, IP) in text or JSON before it reaches an LLM, tool, log or webhook. The deep scan derives the public addresses a leaked seed phrase or private key controls and reports native + USDC balances on Base, Ethereum, Polygon, Arbitrum One and Solana. Fail-closed: a balance lookup that fails is \"unknown\" (listed in sources_failed, confidence low), never \"empty\". Inputs are never logged or stored. Pay with x402 (USDC on Base, Solana, Polygon or Arbitrum One) or a prepaid credits key (Authorization: Bearer).","url":"https://leakguard.agentgate.workers.dev/v1/scan?utm_source=zero.xyz","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","required":["text"],"properties":{"text":{"type":"string","description":"Text to check before it is sent (prompt, tool arguments, log, message, file content). POST /v1/scan also accepts {\"json\": <any JSON payload>}."},"style":{"enum":["label","mask"],"type":"string","description":"label: [REDACTED:type] (default); mask: keep the last 4 digits / email domain for PII"},"types":{"type":"string","description":"Optional comma-separated finding types or categories to report (wallet_key, secret, pii, email, ...)"},"min_severity":{"enum":["low","medium","high","critical"],"type":"string"}},"description":"Search intents: secret scanning api, json pii scan, leaked private key check, credential leak detection, dlp api, redact json"}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object","properties":{"tier":{"type":"string"},"input":{"type":"object"},"counts":{"type":"object"},"engine":{"type":"string"},"actions":{"type":"array"},"verdict":{"type":"string"},"exposure":{"type":"object"},"findings":{"type":"array"},"redacted":{"type":"string"},"checked_at":{"type":"string"},"confidence":{"type":"string"},"max_severity":{"type":"string"},"safe_to_send":{"type":"boolean"},"sources_failed":{"type":"array"}}}}}}},"responseSchema":{"type":"json","example":{"tier":"scan","input":{"kind":"text","bytes":185,"strings_scanned":1},"counts":{"email":1,"bip39_mnemonic":1,"aws_access_key_id":1},"engine":"leakguard-0.1.0 (leakguard-engine/0.1.0)","actions":["URGENT: a leaked key controls a wallet that holds funds right now. Move the funds to a new wallet before anything else.","Treat the wallet as compromised: create a new seed offline and move all funds now. Never paste a seed phrase into a chat, prompt or tool.","Deactivate and rotate the access key in AWS IAM; check CloudTrail for use.","Personal data: send only if the recipient needs it (data minimization).","Send the redacted output instead of the original."],"verdict":"WALLET_KEY_EXPOSED","exposure":{"status":"funds_at_risk","addresses":[{"path":"m/44'/60'/0'/0/0","type":"bip39_mnemonic","family":"evm","status":"used_empty","address":"0x9858EfFD232B4033E47d90003D41EC34EcaEda94","finding":0,"balances":{"base":{"usdc":"0","funded":false,"native":"0","tx_count":5313},"polygon":{"usdc":"0","funded":false,"native":"0","tx_count":13405},"arbitrum":{"usdc":"0","funded":false,"native":"0","tx_count":849},"ethereum":{"usdc":"0","funded":false,"native":"0","tx_count":1679}}},{"path":"m/44'/60'/0'/0/1","type":"bip39_mnemonic","family":"evm","status":"used_empty","address":"0x6Fac4D18c912343BF86fa7049364Dd4E424Ab9C0","finding":0,"balances":{"base":{"usdc":"0","funded":false,"native":"0","tx_count":1254},"polygon":{"usdc":"0","funded":false,"native":"0","tx_count":2740},"arbitrum":{"usdc":"0","funded":false,"native":"0","tx_count":457},"ethereum":{"usdc":"0","funded":false,"native":"0","tx_count":167}}},{"path":"m/44'/60'/0'/0/2","type":"bip39_mnemonic","family":"evm","status":"used_empty","address":"0xb6716976A3ebe8D39aCEB04372f22Ff8e6802D7A","finding":0,"balances":{"base":{"usdc":"0","funded":false,"native":"0","tx_count":463},"polygon":{"usdc":"0","funded":false,"native":"0","tx_count":1331},"arbitrum":{"usdc":"0","funded":false,"native":"0","tx_count":359},"ethereum":{"usdc":"0","funded":false,"native":"0","tx_count":118}}},{"path":"m/44'/501'/0'/0'","type":"bip39_mnemonic","family":"solana","status":"funds_at_risk","address":"HAgk14JpMQLgt6rVgv7cBQFJWFto5Dqxi472uT3DKpqk","finding":0,"balances":{"solana":{"usdc":"0","funded":true,"native":"2.284709463","tx_count":null}}},{"path":"m/44'/501'/0'","type":"bip39_mnemonic","family":"solana","status":"funds_at_risk","address":"GjJyeC1r2RgkuoCWMyPYkCWSGSGLcz266EaAkLA27AhL","finding":0,"balances":{"solana":{"usdc":"0","funded":true,"native":"0.003412816","tx_count":null}}}],"not_checked":[],"chains_checked":["base","ethereum","polygon","arbitrum","solana"],"sources_failed":[]},"findings":[{"end":130,"type":"bip39_mnemonic","start":37,"preview":"[REDACTED:bip39_mnemonic]","category":"wallet_key","severity":"critical","validator":"bip39 checksum ok (12 words)","confidence":0.99,"remediation":"Treat the wallet as compromised: create a new seed offline and move all funds now. Never paste a seed phrase into a chat, prompt or tool."},{"end":160,"type":"aws_access_key_id","start":140,"preview":"[REDACTED:aws_access_key_id]","category":"secret","severity":"high","confidence":0.9,"remediation":"Deactivate and rotate the access key in AWS IAM; check CloudTrail for use."},{"end":185,"type":"email","start":170,"preview":"o***@example.com","category":"pii","severity":"medium","confidence":0.9,"remediation":"Personal data: send only if the recipient needs it (data minimization)."}],"redacted":"agent log: restored wallet from seed [REDACTED:bip39_mnemonic]; aws key [REDACTED:aws_access_key_id]; contact [REDACTED:email]","checked_at":"2026-10-22T19:07:15.558Z","confidence":"high","max_severity":"critical","safe_to_send":false,"sources_failed":[]}},"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_U6KQEC_j7jhFSewKRHNvD","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 text or JSON for leaked crypto wallet keys, API secrets, and PII, redacts them, and optionally checks live blockchain balances for exposed wallet keys","exampleAgentPrompt":"Before you send that prompt to the model, scan it with LeakGuard to check for any leaked crypto seed phrases, API keys like AWS or GitHub tokens, or PII like credit card numbers or SSNs — and show me the redacted version along with any wallet balance exposure if a key is found.","exampleUseCases":[{"title":"Guard agent prompt before LLM call","prompt":"Scan this text before sending it to GPT-4 and redact anything sensitive — I want to catch any API keys, wallet mnemonics, or personal data that might have slipped in: 'User said: my seed phrase is abandon abandon abandon ... art and my stripe key is sk_live_xxxx'"},{"title":"Screen webhook payload for secrets","prompt":"Check this incoming webhook JSON for any leaked credentials or PII before I log it — flag anything critical like private keys or credit card numbers and tell me if any wallets are at risk."},{"title":"Audit AI agent output for accidental leaks","prompt":"My agent just generated a response — can you run it through LeakGuard to make sure it didn't accidentally include any secrets, SSNs, or wallet keys before I send it back to the user? Use label style so I can see what type each finding is."}],"resultDescription":"Returns a JSON object with finding counts by type, a verdict string (e.g. WALLET_KEY_EXPOSED, CLEAN), redacted text, prioritized remediation action strings, and an exposure block with derived wallet addresses and live native + USDC balances on Base, Ethereum, Polygon, Arbitrum One, and Solana for any detected crypto keys. Balance lookup failures are marked as 'unknown' with low confidence, never silently treated as empty.","failureModes":["Missing required 'text' query parameter returns a 400 error","Balance lookup failures for exposed wallets are reported as 'unknown' in sources_failed rather than empty, with confidence set to low","Invalid 'style' enum value (not 'label' or 'mask') returns a validation error","Invalid 'min_severity' enum value returns a validation error","Payment failure via x402 or invalid Bearer token returns 402 or 401","Very large text inputs may exceed URL length limits for GET; POST /v1/scan with JSON body should be used instead"],"whenToPreferThis":"Use LeakGuard when you need a fail-closed, privacy-preserving secret and PII scanner that covers crypto wallet keys (BIP39 with checksum, EVM/Solana private keys, WIF, xprv), a broad set of API secrets (AWS, GitHub, Stripe, OpenAI, Anthropic, Slack, JWT, PEM, etc.), and PII (Luhn-checked cards, mod-97 IBAN, SSN, email, phone, IP) in a single call. Prefer it over generic regex-based tools when you need live blockchain balance checks to confirm whether an exposed seed phrase or private key actually controls funded wallets. It is specifically designed for AI agent pipelines where inputs must never be logged or stored by the scanner itself.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-12-01T12:40:03.813Z","isFirstParty":false,"canonicalSlug":"leakguard-secret-pii-scanner-c978d58f"}