Credentials. Test with dummy values first and keep the gateway's request history private, since it stores request and answer text that may include keys.
Who it is forA user who sends AI requests through a third-party relay and does not want that relay to see API keys, private keys or personal identifiers.
The problemA relay sees every request in full, so any key or sensitive value inside a prompt is exposed to it.
The outcomeAPI keys, private keys, JWTs, connection-string passwords and similar values are swapped for placeholders before the request leaves the machine.
What you need first
- A supported computer: macOS 12 or later on Apple silicon, Windows 10 21H2 or later, or a Linux x86_64 or aarch64 machine
- At least one upstream you already have access to, such as an API key, a relay, or a local model
- The AI client you want to connect, such as Claude Code or Codex, already installed
Steps
- Install the app and connect your client through the gateway as described in the install section of the README.
- Add the relay as an upstream in the gateway.
- Open the secrets and privacy protection and switch it on, starting from Monitor mode to see what it would change.
- Send a test request that contains a dummy key and check the request log to confirm the placeholder was used.
- Switch the protection from Monitor to active once you are satisfied with the results.
Prompt for your agent
Using the repo ThinkWatchProject/ThinkWatch-Lite, enable the secrets and privacy protection and route a test request containing the dummy value <dummy key> through the relay <relay name>. Expected output: the relay-side request shows a placeholder instead of the dummy key. Verify this in the request history of the gateway.
Caveat. The README says each protection starts in Monitor mode and is switched on one at a time, so it does not block anything until you turn it on.
Use this in your AI agent
Ask your agent
Using the Deduped MCP, get the setup steps for ThinkWatchProject/ThinkWatch-Lite and "Hide API keys from a relay before requests leave your machine"
Add Deduped to Claude Code once
claude mcp add --transport http deduped https://dedupedai.com/mcp
Every Monday: the 5 hottest repos and exactly how to use them. Free, one email a week, unsubscribe anytime.
Get them freeShare: X LinkedIn Hacker News Email Copy link
Third-party repos we don't own. AI-written use cases can be wrong. Disclaimer