~/talk

Security-First Web Apps

Talkat JSHeroes 2025 · 2025-05-29..05-30· [security, developer-experience]
slides:none on file

Argues that doing security up front saves work later and demonstrates concrete measures: set HSTS, X-Content-Type-Options and Permissions-Policy headers; run a CSP as an HTTP header with nonces and a report-only rollout to avoid breaking users; prefer token CSRF for strong protection though referer checks work for most; lock npm versions after the left-pad 11‑line incident and audit postinstall scripts (pnpm blocks them by default); ships a middleware called shield wall for Solid Start and Tense Stack Start that applies these headers and CSRF checks.

AI-written summary · about

  1. 0:00Security-first apps intro
  2. 1:23Security needs redundancy
  3. 3:52HTTP security headers
  4. 7:28HSTS preload setup
  5. 8:31Content Security Policy deep dive
  6. 12:06CSP via HTTP header
  7. 13:53Nonces for XSS and MITM
  8. 15:20CSRF protection strategies
  9. 18:12Shield Wall middleware
  10. 24:18Supply chain attacks risks
  11. 26:47Preventing supply chain attacks
  12. 28:54GitHub Actions hardening
  13. 30:17Security best practices recap
~/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.