~/talk

do you care about these JS security issues?

Talkat CityJS London 2023 · 2023-04-21..04-23· [security, javascript]
links:none on file
slides:none on file

Shows 10 concrete failure modes: insecure comparisons that let user keys like "constructor" bypass checks (use hasOwnProperty), stack traces leaking connection strings if NODE_ENV != production and unhandled rejections are not caught, logging injection via newline/formatting in user IDs, and a single regex that drives CPU to 99% on one request. Covers npm risks like typosquatted packages (e.g. expresss), postinstall scripts (recommend `npm config set ignore-scripts true`), npm audit in CI, Helmet, removing X-Powered-By and setting case‑sensitive routing to prevent easy bypasses.

AI-written summary · about

  1. 0:00Introduction and speaker intro
  2. 0:48Insecure comparisons in JavaScript
  3. 3:58Sensitive data in stack traces
  4. 6:04Logging injection risks
  5. 9:01Cross-site scripting basics
  6. 13:24Malicious npm packages
  7. 19:53Node modules depth vulnerabilities
  8. 21:00Auditing npm packages for security
  9. 22:49ReDoS attack prevention
  10. 24:21CSRF vulnerability explained
  11. 27:15Case-sensitive routing bypass
  12. 29:25Exposing framework headers risk
  13. 30:08Security tools and libraries
  14. 31:16Maintaining updated dependencies
  15. 32:19Q&A and contact information
~/search
type to search 8,222 conferences, 162,397 speakers and 219,688 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
← →
on a talk: 5 seconds back / forward
0–9
on a talk: jump to 0%–90% of the recording
?
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.