~/talk

Writing Secure JavaScript

Talkat JS Kongress 2016 · 2016-11-28..11-29· [security, nodejs]
slides:none on file

Live exploits show NPM supply-chain failures and concrete bugs: the st package yields directory traversal via URL-encoding, marked allows HTML entity evasion causing XSS despite sanitizers, ms suffers catastrophic backtracking regex DoS (60k‑char payloads freeze the event loop), and mongoose/new Buffer usage enables Buffer allocations leaking memory that expose keys and source. The demo uses a scanner called snake to find vulnerable deps and shows fixes like caps, proper type checks, and targeted sanitization.

AI-written summary · about

  1. 0:00Start
  2. 0:26About Me
  3. 13:37Catastrophic Backtracking
  4. 21:07Type Manipulation
  5. 22:15NoSQL Injection
  6. 23:31JavaScript Takeaways
  7. 23:55npm packages takeaway Find vulnerabilities
~/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.