~/talk

Critical Security Mistakes in Frontend Applications

Talkat UtahJS Conf 2023 · on Friday, 2023-09-15· [security, frontend-architecture]
slides:none on file

Story recounts two real incidents where attackers first replaced product images and later leaked the full database, then gives concrete defenses: run npm audit (and include it in CI/CD), enable Dependabot or Snyk, inspect GitHub issues before adding packages, and expect transitive deps to introduce risk; ban innerHTML/dangerouslySetInnerHTML and use sanitize-html plus server-side validation to stop XSS; stop logging reset tokens to observability tools like Datadog/Sentry/GA and use hashes instead of query params for sensitive links; add five-step threat modeling to every story.

AI-written summary · about

  1. 0:00Introduction and speaker background
  2. 3:59Second order thinking in security
  3. 6:49Backdoor products and libraries risks
  4. 9:18Cross-site scripting vulnerabilities
  5. 12:07Security logging and data leakage
  6. 14:37Fishing and spoofing attacks
  7. 18:29Thread modeling for prevention
~/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.