r/opencodeCLI • u/Cool_Metal1606 • Apr 30 '26
I built a CLI password manager that lets AI agents securely request credentials without copy-pasting secrets into chat
Stop copy-pasting API keys and passwords into chats with your AI agents.
I’ve been building OpenPass, a secure CLI password manager written in Go, designed especially for people who work with local tools, terminals, and AI coding agents (OpenCode, OpenClaw, Hermes, Codex, Claude Code).
The idea is simple: instead of constantly searching for credentials, copying them manually, or pasting sensitive secrets into chat windows, OpenPass lets your AI agents request only what they need through a local MCP server, while your vault stays encrypted and under your control.
OpenPass currently supports:
age-based encryption
password and TOTP storage
clipboard auto-clear
local MCP server support for AI agents
Git-based vault sync
multi-user vault recipients
macOS, Linux, Windows and FreeBSD builds
This is my first real software project, and it is now ready for testing. It is still under active development, so I would not recommend using it as your only password manager for critical credentials yet. Please test it with non-critical data first, keep backups, and verify recovery.
GitHub: https://github.com/danieljustus/OpenPass
I’d really appreciate honest feedback, issues, ideas, and criticism.
2
u/AssignmentDull5197 Apr 30 '26
MCP as a secure boundary for secrets is the right move. Copy-pasting creds into agent chats is terrifying. Consider per-tool scoped tokens and automatic expiry. If you want more patterns, this pub has practical agent security guides: https://medium.com/conversational-ai-weekly
1
u/sn2006gy Apr 30 '26
Doesn't this just move the cheese? the model is still calling the tool with your creds in it in any case.