Blog

Engineering and security notes from the team building BotPassword: how agents use credentials safely, and the decisions behind the design.

RSS feed

passkeys

Why your passkeys belong to botpassword.com, not a subdomain

BotPassword uses botpassword.com as its WebAuthn RP ID, which makes the marketing site's origin security-critical. Here is how that shaped the public site.

Read the post
  1. architecture

    One SQLite database per account: Durable Objects as the vault store

    Why BotPassword stores each account and each organization in its own SQLite-backed Cloudflare Durable Object, and the trade-offs recorded in ADR 0002.

  2. cryptography

    Hybrid post-quantum sharing: ML-KEM and X25519 in every envelope

    Why BotPassword wraps every shared key with a hybrid ML-KEM-768 and X25519 scheme, with no classical-only fallback, and what that costs.

  3. architecture

    Why a local daemon holds the keys on your desktop

    BotPassword is built around one per-user process that holds keys and enforces policy, with separate human and agent endpoints. Here is the reasoning from ADR 0006.

  4. rotation

    Agent-driven key rotation without losing the new key

    How BotPassword lets an agent rotate an API key through a durable state machine, so a crash or timeout never strands you without a working credential.

  5. architecture

    Intents, not values: how an agent can use a credential without being handed it

    Why BotPassword gives agents a small set of outcome-level intents instead of a way to read secrets, and what that means for sign-in, CLIs and API calls.

  6. ai agents

    Why AI agents should never see your API keys

    An agent that holds a raw API key can leak it through logs, prompts and injected instructions. Here is the case for keeping values out of the agent's context entirely.