Skip to main content
Glama

blindfill

Let AI agents sign in to websites without ever seeing the password.

Website: mics8128.github.io/blindfill

CI License: MIT Node >=20 Status: alpha MCP server

English · 繁體中文 · 简体中文 · 日本語 · 한국어

Let an AI agent sign in to websites without ever seeing the password. blindfill reads the credential from your password manager, checks it is bound to the page's origin, types it into the real form, and returns only structure and an outcome. Secret values are write-only (SecretHandle.into(sink)), scrubbed from output, and the session locks after a fill.

Status: alpha (0.1.0-alpha.0). Read SECURITY.md for the threat model and known gaps first.

Examples: the password never goes through the LLM

Output below is illustrative; field names may differ slightly.

  1. Sign in. The agent calls fill with an item id and a login URL. blindfill reads the password from bw, types it into the form and returns {"ok": true, "url": ".../home"}. The model sees only the outcome, never the password.

  2. Phishing and prompt injection. A lookalike page (examp1e.com instead of example.com) or a cross-origin iframe is refused before any secret is read. A malicious page cannot talk the agent into typing the password somewhere else.

  3. One-time codes. totp_code returns the current 6-digit code (it is readable and fillable, like text). The TOTP seed never leaves the backend.

  4. Locked after fill. After a fill, the session refuses page text, DOM and screenshots, so a page that echoes the password back cannot leak it to the model.

Related MCP server: PhantomAuth

Supported backends and browsers

Backend

Tier

Notes

Bitwarden / Vaultwarden (bw)

verified (mock CLI + fixtures)

Item JSON shape also checked by hand against a live Vaultwarden. blindfill end to end on a live vault: not yet.

1Password (op), rbw, pass, gopass, KeePassXC (keepassxc-cli), Secret Service (secret-tool)

blind-written, unverified

Pass the shared contract tests on fixtures only. Run blindfill backend selftest <id> and open a backend report.

Browser

Status

Chromium: Playwright bundled, any Chromium build (--executable), or loopback CDP

supported, tested

Firefox / Camoufox via a loopback Playwright server (--browser firefox-connect)

tested (opt-in suite) against Camoufox 158.0.1-beta.41 and 159.0-beta.43; a long-running instance untested

Ego Lite

only as a separate, empty-profile instance (--executable); attaching to the running app is unsupported

WebKit / Safari

not supported

Android (14+)

companion APK: autofill for passwords, credential provider for passkeys (signed on the host); release-signed, and the host checks the installed APK's signer before every fill; install with blindfill android install --serial <s> (android/README.md); tested with a fake app on one phone (Xperia 5 II, Android 17) and an emulator (Android 16)

Passkeys

web sign-in, Chromium only (tested against a fake relying party); no counter write-back, no registration

Browser providers and their contract: docs/browsers.md.

What works (verified by the test suite)

  • Web fill: origin binding from the vault item, cross-origin-iframe refusal, honeypot skipping, SPA waits, one-shot submit, post-fill lock.

  • Field rules and login profiles: exact selectors per site in the item (blindfill.rules) or a local profile, for forms heuristics cannot read. Rule selectors are plain CSS without value or state probes.

  • Page tools: page discover|diagnose|verify|list report structure and booleans, never values, and are refused while the session is locked.

  • Registration: item generate creates an item with a CSPRNG password that is never shown; register types it into a sign-up form (password and confirmation) on a bound origin.

  • Item admin: item list|status|rename|edit. Secret values, origins and blindfill.* fields change only at a terminal. There is no item reveal.

  • Human handoff: handoff pause|resume hands the browser to a person for a CAPTCHA, consent or MFA; agent actions are refused meanwhile, and the lock survives resume.

  • Interfaces: CLI, MCP server (stdio) and a library API (withPage(page, …)).

  • Leak test: fill, rules, profiles, page tools, registration, item admin and handoff run through the CLI and MCP with a canary password and a generated one; all output, errors, DEBUG=pw:api logs and state files are searched in raw, URL, Base64 and hex forms.

Not done

  • Android: saving new logins, WebView logins. Passkey counter write-back and registration. WebKit.

  • bw end to end against a live vault. The other six backends are blind-written and unverified.

  • Not published to npm (latest is an empty placeholder).

  • Moving from olliepm: docs/MIGRATING-FROM-OLLIEPM.md.

Try it

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 backend list
node dist/cli.js session start --headless
node dist/cli.js fill --item <id> --url https://example.com/login --submit --expect-url /home
node dist/cli.js mcp                           # MCP server on stdio, see examples/mcp-config.json

Develop

npm run lint && npm test && npm run build. Architecture: docs/ARCHITECTURE.md. Releasing (tag-triggered, npm Trusted Publishing): docs/RELEASING.md. MIT licensed.

Translations

Translation PRs are welcome: improvements to 繁體中文, 简体中文, 日本語 and 한국어, or new languages. The English README is the source of truth.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      A
      quality
      B
      maintenance
      Enables AI agents to look up stored logins by URL, name, or alias and use them without seeing the secrets, injecting authentication into HTTP requests, running commands with credentials in the environment and scrubbed output, and fetching 2FA codes, subject to per-credential policies and user approval.
      23
      MIT
    • A
      license
      Not graded
      quality
      B
      maintenance
      Enables AI agents to request passwords, API keys, passkeys, and other secrets from a person through one-time links encrypted in the browser, then store them in a local vault the agent can use without ever seeing them. Secrets can be referenced in commands and outputs are redacted, so agents can sign in or call APIs without exposing credentials in chat.
      MIT