~/talk

Micro Frontends and Security

Talkat DevDays Europe 2024 · 2024-05-20..05-24· [security, frontend-architecture]
slides:none on file

Explains when micro frontends actually break security and gives concrete fixes: avoid leaking powerful session cookies over bearer tokens by using browser cookies plus a gateway that exchanges them for backend tokens; protect injected assets with subresource integrity (sha384) served from a discovery feed; sandbox server-side modules with Node.js VM sandbox and custom require/timeouts; enforce and report violations with CSP report-only and correct CORS headers; notes Webpack Module Federation needs a discovery + integrity step to be safe.

AI-written summary · about

  1. 0:00Micro frontends security intro
  2. 1:30Speaker intro
  3. 3:39Why micro frontends need security
  4. 7:29Distributed code risks
  5. 9:19OWASP threats for micro frontends
  6. 11:48Authentication flaws
  7. 19:22Session cookies mitigation
  8. 21:52Code integrity checks
  9. 26:08Injection challenges
  10. 27:51Server composition risks
  11. 29:15Sandboxing with Node.js VM
  12. 32:46CSP for micro frontends
  13. 36:16CORS and security headers
  14. 38:01Q&A: Security mistakes
  15. 41:12Q&A: Social engineering risks
~/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.