Credentials & secrets
The things that turn a leaked prompt into an incident.
- API keys & access tokens
- .env values and connection strings
- Private keys & Authorization headers
- OAuth and session tokens
sk-…AKIA…ghp_…xoxb-…-----BEGIN KEY----- scrubadubber runs a local proxy in front of Claude Code, Aider, and other LLM tools. It intercepts every outbound request, scrubs credentials, PII, and proprietary code, and forwards a clean version upstream. Your workflow doesn't change.
Windows v0.1.4 — validated end-to-end macOS build in validation
# your tool runs exactly as before
$ aider --model claude
↓ intercepted by scrubadubber
POST api.anthropic.com/v1/messages
authorization: bearer scrubbed · api-key
"wire up billing in scrubbed · src/billing/charge.ts"
scrubbed · 38 lines proprietary code
↑ forwarded clean — secrets stayed home scrubadubber sits between your tool and the model. You keep typing the same commands — it quietly cleans what goes out.
scrubadubber runs as a proxy on localhost. Your tool points at it instead of the API, so every outbound request passes through first — nothing is sent directly.
Each request is scanned for credentials, tokens, .env values, PII, and code you mark proprietary. Matches are replaced with typed placeholders before anything leaves your machine.
The cleaned request goes to the real upstream API — Anthropic, OpenAI, and others. Responses return unchanged. Added latency is negligible.
scrubadubber recognizes well-known secret formats out of the box, plus the patterns and paths you mark sensitive.
The things that turn a leaked prompt into an incident.
sk-…AKIA…ghp_…xoxb-…-----BEGIN KEY----- Customer and personal details that shouldn’t train anyone’s model.
name@co.com+1 555…SSN4111 1111 … The source and structure that make your product yours.
src/billing/…internal.host// pricing rules A strong safety net — not a magic guarantee. scrubadubber catches known patterns and your configured rules; review what you mark sensitive, and keep secrets out of prompts where you can.
Runs locally. Your existing tools and commands don't change.
irm https://scrubadubber.com/install.ps1 | iex Validated end-to-end on Windows (v0.1.4).
curl -fsSL https://scrubadubber.com/install.sh | sh Linux is ready. The macOS build is in tester validation — watch the repo for the validated release.
A privacy tool you can't inspect is just a different black box. The bridges and installer are open. The engine ships as public, checksummed binaries — so you can verify exactly what runs on your machine.
The per-tool integration that points Claude Code (and other CLIs) at scrubadubber. Small, readable, and the same install script you pipe to your shell.
View on GitHubThe one-click installer and tray manager for Windows and macOS, plus every release. Open an issue, read the source, file a PR.
View on GitHubThe local proxy engine ships as public, checksummed binaries here. The engine source stays private — but every artifact you run is published with a SHA256 you can verify.
View on GitHubOn macOS? The build is in tester validation — watch the repo to be first to the validated release.