~/talk

Oh no! My regex is causing a Denial of Service! What can I do about it?

Talkat PyCon US 2023 · 2023-04-19..04-27· [security]
name:Quazi
links:none on file
slides:none on file

Covers Python’s backtracking regular-expression engine and how certain patterns can produce catastrophic backtracking (ReDoS). Demonstrates concrete examples of problematic regexes, shows how to detect them (including static-analysis approaches), and presents techniques to improve performance and mitigate malicious input.

AI-written summary · about

  1. 0:00Start
  2. 2:31Relevance today
  3. 3:57What is Backtracking?
  4. 14:40Identifying Susceptible Expressions
  5. 18:31Can we backtrack catastrophically?
  6. 20:17Avoiding Catastrophic Backtracking
  7. 27:59What does this match?
  8. 28:29Takeaways
  9. 30:06References
~/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.