~/talk

Hacking OAuth Pitfalls and Remedies

Talkat Devnexus 2021 · 2021-02-17..02-18· [security]
links:none on file
slides:none on file

Shows that the implicit flow detector browser extension can grab access tokens from SPAs and that leaked tokens let anyone call Google APIs to retrieve email, full name and even gender, proving real data exposure. Demonstrates an authorization code injection using a malicious “pretty kitty” browser extension plus a Spring Boot attack server to trick a legitimate app into exchanging a stolen code. Emphasizes the one‑time code window (30 seconds) and presents the working mitigation: PKCE implemented by a pixie CLI (Node.js) that exchanges a code verifier for tokens, preventing these attacks.

AI-written summary · about

  1. 0:00Introduction and OAuth overview
  2. 7:07Implicit flow problems
  3. 13:29Authorization code flow
  4. 17:01Authorization code injection
  5. 24:12PKCE for public clients
  6. 28:09PKCE in action demo
  7. 32:02Resources and conclusion
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.