~/talk

Introduction to Web Security

Talkat JSUnconf 2018 · on Saturday, 2018-04-21· [security, web-platform]
slides:none on file

A demo site uses Twilio and JWT auth and demonstrates concrete failures: JWT "none" exploit lets anyone flip a role when algs aren’t whitelisted; marked data‑URI XSS shows encoded entities that bypass sanitizers; service‑worker via JSONP callback installs a network‑level replaceer when callbacks aren’t validated; a strict CSP report‑uri stops those injected scripts. Fixes shown include HTTP‑Only cookies, _csrf tokens, rel="noopener noreferrer", whitelisted JWT algs, helmet headers, and keeping deps current with greenkeeper NSP and sneak.

AI-written summary · about

  1. 0:00Start
  2. 27:06USE SIGNED HttpOnly COOKIES
  3. 27:22USE CSRF TOKENS
  4. 27:33BE AWARE OF ENCODING
  5. 27:44BE CAREFUL WITH JSONP
  6. 27:55USE CSP AS A SAFETY NET
~/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.