~/talk

Whimsy: Put That Test Down! You don't know where it's been

Talkat RubyConf 2021 · 2021-11-08..11-10· [security, developer-experience]
links:none on file
slides:none on file

A failing CSS-sanitization test traces through git to a 2007 inSticky case and propagates 14 years across html5lib luffa and Rails, caused by mixed octal/hex escapes that are actually octal encoding vs CSS unicode confusion. The investigation uses git bisect, archive searches and exploit spreadsheets to reconstruct a heredity diagram and confirm a real XSS payload, then fixes tests in Rails and luffa and files a PR to OWASP, showing archaeology reveals real bugs.

AI-written summary · about

  1. 0:00Start
  2. 4:17WHAT IF THIS TEST IS JUST ENCODED WRONG?
  3. 11:31SECURITY IS HARD Tt's not always obvious when a security test has an error, Because exploits are often complex and non-obvious.
  4. 11:53ALWAYS TAKE THE RED PILL Archaeology and debugging are more work, But it could end up being fun, And you might get a conference talk out of it.
~/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.