Every threat

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

  1. Attacker: Poisons a first-party dependency
  2. Site: Loads it with app-origin privileges
  3. Script: Reads live session state
  4. Site: In-memory vitals are exfiltrated
  5. Extension: Ships an update that asks for broad access
  6. Extension: Reads this page and every other tab
  7. Site: Hands script a replayable token
  8. Extension: Exports the session to a server
  9. You: ❌ Whatever gets into the origin reads everything.

With Passkey Accounts™

  1. Attacker: Poisons a first-party dependency
  2. Site: Loads it with app-origin privileges
  3. Script: Reads live session state
  4. PA™: The key cannot be exported
  5. Extension: Ships an update that asks for broad access
  6. Extension: Reads this page and every other tab
  7. PA™: No page-readable key to export
  8. PA™: Other tabs export no key
  9. You: ✅ Every route reads the same worthless state.

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