Australialemonadesaltbagel/veil
Local privacy proxy for AI coding agents. Keep PII and secrets out of LLMs with deterministic pseudonymization.
Featured achievements
The project's latest awards
#1 Repository of the day
#1 Repository of the day
#1 Repository of the day
🛡️ veil: Stop AI Agents From Seeing Your Production Data
Your AI coding agent reads production data. veil makes sure the model never sees a real person.
veil is a local privacy proxy for AI coding agents such as Claude Code, Codex CLI, Aider, and DeepSeek Harness. It replaces every real name, email, phone number, address, ID number, and secret with a consistent pseudonym before the request leaves your machine. When the agent runs a command, queries a database, or edits a file locally, veil swaps the real values back in safely escaped. The model reasons about real bugs; it just never learns who they happened to.
✨ Highlights
- Deterministic pseudonymization: Replaces real names, emails, phone numbers, addresses, ID numbers, and secrets with consistent pseudonyms before requests leave the machine
- Local restoration: Swaps pseudonyms back to real values safely escaped when the agent queries databases or edits files locally
- Project auto-discovery: veil init finds database URLs in .env files, SQLite files, fixture folders, git history, and personal fields declared in code (Prisma, Django, Rails, SQLAlchemy, OpenAPI, protobuf)
- OS keychain storage: Keys kept in macOS Keychain, Linux Secret Service, or Windows Credential Manager; CI or containers can use VEIL_VAULT_KEY / VEIL_TOKEN_SECRET instead
- Day-to-day privacy controls: Commands like veil display tokens for screen sharing, veil share to pseudonymize text before pasting, veil reveal to restore real values locally
- Database tool for agents: Registers a database tool with Claude Code that refers to sources by number so no credentials appear in any config
- Cross-platform support: Works on macOS, Linux, and Windows with no admin rights needed for service installation
- Key rotation: veil keys rotate re-encrypts everything with a new vault key while keeping pseudonyms unchanged, or --token-secret generates new pseudonyms
💡 Why it matters
Traditional approaches to protecting data from AI agents often involve redacting or removing sensitive information entirely, which makes debugging impossible because the model can't reason about real data patterns. veil takes a different approach by using deterministic pseudonymization — the model sees consistent fake values that preserve the shape and structure of the data, so it can still find real bugs like duplicate invoices or billing errors, but it never learns the actual identities behind them.
This makes veil particularly useful for developers who want to use AI coding agents against production-shaped data without exposing PII or secrets to the LLM provider. It fits best in workflows where an AI agent needs to inspect databases, query logs, or edit files that contain sensitive customer data.
#DataPrivacy #LLMSecurity #OpenSource #TiniX
Similar Projects
Discover other similar projects and AI models.
The agent harness performance optimization system. Skills, instincts, memory, security, and research-first development for Claude Code, Codex, Opencode, Cursor and beyond.
Reverse engineer anything with agents, from app behavior down to native binaries.
The fastest, cheapest, most efficient open-source agent harness. Run more than 500 agents on a $10 VPS.
An open-source framework for detecting, redacting, masking, and anonymizing sensitive data (PII) across text, images, and structured data. Supports NLP, pattern matching, and customizable pipelines.
Makes your AI agent think like the laziest senior dev in the room. The best code is the code you never wrote.
A cross-platform desktop All-in-One assistant for Claude Code, Codex, OpenCode,DeepSeek Harness and more. Only official website: ccswitch.io