~/talk

Squashing Security Bugs with Rubocop

Talkat RubyConf 2021 · 2021-11-08..11-10· [ruby, security]
name:Omar
links:none on file
slides:none on file

Betterment uses RuboCop to ship custom RuboCop cops that match AST shapes with node_pattern and flag real issues like unsafe evals and unscoped model.find from params uses, not vague style advice. The work is about the actual checks implemented, the simple 20‑line cops that detect patterns, inline remediation messages, and keeping false positives low so teams accept them. Code is open sourced and tuned for developer experience.

AI-written summary · about

  1. 0:00Start
  2. 0:31Quick Introduction
  3. 1:05Static Analysis
  4. 4:54Node Pattern
  5. 5:37Wrapper for Node Pattern
  6. 8:00Anti-Patterns
  7. 8:46Auto Json Class
  8. 15:50Developer Experience
  9. 19:55Add Inline Remediation Advice
  10. 20:30Configuration Options
  11. 25:28Quick Resources
~/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.