~/talk

Trojan Source: Bad Characters Are Coming for Your Code

Talkat Voxxed Days Zürich 2022 · 2022-05-17..05-19· [security]
links:none on file
slides:none on file

Unicode directionality override characters in comments and string literals can reorder display versus logical source so compilers execute different code than humans read, enabling invisible backdoors dubbed Trojan Source that survive copy and paste and supply chain distribution. The same tricks and homoglyphs let attackers evade text ML detectors, bypassing toxicity filters nearly 100% in experiments. Defenses include editor and repo banners, compiler warnings (Rust, GCC), CI static checks and input sanitization for ML pipelines, all of which are practical and effective.

AI-written summary · about

  1. 0:00Introduction
  2. 1:41Invisible Attacks
  3. 2:20Encoding
  4. 3:22Unicode
  5. 4:33Bidirectional Algorithm Tour
  6. 5:11Directionality Control Characters
  7. 7:20Source Code
  8. 7:55Dr Evil
  9. 9:16Recap
  10. 9:57Explanation
  11. 10:42Example
  12. 12:35Copy Paste
  13. 13:06Jerry
  14. 13:54Trojan Source
  15. 15:44Machine Learning
  16. 17:07Adversarial Example
  17. 18:19Text vs Images
  18. 19:56Reverse Encoding
  19. 23:08Summary
  20. 23:36Release directly into the wild
  21. 23:59Coordinated disclosures
  22. 24:51Vulnerability disclosures
  23. 26:05Coordinated disclosure
  24. 28:06Press coverage
  25. 29:00Developer Tools
  26. 29:30Rust
  27. 29:53Defenses
  28. 30:28Machine Learning Defenses
  29. 31:01Takeaways
  30. 31:27Additional Information
  31. 31:54Whats Next
  32. 32:25Dont Write Comments
~/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.