V1.0.4 Deployment Live

Stop leaking secrets to your AI agents.

Local, AES-256 encrypted vault for API keys, tokens, and passwords. Agents access secrets through opaque keys (es_…) that can't be reversed or enumerated — even from a leaked transcript or compromised session. Free for local use, native Claude Code skill included.

envsave scan
$envsave scan
Scanning project for hardcoded env references and opaque keys...
Variable
OPENAI_API_KEY
AWS_SECRET_ACCESS_KEY
POSTGRES_DB_URL
Status
ENCRYPTED
ENCRYPTED
EXPOSED
$
// THE PROBLEM

Why envsave

Five things that go wrong when an LLM can see your real secret.

  • 01

    Exfiltration

    An agent with shell, file-read, or HTTP tools can quietly POST your keys to an attacker, log them into a third-party transcript, or commit them to a public repo.

  • 02

    Leaked-key abuse

    Attackers scrape keys out of GitHub, npm tarballs, Discord pastes, and LLM logs within minutes of exposure.

  • 03

    Prompt injection

    A malicious page or PR description in the agent’s context can instruct it to read .env and print "debug output."

  • 04

    Context-window leakage

    Once a key is in the LLM’s context it can be cached, embedded, and potentially used in future training.

  • 05

    Painful rotation

    A leaked production key means downtime, redeploys, and chasing every place it was pasted.

Hardened Security by Design.

Environment security shouldn't be an afterthought in the age of autonomous agents.

Local-First Encryption

Your keys stay on your machine in a single AES-256-GCM encrypted vault file. Even with optional cloud backup, we only ever store encrypted bytes and never see your secrets.

Agent-Specific Scoping

Only reveal the specific variables needed for the task at hand. Prevent LLMs from reading your entire .env history.

Touch ID Unlock

On macOS, approve vault commands with your fingerprint instead of typing the master password. AI agents can't approve the prompt, so they still can't read your secrets.

Isolated Vault

Your machine, your entropy.

Local-First Encryption

Traditional secrets management relies on cloud providers. envsave flips the script. Your secrets are encrypted locally with AES-256-GCM before an LLM agent ever sees them.

  • Zero-Knowledge Storage

    We never see your keys. They reside in your system's secure keychain or local encrypted blocks.

  • Agent Sandboxing

    Secrets are only injected into runtime environments after explicit local authorization.

Zero to Secure
in 60 Seconds.

Integrate envsave into your existing developer workflow without changing how you write code.

01
02
03
Step 01
Global Install
Available on npm, PyPI, or straight from GitHub source.
npm
npm install -g @envsave/cli
PyPI
pip install envsave
GitHub
git clone https://github.com/jcsancho/envsave
Step 02
Secure a Variable
envsave set OPENAI_API_KEY sk-...
Step 03
Access via Opaque Key
Reveal the opaque es_… id and use it in code. Agents see only the opaque id — never the real value.
envsave reveal OPENAI_API_KEY
envsave.get("es_7a3f2b1e9c8d4f6b")
High-tech server background

Ready to secure your agent workflow?

Join thousands of developers who trust envsave for their local development environment security. Open source and free forever.