Vault and saved logins
Vault in the sidebar keeps your website logins and cards. Niko can sign in with a saved login, but the model never receives the password: the Niko server types it into the website for you.
While Vault is empty, it lists the ways to fill it: import passwords, add a login or a card, or sign in to a website.
If you stop the task while Niko enters a saved login or card, Niko stops the private entry too. Stopped before entry means that no values were entered in that step. An interrupted private operation may have reached the website. Niko does not repeat it. Check the result on the website before you start a new attempt.
Add a login
Section titled “Add a login”- Open Vault, select Add, then Login.
- Enter a Name you'll recognize, such as "Work reports", and the Website domain.
- Enter the username or email and the Password.
- If the website asks for a code from an authenticator app, paste its setup key or
otpauth://link into Authenticator key. Websites show it next to the QR code when you turn on two-step sign-in, and password managers keep it with the login. - Select Save.
Website domain accepts a domain or a full HTTPS URL, such as https://www.example.com/uk/. Niko saves only the protocol, host, and port. It removes the path, query, and fragment. Loopback addresses, such as http://localhost:4310, can use HTTP.
If the website address or authenticator key is not valid, the error explains what to change.
If Niko has a specific reason for a failed save or update, the form shows it. Password, card number, and authenticator key fields clear after submission. Enter any replacement secret values again before you repeat the save.
Import from a password manager. Select Add → Import passwords and choose a CSV exported from Chrome, 1Password or another password manager. Niko imports the website logins and skips archived items. Authenticator keys come along when the export has them, as 1Password and Bitwarden exports do, and a login you already saved gets its missing key. Passkeys, cookies and other items aren't imported. Delete the exported file afterwards, because it isn't encrypted.
Sign in on the website
Section titled “Sign in on the website”When a task needs a login you haven't saved, Niko opens the website's own sign-in page in its live browser in chat. The panel's title shows the page's address, such as discord.com, with a lock for a secure page. Check it before you type.
- Sign in as you would in your own browser, including any code or method the website asks for.
- Select Return to Niko. Niko looks at the page and carries on.
- To let Niko sign in by itself next time, select Save login to Vault. Niko saves the website's address with the account and password you typed. If that account is already in Vault, Niko updates its password and keeps its name. If you typed only the password and Vault holds one login for the website, Niko updates that login. The button appears only for HTTPS websites and addresses on your computer.
Niko doesn't watch or act while you have the browser, and a password you type there is hidden from the model and from what Niko reads on the page afterwards. Niko's server keeps it only to offer the save. Niko's browser stays signed in for later tasks, so you usually sign in once. A saved login lets a scheduled run sign in again after the website signs Niko out.
To use a login from 1Password or another password manager, copy it into the page, or import a CSV into Vault.
If a browser check stops a saved login, the error keeps its safe reason and recovery step. For example, after a page script runs, Niko must reload the page before a new private entry. The previous entry cannot run again.
How sign-in works
Section titled “How sign-in works”sequenceDiagram actor You participant Niko participant Server participant Site as Website You->>Niko: Get this week's numbers from the reports site Niko->>Site: Read the sign-in page Niko->>Server: Use Work reports in these fields Server->>Server: Check task, account and exact origin Server->>Server: Claim one use Server->>Site: Enter and submit privately Site-->>Niko: Page after sign-in, secrets masked Niko-->>You: Here are the numbers
Niko picks the account, the fields and the submit button. Before the server uses a saved login, it checks that each one is on the page. If one is missing, it refuses the step, enters nothing and Niko reads the page again. The server enters and submits in one private step that Niko can't watch, then Niko carries on with the live page.
Some websites disable the submit button while they check a field. Niko waits up to 30 seconds for the button to become enabled. If it stays disabled, the page changes or the browser closes, Niko stops the private step. It does not activate the disabled control or repeat the submission. A failed private entry can keep the page unreadable until you reload it.
| Item | What the model receives |
|---|---|
| Saved login | Its name, its website and the first two characters of the username |
| Saved card | Its name, brand, last four digits and expiry |
| Password or code | Only whether the private step finished |
| Authenticator key | Nothing; Niko enters the current code itself |
| Page after sign-in | The live page, with the password and codes removed from text and masked in screenshots |
Website matching
Section titled “Website matching”A login works on its saved origin: the protocol, host and port. It also works on the matching root or www host, with the same protocol and port. For a login saved for https://example.com:
| Page | Can use the login? |
|---|---|
https://example.com/weekly |
Yes, the path doesn't matter |
https://www.example.com |
Yes, the matching www host |
https://login.example.com |
No, a different subdomain |
http://example.com |
No, a different protocol |
https://example.com:8443 |
No, a different port |
Only domains with a known public or private suffix get this match. Other subdomains, repeated www prefixes, local addresses, IP addresses and unknown suffixes keep exact matching.
The question shows the destination host and port. Your approval stays bound to the destination and account shown. An approval for example.com does not approve www.example.com.
The browser checks the real origin of each field against the current sign-in request, including fields inside frames. The saved entry keeps its original address.
When Niko asks first
Section titled “When Niko asks first”These checks run before Niko uses a saved login. Signing in yourself on the page needs no check.
- Which account. Niko reuses the one saved login that fits, or the one you named. If several could apply and you haven't said which, or a saved login doesn't get through, Niko shows you the website's page to sign in yourself.
- Whether to sign in. The same checker that decides app actions checks whether your recent messages or your rules need this website. If not, or if a rule says to ask first, Niko asks, for example "Sign in to reports.example.com?". Mentioning a domain isn't consent.
- Scheduled runs are checked against the instruction that created the schedule and your rules.
- Background work Niko starts itself is checked against your standing instruction and your rules. If they don't need this website, or a rule says to ask first, Niko asks you first.
A yes covers that website and account for the rest of the task. A new task is checked again.
When a saved login needs your approval, Niko uses its saved name and username hint to identify the account.
Verification codes
Section titled “Verification codes”From an authenticator app. When a saved login holds an authenticator key, Niko enters the current code itself when the website asks for one, after the same check as signing in with that login. It uses the key for the saved login Niko signed in with in the same task. If Niko didn't sign in, it uses the login you named or the website's only login with a key. It enters one code per sign-in; if the website asks again, Niko shows you the page. A code sent by email or text message is always yours to type on the page. The key never leaves the Niko server.
By email or text message. Niko shows you the page to enter the code yourself.
When Niko reads mail through your apps, a separate model check (a decision service, or your connection's smaller model) checks each email before Niko's model sees it, and hides the content of any email that gives access to an account: a one-time or verification code, a sign-in or magic link, a password-reset or account-recovery link, a temporary or initial password, backup or recovery codes, or an API key or access token. Mail that only mentions your accounts, such as a receipt or a new sign-in alert without a code or link, stays visible. OpenAI Decisions and the smaller model can check several emails together, with a separate decision for each. If a check fails or its decisions are incomplete, Niko hides those emails too. The check reads up to 8,000 characters, the start and end of a longer email, and like any model it can miss one, so treat it as a strong guard rather than a guarantee. An email Niko downloads as a file isn't checked.
Signing in from Telegram or WhatsApp
Section titled “Signing in from Telegram or WhatsApp”A chat app can't show the page, so Niko asks you to open Niko on your computer or the web. Sign in there and select Return to Niko, and Niko replies in the original chat. See Telegram and WhatsApp.
Review and change access
Section titled “Review and change access”Usage lists every sign-in, code, question, held attempt, reveal and permission change, with the task and the reason, next to what Niko did in your apps.
Vault lists your logins and cards. Open one to edit, reveal, copy or delete it. Every reveal is recorded.

How Vault stores secrets
Section titled “How Vault stores secrets”Saved logins, their authenticator keys and cards are encrypted with AES-256-GCM. Each value is bound to you, its record and its purpose, so a copied value won't open anywhere else. The key is kept outside the database.
Vault fails closed. Niko checks the key against your existing data before it uses or writes anything, and a wrong or missing key stops Vault without overwriting anything. A login the key can't open shows Can't be opened and can still be deleted.
Where the key lives
| Where Niko runs | Key |
|---|---|
| Local desktop assistant | Generated by the app, protected by the system's safe storage |
| From source on macOS | The macOS Keychain, or NIKO_VAULT_KEY if you set it |
| From source on Linux | A private file at NIKO_DATA_ROOT/vault/master-key, or NIKO_VAULT_KEY if you set it |
| Self-hosted server | NIKO_VAULT_KEY in the server's private environment file |
A connected desktop client uses the server's Vault and key. Its operating system protects only the client's saved server token.
Where this is enforced
Section titled “Where this is enforced”src/server/vault-access.ts (permission and activity) · src/server/authenticator.ts (authenticator codes) · src/server/vault-use.ts (one use) · src/server/vault-crypto.ts (encryption) · src/providers/agent-browser (origin checks and private entry)