~/talk

Node.js Security: Breaking The Loop

Talkat JSHeroes 2017 · on Friday, 2017-06-09· [security, nodejs]
slides:none on file

Shows concrete exploits and concrete fixes: demonstrates the rimraf npm sabotage and the validator vs validator.js typo trap, uses NodeGoat to exploit XSS and a MongoDB NoSQL injection that logs in by sending operators, proves Helmet (CSP/STS/X-Frame) stops the XSS demo, reproduces a RegExp DoS that blocks the Node event loop, and runs sneak to find vulnerable transient dependencies and integrate checks into CI. Demos work end to end and include small, actionable fixes (casting, header middleware, safer libs).

AI-written summary · about

  1. 0:00Start
  2. 11:111. Strict-Transport-Security
  3. 37:21Regex Best Practices?
  4. 38:01Best Practice #3
~/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.