~/talk

Real World JavaScript Security

Talkat Devoxx Belgium 2019 · 2019-11-04..11-08· [javascript, security]
links:none on file
slides:none on file

Real-world examples show concrete failures and fixes: an IoT Express app using cookie-parser accepts a cookie named constructor and bypasses authentication, a vulnerable merge-recursive deep merge enables prototype pollution via deep merge to set a global hasAnswer flag and flip logic, and lax request handling allows mass assignment to set isAdmin true in a Mongoose-style model. Demonstrations run and exploit code successfully; remediation includes hasOwnProperty checks, shallow copies/object spread, npm audit/npm audit fix and TrustedTypes/CSP.

AI-written summary · about

  1. 0:00Start
  2. 0:12Introduction
  3. 6:18Known Bugs
  4. 12:40Common Mistakes
  5. 22:30Database Model
  6. 24:28Authentication Model
  7. 27:18Mass Assignment Attack
  8. 29:42Third-Party Components
  9. 30:10Npm Audit
  10. 30:54Npm Audit Fix
  11. 31:21Final Thoughts
  12. 31:31Code Reviews
  13. 31:54Measure and Track Your Code Quality in Security
  14. 33:45Breaking Your Ci Builds
~/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.