LeakGuard

v0.1.0
co.youraitools/leakguard Checked 2 days ago Published 1 month ago

Find and redact leaked secrets, wallet keys and PII before an AI agent sends text.

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

scan_for_leaks Check text for leaked secrets before sending it

Runs locally and offline. Finds 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, JWT, PEM, credentialed URLs, password= assignments) and PII (cards, IBAN, SSN, email, phone, IP). Returns verdict (WALLET_KEY_EXPOSED / SECRETS_FOUND / PII_FOUND / CLEAN), safe_to_send and findings with masked previews (never the secret). Pattern and validator based detection: it can miss secrets in unknown formats and can flag look-alikes. A clean result is not a guarantee.

ParameterTypeDescription
text *stringText your agent is about to send to an LLM, tool, log or webhook
min_severitystring
stylestringlabel: [REDACTED:type] (default); mask: keep last 4 digits / email domain for PII
typesarrayOnly these finding types or categories (wallet_key, secret, pii, email, ...)

redact_text Redact secrets, wallet keys and PII from text

Runs locally and offline. Same detection as scan_for_leaks, plus the redacted text ([REDACTED:type], or masked PII with style=mask) to send instead of the original.

ParameterTypeDescription
text *stringText your agent is about to send to an LLM, tool, log or webhook
min_severitystring
stylestringlabel: [REDACTED:type] (default); mask: keep last 4 digits / email domain for PII
typesarrayOnly these finding types or categories (wallet_key, secret, pii, email, ...)