Fill-only secrets
Passwords, hidden fields and card numbers can only be typed into a field. TOTP seeds and private keys are never typed anywhere. No CLI command, MCP tool or library call returns any of them.
blindfill connects your password manager, such as Bitwarden, to the browser and types the credential straight into the login field. The agent picks the account; the password never enters the model's context.
Open source under MIT. Alpha: not yet independently reviewed or published to npm.
$ blindfill fill --item <id> --url https://example.com/login --submit
# item bound to example.com · observed origin: example.com · match
{"ok": true, "url": "https://example.com/home"}
$ blindfill probe
refused: session is locked after a fill (no page text, DOM or screenshots)
$ blindfill fill --item <id> --url https://examp1e.com/login
refused: origin does not match the item. No secret was read.
The agent names an account and a page. blindfill does the rest and reports only the outcome.
It can't choose where the secret goes. The target comes from the item's own URIs.
The origin the browser reports must match the item. Lookalike domains and cross-origin iframes are refused before any secret is read.
The form is submitted at most once. Afterwards page text, DOM and screenshots are refused, and all output is scrubbed.
blindfill runs on your machine and reads from your password manager's own CLI. Call it as a CLI, an MCP server over stdio, or a TypeScript library on your own Playwright page.
Passwords, hidden fields and card numbers can only be typed into a field. TOTP seeds and private keys are never typed anywhere. No CLI command, MCP tool or library call returns any of them.
The vault item and the observed origin decide where a secret is typed, not the agent. A page can't redirect it.
Once a secret is filled, page text, DOM and screenshots are refused, and every output is scrubbed.
Ambiguous fields, origin mismatches and unknown outcomes are reported, never retried. Honeypot fields are skipped.
| Class | Examples | Read | Fill |
|---|---|---|---|
| Secret | Password, hidden custom fields, card number and CVV | Never | Yes |
| Key | TOTP seed, SSH private keys, passkey private keys | Never | Never (a passkey only signs) |
| Ephemeral | The current TOTP code | Yes | Yes |
| Readable | Username, item name, URIs, text fields | Yes | Yes |
| Notes | Free-form notes, which may hold secrets | Off by default; opt in per item | No |
The class comes from the field type in your vault. Unknown data is treated as Secret. A canary leak test searches every output and state file for the password. Read SECURITY.md
How each approach typically handles the password. Products vary, so check the one you use.
| Approach | Password enters the model's context | Who decides where it's typed | Where it runs |
|---|---|---|---|
| blindfill | Not by design: secret values are fill-only | The vault item, checked against the browser's origin | Your machine, with your vault CLI |
| Password in the prompt | Yes | The model | Wherever the model runs |
| Password manager CLI given to the agent | Usually: the CLI prints plaintext to its caller | The model | Your machine |
| Browser extension autofill | Usually not at fill time; depends on what the agent reads later | The extension's site matching | Your browser |
| Cloud browser service | Depends on the vendor | Varies | The vendor's infrastructure |
The post-fill lock covers blindfill's own interfaces only. Another tool attached to the same browser can still read the page.
Status of main at 0.1.0-alpha.0, from the
README,
browsers.md
and the test log
TESTED.md
(every run, including failures).
| Component | Status | Details |
|---|---|---|
| Password managers | ||
| Bitwarden / Vaultwarden | Mock-tested + one live run |
bw, tested with a mock CLI and fixtures, plus one end-to-end run on a live
vault on 2026-11-27 (throw-away items, local fake pages). Not yet used on real websites.
|
| 1Password, rbw, pass, gopass, KeePassXC, Secret Service | Unverified | Contract tests on recorded fixtures only. Never run on a real vault. |
| Browsers and platforms | ||
| Chromium | Supported, tested |
Playwright's bundled build, any Chromium build via --executable, or loopback
CDP.
|
| Firefox / Camoufox | Opt-in tests | Through a loopback Playwright server. Tested against Camoufox 158.0.1-beta.41 and 159.0-beta.43; a long-running instance is untested. |
| Ego Lite | Separate instance only | A separately launched instance with an empty profile. Attaching to the running app is unsupported. |
| Passkeys | Limited | Web sign-in on Chromium, tested against a fake relying party. No counter write-back, no registration. |
| Android 14+ | Experimental |
Companion APK: autofill for passwords, credential provider for passkeys (signed on the
host). Release-signed; install with
blindfill android install --serial <s>, and the host checks the
installed APK's signer before every fill. Tested on one phone with a fake app; on
2026-11-27 with real apps on that phone: Threads sign-in succeeded, Instagram partial
(login result not checked).
|
| WebKit / Safari | Not supported | |
| Distribution | ||
| npm | Not published |
The latest tag is an empty placeholder. Build from source.
|
blindfill protects against the model and its logs. It does not protect against:
Not through blindfill: no command, tool or function returns a Secret-class value. Once typed, the password is in the page's DOM, where another browser tool could read it. If that matters, give the agent blindfill instead of an unrestricted browser tool for the same session.
Yes, the current code is readable and fillable like text. The TOTP seed is never returned. The code's safety rests on origin binding and its short lifetime.
Through the blindfill CLI, the MCP server over stdio (blindfill mcp),
or the TypeScript library with your own Playwright page.
It's alpha software with no independent review. Start with throwaway or low-stakes accounts and read the threat model first.
blindfill isn't on npm yet, so don't run npx blindfill. You need Node 20 or newer
and, for the Bitwarden backend, the Bitwarden CLI (bw).
git clone https://github.com/mics8128/blindfill && cd blindfill
npm ci && npm run build && npx playwright-core install chromium
export BW_SESSION="$(bw unlock --raw)" # env only
mkdir -p ~/.config/blindfill && echo '{"backend":"bw"}' > ~/.config/blindfill/config.json
node dist/cli.js session start --headless
node dist/cli.js fill --item <id> --url https://example.com/login --submit