~/talk

Let Me Show You How React Applications Get Hacked in the Real-World

Talkat React Advanced 2021 · 2021-10-22..10-23· [security, react]
slides:none on file

A live demo builds a package‑profile site and uses the unmaintained npm module react-json-pretty (40k downloads) to render package.json showing that React’s default output encoding protects text but not attributes, so href values are not output-encoded by React and a javascript: link produces XSS. Naive fixes like lowercasing or replacing with # fail once attackers add control characters. npm audit misses the issue but Snyk test flags the vulnerable component.

AI-written summary · about

  1. 0:00Introduction to React security
  2. 3:27Secure by default explained
  3. 6:17Identifying security gaps
  4. 9:26Mitigation and pitfalls
  5. 14:47Supply chain vulnerabilities
  6. 19:44Final takeaways
~/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.