API Key Compromise (scope abuse)
Miscellaneous · Severe priority
An attacker replays a leaked API key to act as the application.
How Passkey Accounts™ addresses this
Passkey Accounts™ puts no API key in the page
No API key to copy
Example scenario
A key leaks from client code, logs, CI, or a third-party tool, then authorizes requests from elsewhere.
Without it
- Attacker: Reads the page source for secrets
- Site: Ships the API key in client code
- Attacker: Copies the key (pk_live_a1b2c3...)
- Attacker: Replays the key from their server
- Site: Grants the key's full scope
- Attacker: Runs the API as the app
- You: ❌ The leaked key acts as the application.
With Passkey Accounts™
- Attacker: Reads the page source for secrets
- PA™: No key in page code
- Attacker: Replays whatever they captured
- PA™: Copied keys grant no login
- You: ✅ No key ships in the page to leak.
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.