个人 GitHub 账号下公开仓库的所有者可以登录并验证所有权,自行管理介绍,无需管理员批准。
登录并生成验证文件,在 30 分钟内将其提交到此仓库的默认分支。其他分支或分叉仓库中的文件无效。然后在下方检查文件,即可无需管理员批准直接管理项目。请保留文件以维持管理权限。
如需登录,将前往登录页面。登录后请回到此处,再次点击所选的验证按钮。
在项目文件夹中运行 /nomorevibe verify,即可验证所有权并自行管理介绍。
一分钟完成验证Keep secrets out of AI coding agents: agents see names, never values
翻译准备中
取自仓库 README
正在加载完整 README。 以下为已保存的摘录。
Keep secrets out of your AI coding agent. It sees names, never values.
I kept handing secrets to my coding agent. Paste the API key into the prompt, or just say "read it from my .env".
It works — and now that key sits with the model provider, in the session log on disk, and in whatever output the agent prints next.
hivelock holds that message back before it's sent. The secret goes into a local encrypted vault, and you resend it by name:查看完整 README ↗I kept handing secrets to my coding agent. Paste the API key into the prompt, or just say "read it from my
.env".It works — and now that key sits with the model provider, in the session log on disk, and in whatever output the agent prints next.
hivelock holds that message back before it's sent. The secret goes into a local encrypted vault, and you resend it by name:
- STRIPE_SECRET_KEY=sk_live_…the real key you just pasted…
+ STRIPE_SECRET_KEY={{lock:STRIPE_SECRET_KEY}}
The agent only ever works with {{lock:STRIPE_SECRET_KEY}}. When it runs a command, hivelock fills in the real value at the last moment and masks it again in the output:
$ curl -H "Authorization: Bearer {{lock:GITHUB_TOKEN}}" api.github.com/user
[lock:GITHUB_TOKEN] ← what the agent gets back
curl -fsSL https://raw.githubusercontent.com/dip497/hivelock/main/install.sh | sh
Windows PowerShell or cmd:
powershell -NoProfile -ExecutionPolicy Bypass -Command "irm https://raw.githubusercontent.com/dip497/hivelock/main/install.ps1 | iex"
Picks the right binary for your machine, checks it, and asks which agents to protect. Or take one from Releases.
hivelock import .env # move the secrets you already have into the vault
hivelock doctor # check that it's working
hivelock # the manager: list, add, lock, stats
Then work as usual. hivelock help lists every command.
| Paste a secret in chat | held back before it's sent, and handed back to you as {{lock:NAME}} |
| Agent runs a command | real value injected at run time, masked in the output |
| Agent reads a file with secrets | masked before the model sees it, and locked away |
| Old sessions on disk | scrubbed in place |
hivelock lock NAME | human-only: passphrase, agents can't touch it |
hivelock ask NAME | the agent must ask you every single time |
Works with Claude Code · Codex · Copilot CLI · Gemini CLI · Cursor · Qwen Code on Linux, macOS and Windows.
It is not a sandbox. Read what it does and doesn't protect — then usage and agents.
MIT