Safeguard sensitive information when using AI coding agents.
Project details
Cloak acts as a local proxy that redacts secrets and PII from AI coding agents before they reach external APIs. By requiring minimal setup, Cloak seamlessly integrates with popular AI tools, ensuring privacy and security without complicating the user experience. Ideal for developers needing to keep their data safe.
Protect your sensitive data while using local AI agents with ai-privacy-cloak, a powerful local proxy designed to sit between AI coding agents (such as Claude Code, Cursor, aider, Codex CLI, and more) and the model provider's API. This tool redacts sensitive information and personally identifiable information (PII) before it leaves your machine, while seamlessly restoring the original data upon response receipt.
Transparency and Simplicity: After a few straightforward terminal commands, ai-privacy-cloak operates invisibly in the background, requiring no configuration files or additional API keys. Simply run cloak install to set the necessary environment variable and start using your AI agents as you normally would, with the peace of mind that your data is protected.
User-Friendly Operation: Once installed, toggling the redaction on or off is easy with commands like cloak toggle, keeping your workflow smooth and efficient while providing control over data exposure.
anthropic, openai, and gemini), ensuring only one provider is active at a time to maintain compatibility with varying request formats.To get started with ai-privacy-cloak, execute the following commands:
# Install cloak
./cloak install
# Start the local proxy in the foreground
./cloak serve
# Disable protection temporarily
./cloak disable
# Toggle protection status
./cloak toggle
ai-privacy-cloak has been designed for efficiency with a low impact on request latency. Benchmarking tools allow users to validate performance, confirming that sensitive data is being handled correctly without significant delay. An optional audit log feature can also be enabled for real-time verification of redactions occurring during processing.
Data security is a priority for ai-privacy-cloak. The application has been crafted to handle sensitive items such as AWS access keys, PII, and various credential types, ensuring nothing is written to disk unless specifically requested. This commitment to privacy helps prevent potential leaks of sensitive data through the AI training process.
ai-privacy-cloak is positioned to fill a critical gap in the market, offering tailored solutions specifically for coding agents. This tool stands out by focusing on credential-shaped strings and environmental configurations that commonly infiltrate AI agent workflows. Experience the security of using local AI agents with the guarantee that your sensitive information is protected.
Comments
0Start the conversation
Share the first comment.