~/talk

Dangerous Reactivity: Why AI Output Is the New XSS

Talkat NDC Copenhagen 2026 · 2026-06-01..06-04· [security, javascript]
slides:none on file

LLM output becomes an untrusted input vector that leads to XSS, SQL injection, RCE and phishing via Markdown; OWASP lists this as OWASP LLM05. Real incidents include ChatGPT returning executable SVGs (active until ~Mar–Apr 2025) and raw SQL execution in LangChain (2023). Practical mitigations: return structured JSON, use parameterized queries, sandbox code execution, enforce least privilege and logging, and sanitize rendered HTML with DOMPurify or React Markdown + rehype-sanitize. These measures stop LLM-generated script tags, SQL DROP statements and exec-based RCE.

AI-written summary · about

  1. 0:00Introduction to XSS
  2. 4:09AI as the new attack vector
  3. 11:04Preventing client-side XSS
  4. 12:56Real-world XSS examples
  5. 14:11SQL injection via LLMs
  6. 16:38Remote code execution risks
  7. 18:50Enforcing least privilege
  8. 20:40Markdown injection risks
  9. 23:30Building a defense strategy
~/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.