Same-Origin Script Data Exfiltration (injection and extensions)
Sessions · Critical priority
An attacker gets script running as trusted first-party code, then reads what the page can see.
How Passkey Accounts™ addresses this
Passkey Accounts™ keeps every private key unexportable
Reading every tab still finds nothing that replays
Example scenario
Script reaches the trusted origin by any of several routes: injected into a comment or profile field, a poisoned dependency or build artifact, an installed userscript, a bookmarklet, code pasted into the console, or an extension granted broad access that reads other tabs too. It then reads whatever the page can see.
Without it: Compromised host
- Attacker: Poisons a first-party dependency
- Site: Loads it with app-origin privileges
- Script: Reads live session state
- Site: In-memory vitals are exfiltrated
- Extension: Ships an update that asks for broad access
- Extension: Reads this page and every other tab
- Site: Hands script a replayable token
- Extension: Exports the session to a server
- You: ❌ Whatever gets into the origin reads everything.
With Passkey Accounts™
- Attacker: Poisons a first-party dependency
- Site: Loads it with app-origin privileges
- Script: Reads live session state
- PA™: The key cannot be exported
- Extension: Ships an update that asks for broad access
- Extension: Reads this page and every other tab
- PA™: No page-readable key to export
- PA™: Other tabs export no key
- You: ✅ Every route reads the same worthless state.
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.