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
- Attacker: Sends a forged
Originheader - Server: Trusts the claimed origin
- Attacker: Forged origin passes as approved
- Attacker: Rebinds DNS behind an allowed name
- Server: Treats it as the real app
- Attacker: Rides the trusted name in
- Attacker: Calls from a look-alike origin
- Server: Reflects the origin in CORS headers
- Attacker: Reads the response cross-origin
- Attacker: Loads the widget on its own domain
- Attacker: or from a look-alike subdomain
- Site: Matches a wildcard, not the exact origin
- Site: Serves the login flow to it
- Attacker: Runs the login from its own script
- Attacker: Sends a forged Host header (names another tenant)
- Attacker: or points a vanity domain at it
- Server: Reads the tenant from the hostname
- Server: Loads the victim tenant's context
- Attacker: Acts inside someone else's tenant
- Attacker: Serves content from staging.trusted.com
- Site: Wildcard allowlist trusts every '*.trusted.com'
- Attacker: Runs the widget from staging
- Attacker: Seizes an abandoned subdomain (dangling DNS)
- Site: Still trusts the dead subdomain
- Attacker: Steals credentials from the seized origin
- Attacker: Opens a WebSocket from a malicious page
- Attacker: Lets the browser attach your cookies
- Server: Skips the Origin check and accepts
- Attacker: Rides your session from another origin
- You: ❌ They are treated as an origin they do not own.
With Passkey Accounts™
- Attacker: Sends a forged
Originheader - PA™: The passkey signs the origin
- Attacker: Rebinds DNS behind an allowed name
- PA™: A rebound host matches nothing
- Attacker: Calls from a look-alike origin
- PA™: It only reaches itself
- Attacker: Loads the widget on its own domain
- PA™: Origin is verified at connect
- PA™: It reaches its own tenant
- Attacker: Sends a forged Host header (names another tenant)
- PA™: Tenant comes from the origin
- PA™: A forged host names nothing
- Attacker: Serves content from staging.trusted.com
- PA™: Staging is its own tenant
- Attacker: Seizes an abandoned subdomain (dangling DNS)
- PA™: Your host is never called
- Attacker: Opens a WebSocket from a malicious page
- PA™: It becomes its own tenant
- PA™: No ambient cookie grants authority
- You: ✅ Every origin reaches its own tenant and no other.
Watch it play out in the threat matrix
Developed by Justin Sargent (opens in a new tab) and published through Soup or Cereal, LLC. Privacy policy · Terms.