Viktor Vyhivskyi 打造 GetPassAi 密碼庫,讓 AI 助手使用密碼而不直接查看
I built a password vault my AI assistant can use without seeing my passwords
Viktor Vyhivskyi 建立 GetPassAi 密碼庫,讓 AI 助手可透過剪貼簿將密碼貼入應用程式,而不讓密碼進入對話或助手上下文。服務密碼在瀏覽器端以 AES-256-GCM 加密後才傳至伺服器,剪貼簿會在 60 秒後清除;目前登入時伺服器仍會看到網站密碼,且產品尚未經獨立安全審計。
I built a password vault my AI assistant can use without seeing my passwords
Live service: https://getpassai.com
Code (open source, AGPLv3): https://github.com/VHVSK/GetPassAi
The problem
I use an AI assistant every day. It logs into remote desktops for me, opens my CRM, fills in forms, does the boring parts of my work. And sooner or later, every one of those tasks hits the same wall: a password field.
So I had two bad options. Option one: type the password myself every time — which defeats the point of having an assistant. Option two: paste the password into the chat and ask the assistant to use it — which means the password is now sitting in a chat log, in a model context, on someone else's server, forever.
Neither felt right. I wanted a third option: the assistant can use the password without ever seeing it.
That's why I built GetPassAi.
The idea
GetPassAi is a password vault with one job: store service names and passwords, and let an assistant copy a password into the app that needs it — without the password ever appearing on screen.
The flow looks like this:
- I open the vault in a browser (on the machine where the work happens).
- I find the entry by service name — say, "Gmail".
- I press Copy. The password goes to the clipboard.
- The assistant switches to the app, clicks the password field, and pastes.
The password travels only inside the device: browser → clipboard → app. It never appears in a chat, never shows up on screen, and never enters the assistant's context. The assistant only sees dots: ••••••••.
The clipboard clears itself after 60 seconds (or when the tab closes). Sixty seconds is deliberate — switching between apps takes time, and the assistant needs a moment to reach the field. There's also a "Show" button that reveals the password for 10 seconds — but that's for a human, never for the assistant.
How the crypto works (short version)
Everything is encrypted in the browser before it ever leaves it:
- Each entry is encrypted separately with AES-256-GCM (WebCrypto), with a random salt and IV per entry.
- The encryption key is derived from the site password with PBKDF2-SHA256, 600,000 iterations — the current OWASP recommendation.
- The server stores only ciphertext: salt, IV, and encrypted data. A hosting admin or anyone who gets the database sees unreadable strings.
- The site password hash is Argon2id.
- The key lives only in the tab's
sessionStorage: close the tab, and the key is gone.
There is also something I deliberately did not build: email. Registration needs no email. Entries need no email. You can use fake service names if you want. If the database ever leaks, there is no email to identify anyone, and no reliable mapping between a password and a service.
What it is not (the honest part)
I don't want to oversell this, so here are the limits, stated plainly:
- The server currently sees your site password at sign-in. That's the ordinary "username + password" scheme — the server checks a hash. The service passwords never reach the server unencrypted, but the site password does pass through it. True zero-knowledge login (SRP) is on the roadmap, and the security plan says so openly.
- There is no account recovery yet. If you forget your site password, your vault is gone for good. Recovery keys are planned; until then, the site says so honestly at registration.
- It has not been independently audited yet. The code is open source so anyone can review it, and there is a full security plan with a self-audit checklist — but no external firm has checked it. Don't take my word for it; read the code.
If those limits are deal-breakers for you, use 1Password or Bitwarden. They are excellent, audited, and battle-tested. GetPassAi is a small, focused tool for one specific job — and I'm honest about where it stands.
Why free?
GetPassAi is free for everyone. No ads, no paywall, no premium tier, no limits on entries. I built it because I needed it, and keeping it free means anyone with the same problem can use it.
Running it costs a little (a domain and hosting), so there is a voluntary donation link on the site. Donations change nothing about access — they just keep the lights on. The project is a side project by one person, not a company, and it will stay that way.
What's next
The roadmap is public, in the security plan on GitHub:
- SRP login — so the server never sees the site password at all.
- Recovery keys — so a forgotten password doesn't mean a lost vault.
- Two-factor authentication (TOTP) and breach checking for passwords.
- An independent security audit — after the items above are done, because auditing raw code is money wasted.
Try it, or run it yourself
- Use it: https://getpassai.com
- Read the code: https://github.com/VHVSK/GetPassAi
- Security plan and known limits: in the repo
If you use an AI assistant for real work, you have the same problem I had. GetPassAi is my answer to it — free, open, and honest about what it can and cannot do yet. Feedback and security reports are welcome: the repo has a SECURITY.md with instructions.
GetPassAi is a personal project by Viktor Vyhivskyi. It is not affiliated with any employer or company.
來源:DEV Community · dev.to