Message and Token Integrity
Miscellaneous · Critical priority
An attacker rewrites an unprotected value in transit and the server trusts it.
How Passkey Accounts™ addresses this
Passkey Accounts™ keeps signing authority server-side and verifies every message there
No client claim decides authority
Example scenario
A role, amount, or action value changes in transit, a JWT claim is edited and sent back as truth, or a signing secret shipped into the browser is exported to mint events.
Without it
- Attacker: Rewrites a cookie to isAdmin=true
- Site: Receives the modified cookie
- Site: Runs no integrity check
- Site: Trusts the changed value
- Attacker: Acts as an administrator
- Attacker: Decodes the JWT payload
- Attacker: Flips 'isAdmin' to true
- Site: Skips the signature check
- Attacker: Acts as an administrator
- Attacker: Reads the signing secret from memory
- Site: Ships the secret into page code
- Attacker: Signs a fake 'logged-in' event
- Site: Accepts any signed event
- You: ❌ Whatever the client says is taken as true.
With Passkey Accounts™
- Attacker: Rewrites a cookie to isAdmin=true
- PA™: A tampered value fails verification
- PA™: Forged claims carry no authority
- Attacker: Decodes the JWT payload
- PA™: No client claim decides authority
- PA™: Authority lives server-side
- Attacker: Reads the signing secret from memory
- PA™: No server secret lives client-side
- PA™: A forged event convinces nobody
- You: ✅ The server decides, and checks before it reads.
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.