~/talk

Security Risk: Single-Page Applications.

links:none on file
slides:none on file

Single-page apps carry concrete risks and concrete fixes: XSS is the top client issue, fixed by framework encoding plus sanitizers (use DOMPurify for React/Vue; Angular already encodes and sanitizes), and DOM-based XSS is blocked with Trusted Types enforced via CSP require-trusted-types-for 'script' (polyfill for unsupported browsers). CSRF defenses include the double submit cookie or switching to authorization code with PKCE / a backend‑for‑frontend to avoid implicit flow. Demoed innerHTML blocked then sanitized with DOMPurify; use npm audit, Sentry and CSP/reporting for monitoring.

AI-written summary · about

  1. 0:00Introduction to speaker
  2. 1:07What are SPAs
  3. 3:19OWASP Top 10 for SPAs
  4. 7:38Broken access control risks
  5. 13:14Authorization failures
  6. 14:00Cross-site scripting explained
  7. 18:39DOM-based XSS risks
  8. 20:03Defending against XSS
  9. 24:01Trusted Types demo
  10. 26:28Angular security features
  11. 32:50React and Vue security
  12. 35:02Framework security comparison
  13. 37:35Vulnerable dependencies
  14. 38:20OAuth authentication flaws
  15. 40:32Logging and monitoring gaps
  16. 42:01Summary and best practices
~/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.