Scrub API Keys & PII Before Pasting Into Claude Code, Cursor, or ChatGPT
Paste stack traces, .env files, HTTP headers, or JSON logs. Detect OpenAI, Anthropic, AWS, Stripe, GitHub, JWT, Postgres DSNs, private keys, cookies, and high-entropy secrets locally—replace them with consistent placeholders like <OPENAI_KEY_1>, and restore the AI's returned fix back to real values locally.
activeTab-only).
| Placeholder | Category | Masked Preview | Entropy | Detector | Hits | Action |
|---|
Paste the patched code, .env, or curl command returned by Claude Code / Cursor / ChatGPT containing placeholders like <OPENAI_KEY_1> or <DATABASE_URL_1>. We restore them strictly in your browser using the current session's RAM map.
Why Entropy + Context Beats Pure Regex
Pure regex misses unprefixed env secrets (WEBHOOK_SIGNING_SECRET=...) while naive entropy scanners corrupt git commit SHAs, sha512- lockfile integrity strings, and camelCase code identifiers. Combining vendor signatures, Shannon entropy, and structural whitelisting catches real keys without breaking stack traces.
Deterministic Reversible Placeholders
If the same Postgres DSN or OpenAI key appears 4 times across a log dump, every occurrence maps to the exact same <DATABASE_URL_1> token. LLMs keep variable relationships intact, and you can paste the generated fix into Tab 2 to rehydrate locally.
Zero Uploads — Verifiable in DevTools
Open your browser's Network tab while pasting credentials: 0 bytes leave your machine. No analytics, no cookies, no localStorage persistence of raw secrets. Reloading or clicking Wipe Map clears RAM instantly.