Your AI agent signs in. It never sees the password.

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

$ 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.
Illustrative output based on the README examples.

The password goes from vault to form, not through the model

The agent names an account and a page. blindfill does the rest and reports only the outcome.

How a blindfill login flows The agent asks blindfill to fill an item on a URL. blindfill reads the secret from the vault, compares the vault item's address with the origin the browser reports, and types the secret into the page field. The agent only receives the outcome. Agent / LLM sees outcomes only blindfill checks origin scrubs output, locks Browser page real login form Your vault fill(item, url) ok / url only secret, typed in observed origin secret read after check ✕ no path from vault or field back to the model How a blindfill login flows The agent asks blindfill to fill an item on a URL. blindfill reads the secret from the vault, checks the origin and types the secret into the page field. The agent only receives the outcome. Agent / LLM sees outcomes only fill(item, url) ok / url only blindfill checks origin scrubs output, locks read after check typed into the field Your vault Browser page ✕ no path from vault or field back to the model
Diagram of the blindfill flow
  1. The agent names an item and a URL

    It can't choose where the secret goes. The target comes from the item's own URIs.

  2. blindfill verifies the site

    The origin the browser reports must match the item. Lookalike domains and cross-origin iframes are refused before any secret is read.

  3. The form is filled, then the session locks

    The form is submitted at most once. Afterwards page text, DOM and screenshots are refused, and all output is scrubbed.

Secrets stay out of the model's context

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.

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.

Bound to the right site

The vault item and the observed origin decide where a secret is typed, not the agent. A page can't redirect it.

Locked after fill

Once a secret is filled, page text, DOM and screenshots are refused, and every output is scrubbed.

Stops instead of guessing

Ambiguous fields, origin mismatches and unknown outcomes are reported, never retried. Honeypot fields are skipped.

What the agent can read

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

Compared with common approaches

How each approach typically handles the password. Products vary, so check the one you use.

Comparison of approaches to giving an agent a login
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.

Password managers and browsers

Status of main at 0.1.0-alpha.0, from the README, browsers.md and the test log TESTED.md (every run, including failures).

Support status
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.

Know the limits before you rely on it

Not built yet

  • Android: WebView logins, saving new logins.
  • Passkey registration and counter write-back.
  • WebKit / Safari.
  • Shadow DOM, closed iframes and canvas inputs. blindfill stops when it meets them.
  • A sign-in to a real website with any backend (the one live-vault run used local fake pages).
  • An npm release and an independent security review.

Outside the threat model

blindfill protects against the model and its logs. It does not protect against:

  • A malicious or compromised page. Scripts on a page you bound the item to can read the typed password.
  • A compromised browser or machine that can read process memory, the profile or your vault session.
  • Another tool attached to the same browser, which can read a filled field.
  • A page that transforms the secret. Scrubbing is best effort.

Read the full threat model in SECURITY.md

Questions

Does the model ever see my password?

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.

Can it read my one-time codes?

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.

How does my agent call it?

Through the blindfill CLI, the MCP server over stdio (blindfill mcp), or the TypeScript library with your own Playwright page.

Is it safe for my real accounts?

It's alpha software with no independent review. Start with throwaway or low-stakes accounts and read the threat model first.

Build from source

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
Read the README