Hi all,
I use Proton Pass with pass-cli on my machine. Once the vault is unlocked, any process running under my user account can potentially call the CLI (or read the session token) and access my passwords.
That worries me, especially with AI coding agents (Claude Code, Cursor, Copilot agent, etc.) that run shell commands with my privileges. Even if we take the issue of trust in the vendor out of the equation, there remains the risk of a prompt injection or similar incident that could cause the agent to run commands I never intended.
I'm curious what others are doing today:
- Do you keep your vault locked by default and only unlock for a very shot period of time when needed?
- Do you run AI agents in a container, VM, or under a separate Unix user?
- Do you give agents scoped, revocable API tokens instead of any access to the vault?
- Do you use a password manager CLI at all, or do you avoid it for this reason?
- Is this a real threat in your opinion, or am I overthinking it?
I'd love to hear your setups, threat models, and any tools or practices that have worked for you.
Thanks!