個人 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