LLM Secrets - Protect .env Secrets from Claude Code
LLM Secrets is a free, open-source tool that prevents AI coding assistants like Claude Code from reading secrets in your .env files. It protects private keys, API keys, and crypto wallet credentials in an encrypted vault, unlockable via phone, laptop, or security key.
About this tool
LLM Secrets helps developers keep sensitive information away from AI coding assistants. It creates an encrypted vault to store .env secrets, private keys, and API keys, ensuring they are never exposed to AI. Key features include: - Support for macOS, Linux, and WSL (Windows Subsystem for Linux) - Zero secrets exposed to AI - Visual secret editor: add, edit, and organize secrets with a clean interface, or drive everything from the command line - Auto-updated documentation: add a secret and regenerate CLAUDE.md so your AI always has the latest reference - Master key backup: use scrt4 backup-key --save ~/usb to write a password-protected file, keep it in a password manager or on a USB stick The tool is free to use and available on Android, iOS, Linux, macOS, and Windows. It is designed for security-conscious developers and users of AI coding assistants.