~/talk

Hostile JavaScript: Attacking and Defending the Browser

Talkat NDC London 2023 · 2023-01-23..01-27· [javascript, security]
slides:none on file

Shows concrete browser attacks and defenses: demonstrates a geocities demo that loads third‑party scripts, implements monkey patching to override fetch and clone outgoing data, runs a DOM‑level keylogger, and uses remote.js / BeEF‑style tooling to hijack sessions; cites Magecart’s ~70,000 compromised stores and supply‑chain/typo‑squat NPM incidents. Explains vectors (tag managers, XSS, compromised CDN/npm) and practical mitigations — CSP (under 14% adoption), SRI limits, and a proposed lightweight monitoring agent that enumerates running scripts, sources, and sensitive outgoing fields.

AI-written summary · about

  1. 0:00Hostile JavaScript intro
  2. 1:06Attack vectors for JS
  3. 4:37JS website attacks
  4. 6:46Keylogger demo in JS
  5. 9:40Monkey patching data theft
  6. 12:36Magecart browser exploits
  7. 15:49Traditional vs supply chain attacks
  8. 19:42XSS as a service
  9. 27:01Defending browser from JS
  10. 33:46JS security monitoring
  11. 39:02Conclusion & Q&A
~/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.