Every threat

CORS Misconfiguration (origin, preflight, cross-origin reads)

Infrastructure / Transport · Severe priority

An attacker's page reads private API responses the server shares with any origin.

How Passkey Accounts™ addresses this

Passkey Accounts™ has no cookies and no exportable keys

A cross-origin fetch carries nothing and the keys cannot be exported

Example scenario

A reflected or wildcard origin policy combines with credentials, or a weak widget origin check trusts a look-alike host, letting attacker JavaScript read protected responses.

Without it

  1. Attacker: Fetches the API with credentials from a foreign origin
  2. Site: Reflects the attacker's Origin into the allow header
  3. Site: Also allows credentials
  4. Attacker: Reads the credentialed response from its script
  5. Site: Hands your private data to attacker code
  6. Attacker: Steals the protected response cross-origin
  7. Attacker: Loads the widget on a look-alike host
  8. Site: Trusts the frame self-declared origin
  9. Attacker: Reads the victim login state
  10. You: ❌ Attacker JavaScript reads the private response.

With Passkey Accounts™

  1. Attacker: Fetches the API with credentials from a foreign origin
  2. PA™: No cookies exist
  3. Attacker: Reads the credentialed response from its script
  4. PA™: The response holds no session
  5. Attacker: Loads the widget on a look-alike host
  6. PA™: Your host is never called
  7. PA™: The keys are non-extractable
  8. You: ✅ No credentials to reflect, no keys to export.

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