
Security News
Axios Supply Chain Attack Reaches OpenAI macOS Signing Pipeline, Forces Certificate Rotation
OpenAI rotated macOS signing certificates after a malicious Axios package reached its CI pipeline in a broader software supply chain attack.
The missing permission layer between AI agents and your .env
AI coding assistants (Claude Code, Cursor, Copilot) need your environment variables to run and test code. But they can see everything—API keys, database passwords, payment secrets.
It's all-or-nothing. Until now.
envibe gives you per-variable access control with 5 levels:
| Level | AI Can See | AI Can Modify | Example |
|---|---|---|---|
full | Actual value | Yes | NODE_ENV, PORT, DEBUG |
read-only | Actual value | No | DATABASE_URL |
placeholder | <VAR_NAME> | No | API_KEY |
schema-only | Format only | No | Complex configs |
hidden | Nothing | No | STRIPE_SECRET_KEY |
Add envibe as an MCP server to your AI tool:
{
"mcpServers": {
"envibe": {
"command": "npx",
"args": ["envibe-mcp"]
}
}
}
On first use, envibe automatically:
.env.manifest.yaml from your .env.example.env.ai (filtered view for AI).env file access┌─────────────────────────────────────────────────────────────┐
│ Your .env (secrets) │
│ ├── STRIPE_SECRET_KEY=sk_live_xxx ← hidden from AI │
│ ├── DATABASE_URL=postgres://... ← AI can read │
│ └── DEBUG=true ← AI can read/write │
└─────────────────────────────────────────────────────────────┘
│
▼
┌─────────────────────────────────────────────────────────────┐
│ .env.manifest.yaml (access rules) │
│ variables: │
│ STRIPE_SECRET_KEY: { access: hidden } │
│ DATABASE_URL: { access: read-only } │
│ DEBUG: { access: full } │
└─────────────────────────────────────────────────────────────┘
│
▼
┌─────────────────────────────────────────────────────────────┐
│ .env.ai (what AI sees) │
│ DEBUG=true # [full] │
│ DATABASE_URL=postgres://... # [read-only] │
│ # STRIPE_SECRET_KEY hidden │
└─────────────────────────────────────────────────────────────┘
# .env.manifest.yaml
version: 1
variables:
NODE_ENV:
access: full
description: "Environment mode"
DATABASE_URL:
access: read-only
description: "Database connection string"
OPENAI_API_KEY:
access: placeholder
description: "OpenAI API key"
STRIPE_SECRET_KEY:
access: hidden
description: "Payment processing - never expose"
| Command | Description |
|---|---|
envibe setup | Full setup (recommended) |
envibe setup -i | Interactive mode - choose access levels |
envibe generate | Regenerate .env.ai |
envibe view | Display variables with access levels |
envibe mcp | Start MCP server |
claude mcp add envibe npx envibe-mcp
Or add to .claude/settings.json:
{
"mcpServers": {
"envibe": {
"command": "npx",
"args": ["envibe-mcp"]
}
}
}
Add to your claude_desktop_config.json:
{
"mcpServers": {
"envibe": {
"command": "npx",
"args": ["envibe-mcp"]
}
}
}
Config file locations:
~/Library/Application Support/Claude/claude_desktop_config.json%APPDATA%\Claude\claude_desktop_config.jsonAdd to your VS Code settings.json:
{
"mcp.servers": {
"envibe": {
"command": "npx",
"args": ["envibe-mcp"]
}
}
}
Add to Cursor MCP settings:
{
"mcpServers": {
"envibe": {
"command": "npx",
"args": ["envibe-mcp"]
}
}
}
Add to ~/.codeium/windsurf/mcp_config.json:
{
"mcpServers": {
"envibe": {
"command": "npx",
"args": ["envibe-mcp"]
}
}
}
# Install globally
npm install -g envibe
# Run setup
envibe setup
| Tool | Description |
|---|---|
env_list | List visible variables with access levels |
env_get | Get a variable's value (respects permissions) |
env_set | Set a variable (only full access) |
env_describe | Get detailed info including format and example |
env_check_required | Check which required variables are missing |
env_check_required to guide users through setup| Approach | Problem |
|---|---|
| dotenvx | Encrypts files, but AI still needs the decryption key |
| permissions.deny | Blocks all .env access—no granular control |
| Just ignore .env | AI can't run or test code that needs env vars |
| envibe | Per-variable access control. AI sees what you allow. |
your-project/
├── .env # Real secrets (gitignored)
├── .env.example # Template for devs (committed)
├── .env.manifest.yaml # Access rules (committed)
├── .env.ai # AI-safe view (gitignored)
└── .claude/
└── settings.json # Claude Code config (committed)
.env files are gitignored and blocked from AI.env.manifest.yaml contains rules only, not values—safe to commit.env.ai is regenerated from .env + manifest—gitignore itplaceholder (fail-safe)cat .env, head .env, etc.)MIT
Built for the AI coding era. Stop leaking secrets.
FAQs
The missing permission layer between AI agents and your .env
The npm package envibe receives a total of 4 weekly downloads. As such, envibe popularity was classified as not popular.
We found that envibe demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Security News
OpenAI rotated macOS signing certificates after a malicious Axios package reached its CI pipeline in a broader software supply chain attack.

Security News
Open source is under attack because of how much value it creates. It has been the foundation of every major software innovation for the last three decades. This is not the time to walk away from it.

Security News
Socket CEO Feross Aboukhadijeh breaks down how North Korea hijacked Axios and what it means for the future of software supply chain security.