When an open-source redaction proxy fits
- You're a developer protecting your own coding agent, and secrets are the main worry.
- You want open source you can read and modify. All three projects publish their code.
- You want placeholders resolved back in the response. KeyClaw and PasteGuard both do that.
- You need a proxy for your own application's API traffic that you can self-host. PasteGuard is built for that: change one base URL.
- You're on a Mac. Locke runs on Windows and Linux only.
When Locke fits
- The people you're protecting aren't all developers. Locke is an installed app with a dashboard, not a command to wrap.
- You need the same screening in the browser and the terminal, from one app with one set of rules.
- You care about personal data, not only credentials: names, dates of birth, medical record numbers, government IDs. Locke detects 67 data types with regex and semantic detection.
- You want unknown AI services caught too. Locke recognizes AI traffic beyond its built-in list instead of relying on a fixed set of provider hosts.
- You need team-wide policy and privacy reports without the matched values.
Side-by-side
| Dimension | Locke | Secret-redaction proxies |
|---|---|---|
| How you run it | Install the Locke desktop app and sign in. The local proxy and the browser extension come with it. | secretgate: pip, then `secretgate wrap -- claude`. KeyClaw: cargo, then `keyclaw claude` or a daemon. PasteGuard: a Docker container, or self-hosted. |
| What it detects | 67 data types: 36 checksum-validated regex detectors plus semantic detection of names, dates of birth, medical records, government IDs, tokens and more. | secretgate: about 170 secret regexes plus your known env-var and secret-file values. KeyClaw: high-entropy tokens plus passwords, emails, phones, national IDs, passports and cards. PasteGuard: PII and secrets. |
| Browser chats | Yes, through the Locke extension for Chromium-based browsers and Firefox 128+. | secretgate and KeyClaw: no, they cover tools that use the proxy. PasteGuard: an experimental extension for ChatGPT, Claude and Gemini. |
| The model's reply | Keeps the one-way tokens; reversible tokenization is planned. | KeyClaw and PasteGuard restore placeholders in responses. secretgate replaces secrets with typed placeholders and offers redact, block and audit modes. |
| Source code | Commercial. The browser extension's source is published for audit under PolyForm Strict 1.0.0. | Open source. PasteGuard is Apache 2.0; see each repository for its licence. |
| Price | Free for one person. Teams is $12.99 per user a month. | Free to use. |
Bottom line
If you're a developer guarding your own agent and want open source, secretgate, KeyClaw or PasteGuard will do the job, and KeyClaw and PasteGuard put values back in responses, which Locke doesn't yet. Locke is the better fit when the people at risk aren't only developers, when personal data matters as much as keys, and when you want the browser and the terminal covered by one app.
Sources
Checked November 22, 2026. Products change quickly; each link is the page the facts above came from.
Related comparisons
- Locke vs Browser PII Redaction Extensions
- Locke vs Cloud-Based Data Loss Prevention
- Locke vs CASB and Secure Service Edge Platforms
- Locke vs AI API Gateways and Proxies