Scrub API Keys, Secrets & IPs Before Pasting Logs to AI
Paste stack traces, .env dumps, HAR snippets, or server logs. Automatically detects AWS, Stripe, OpenAI, GitHub tokens, JWTs, DB URIs, and IPs locally.
How to clean production logs before debugging with an LLM
- 01.Use the "Dev / API Log Scrubber" preset.
- 02.Paste your stack trace, Nginx log, or JSON payload.
- 03.Secrets like sk-..., AKIA..., ghp_..., Bearer JWTs, postgres:// passwords, and IPs become safe tokens like [SECRET_1] and [IP_1].
- 04.Paste cleanly into ChatGPT/Claude, then optionally restore real hostnames/IPs locally.
Why Client-Side Execution Matters
- Catches PEM private keys, Bearer headers, DB connection strings, JWTs, and cloud provider key prefixes.
- Enforced `connect-src: self` browser Content-Security-Policy guarantees secrets stay local.
- Preserves line structure and JSON/stack formatting for accurate AI debugging.
Frequently Asked Questions
Which secret formats are detected automatically?
Maskry detects OpenAI/Anthropic/Stripe keys, AWS access keys (AKIA...), GitHub tokens (ghp_/github_pat_), Slack tokens, Google API keys (AIza...), JWTs, Bearer authorization headers, PEM private keys, and database URLs with credentials.
Why not just paste logs straight into an AI chat?
Accidentally pasting live credentials or internal IP maps into external tools violates most security policies and risks leaking production credentials in chat history.
Related Workflows
Restore real client names, emails, and amounts from ChatGPT or Claude replies locally - even when AI alters token casing, brackets, or Markdown formatting.
Scrub customer PII, emails, IDs, and free-text notes inside CSV exports before using Claude. Consistent column pseudonymization in-browser with zero server upload.