Every threat

Widget Trust Boundary (claimed identity and authority)

Widget / Host · Elevated priority

An attacker forges the user and role values the host passes in.

How Passkey Accounts™ addresses this

Passkey Accounts™ takes no identity on a host's word

A claim from either side is not authority

Example scenario

The host supplies a forged user, tenant, or role value, a client returns a forged callback result, or a visitor asks for a session by naming an account that just signed in. Each hopes a claim will be taken as truth.

Without it

  1. Attacker: Sets the widget's user to your id
  2. Host: Passes the host's user into the session
  3. Attacker: Gets served your account
  4. Attacker: Edits the role to 'admin'
  5. Host: Honors the host's role as authority
  6. Attacker: Gains admin it never earned
  7. Attacker: Edits the callback to name a privileged user
  8. Host: Trusts the client-provided identity
  9. Attacker: Lands a session they never earned
  10. Attacker: Asks the host for a session
  11. Attacker: Naming an account that just signed in
  12. Host: Hands the session to the asker
  13. Attacker: Reads an account that is not theirs
  14. You: ❌ A claim is taken for an identity.

With Passkey Accounts™

  1. Attacker: Sets the widget's user to your id
  2. PA™: Identity comes from the passkey
  3. Attacker: Edits the role to 'admin'
  4. PA™: No host role grants authority
  5. Attacker: Edits the callback to name a privileged user
  6. PA™: Authority rides a server-signed proof
  7. PA™: The forged callback lacks signature
  8. Attacker: Asks the host for a session
  9. PA™: Auth names the exact browser
  10. PA™: The attacker names no browser
  11. You: ✅ Identity comes from the passkey, not from a claim.

Developed by Justin Sargent (opens in a new tab) and published through Soup or Cereal, LLC. Privacy policy · Terms.