Frame, Channel and Worker Forgery
Widget / Host · Severe priority
An attacker forges frame messages, or escapes a sandbox, to reach the parent page.
How Passkey Accounts™ addresses this
Passkey Accounts™ listens for no window messages and trusts no relay
No frame, broadcast or worker can grant a session
Example scenario
A loose match trusts trusted.com.evil.example, a forged frame message fakes a result, a shared page bus carries a command meant for another widget, a rogue tab claims leadership and broadcasts session updates, or a service worker replays a cached authenticated response.
Without it
- Attacker: Registers look-alike
trusted.com.evil.example - Site: Checks senders with a prefix match
- Attacker: Posts a forged message from it
- Site: Prefix matches, so it accepts
- Attacker: Runs a privileged widget action
- Attacker: Posts a message from an unrelated origin
- Site: Reads the payload without checking the sender
- Attacker: Injects a command the widget obeys
- Attacker: Broadcasts a forged postMessage to every widget
- Widget: Every widget reads the shared bus
- Attacker: The profile widget overwrites your email
- Attacker: Races a stale tab to claim leader
- Site: Sibling tabs apply its broadcasts unverified
- Attacker: Drives every tab into the attacker session
- Attacker: Registers a worker on the compromised origin
- Site: Routes every widget request through it
- Attacker: Serves a cached logged-in response
- Attacker: Rides the revived session
- You: ❌ A forged message passes as a result.
With Passkey Accounts™
- Attacker: Registers look-alike
trusted.com.evil.example - PA™: Nothing is listening
- Attacker: Posts a message from an unrelated origin
- PA™: No listener, no bypass
- Attacker: Broadcasts a forged postMessage to every widget
- PA™: Foreign messages never reach it
- PA™: No widget answers it
- Attacker: Races a stale tab to claim leader
- PA™: A broadcast grants no session
- PA™: Only the server moves sessions
- Attacker: Registers a worker on the compromised origin
- PA™: A worker relays bytes only
- PA™: A cached response is stale
- You: ✅ No frame, bus, tab or worker to fool.
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.