Security

Cortana sits between you and agents that can act on your behalf. Here is how it is built to deserve that seat.

Last updated November 22, 2026.

Accounts and sessions

  • Passkeys first. Sign in with a passkey (WebAuthn, user verification required), Google, GitHub, or an email and password.
  • Passwords are hashed with scrypt and never stored or logged in plain form. Repeated wrong passwords lock the account for a growing interval.
  • Sessions ride in an HttpOnly, Secure, SameSite cookie. Each person can be signed in on three devices. The household owner sees recent sign-ins, and any session can be ended from Settings.
  • Every state-changing request is checked for a same-site Origin, so another site cannot act with your cookie.

Secrets at rest

  • Tokens for connected accounts (Google) are encrypted with AES-256-GCM, each bound to the row it belongs to.
  • Session tokens, screen tokens, invite links and agent API keys are stored as hashes. A copy of the database does not contain a usable key.
  • Keys and tokens are shown to you once, at creation, and never again.

Household isolation

Every request is tied to one household by the credential that made it, never by an id in the request. All data is read and written through that household’s own context. Automated tests try to read one household from another and must fail.

Screens and the home network

  • A TV pairs with a six-character code that expires in minutes and works once. The code is entered by a signed-in member; the TV never sees a password.
  • The TV’s device token is handed over only to the network the code was shown on, and can be revoked from Settings at any time.
  • Screens must pair from the household’s home network, recorded at the first pairing. Phones work anywhere.

Agents and approvals

  • Each agent gets its own scoped key. By default a key can only report status, ask for approval and log cost. The optional read scope also lets it see open action items, including calendar and mail subjects. No key can read another agent’s key.
  • Approval answers come only from a signed-in member or a paired screen in the same household, and are delivered back to the agent that asked.
  • Keys are rate-limited and can be revoked instantly.

The web surface

  • HTTPS everywhere, with HSTS. A strict Content Security Policy: scripts load only from Cortana’s own origin, with no inline script.
  • Pages cannot be framed by other sites. Sign-in, pairing, beta codes and the public demo are rate-limited.
  • The server has no third-party runtime dependencies, which keeps the supply chain small.
  • The public demo is a separate sample household with no connected accounts. It resets every 15 minutes.

Your data

Export everything or delete the account from Settings. What is collected and who else touches it is in the privacy policy.

Report a problem

Found a vulnerability? DM @FitzYap on X with “security” in the first line. Please give a reasonable window to fix it before publishing, and do not access data that is not yours. Good-faith reports are welcome and will be credited if you like.