~/talk

Everything you need to know about client-side malicious code execution

Talkat JSFoo 2018 · on Saturday, 2018-10-27· [security, web-platform]
slides:none on file

Shows that DOM XSS is now the most common XSS in modern apps, demonstrates the hands‑on lab DomGoat for finding DOM sources and sinks, and claims practical fixes: CSP with script‑src 'self' plus nonces/hashes, outbound CSP limits, encoding by context, sandboxing untrusted libraries in iframes and using Subresource Integrity. Gives concrete examples (Twitter localStorage misuse, SVG/third‑party script incidents), explains attack vectors and tradeoffs, and recommends starting with CSP then fixing DOM APIs.

AI-written summary · about

  1. 0:00Start
  2. 4:15Client-side Code Execution
  3. 4:46Attacker-controlled JavaScript Evaluation
  4. 5:27Attacker-controlled HTML Evaluation
  5. 8:08Attacker-controlled CSS Evaluation
  6. 9:15Server XSS
  7. 10:48DOM XSS is a growing, prevalent problem
  8. 13:14Types of Attacker Controlled Data
  9. 17:19We are an app-only company. No you are not!!!
  10. 20:35Types of Stores
  11. 21:04Client XSS - Indirect On Twitter
  12. 23:50SVG with Embedded JS
  13. 28:28Content Security Policy -Blocking Scripts
  14. 31:44But what if need to load script dynamically?
  15. 32:52Things might get out of hand sometimes!
  16. 33:23Limit Damage in case of Code Execution
  17. 36:48Context-Aware Output Encoding
  18. 39:08Malicious or vulnerable libraries
  19. 41:23Untrusted SVG files
~/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.