Every threat

Origin and Tenant Spoofing

Miscellaneous · Elevated priority

An attacker gets treated as an origin or tenant they do not control.

How Passkey Accounts™ addresses this

Passkey Accounts™ checks the origin inside every passkey signature

A forged origin cannot sign a passkey

Example scenario

A forged Host or forwarded header passes a weak allowlist, a broad allowlist trusts a staging host, a payload or client key names another tenant, a forgotten subdomain still counts as you, or a foreign page opens a socket straight to the service.

Without it

  1. Attacker: Sends a forged Origin header
  2. Server: Trusts the claimed origin
  3. Attacker: Forged origin passes as approved
  4. Attacker: Rebinds DNS behind an allowed name
  5. Server: Treats it as the real app
  6. Attacker: Rides the trusted name in
  7. Attacker: Calls from a look-alike origin
  8. Server: Reflects the origin in CORS headers
  9. Attacker: Reads the response cross-origin
  10. Attacker: Loads the widget on its own domain
  11. Attacker: or from a look-alike subdomain
  12. Site: Matches a wildcard, not the exact origin
  13. Site: Serves the login flow to it
  14. Attacker: Runs the login from its own script
  15. Attacker: Sends a forged Host header (names another tenant)
  16. Attacker: or points a vanity domain at it
  17. Server: Reads the tenant from the hostname
  18. Server: Loads the victim tenant's context
  19. Attacker: Acts inside someone else's tenant
  20. Attacker: Serves content from staging.trusted.com
  21. Site: Wildcard allowlist trusts every '*.trusted.com'
  22. Attacker: Runs the widget from staging
  23. Attacker: Seizes an abandoned subdomain (dangling DNS)
  24. Site: Still trusts the dead subdomain
  25. Attacker: Steals credentials from the seized origin
  26. Attacker: Opens a WebSocket from a malicious page
  27. Attacker: Lets the browser attach your cookies
  28. Server: Skips the Origin check and accepts
  29. Attacker: Rides your session from another origin
  30. You: ❌ They are treated as an origin they do not own.

With Passkey Accounts™

  1. Attacker: Sends a forged Origin header
  2. PA™: The passkey signs the origin
  3. Attacker: Rebinds DNS behind an allowed name
  4. PA™: A rebound host matches nothing
  5. Attacker: Calls from a look-alike origin
  6. PA™: It only reaches itself
  7. Attacker: Loads the widget on its own domain
  8. PA™: Origin is verified at connect
  9. PA™: It reaches its own tenant
  10. Attacker: Sends a forged Host header (names another tenant)
  11. PA™: Tenant comes from the origin
  12. PA™: A forged host names nothing
  13. Attacker: Serves content from staging.trusted.com
  14. PA™: Staging is its own tenant
  15. Attacker: Seizes an abandoned subdomain (dangling DNS)
  16. PA™: Your host is never called
  17. Attacker: Opens a WebSocket from a malicious page
  18. PA™: It becomes its own tenant
  19. PA™: No ambient cookie grants authority
  20. You: ✅ Every origin reaches its own tenant and no other.

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