~/talk

Getting More Confident with Your Security Helper Libraries Thanks to Go Fuzzing

links:none on file
slides:none on file

Go fuzzing (Go 1.18) is used to prove and extend fixes for a real path traversal in Grafana OSS by generating thousands of inputs until predicates fail, producing concrete failing cases and test corpus. A quick patch that adds a leading slash becomes covered by fuzz tests but one unit test is not enough, fuzzing finds bypasses in a symlink/relative-path helper and forces rework of validation logic. Integration in CI and exporting fuzz corpora validate fixes over time and surface surprising edge cases. path traversal in Grafana OSS

AI-written summary · about

  1. 0:00Start
  2. 3:36filepath.Clean is tricky
  3. 5:13The vulnerable code
  4. 7:03The fixed code
  5. 11:09Go Fuzzing example 1: validation logic
  6. 13:38Go Fuzzing example 1: fixing the predicates
  7. 15:40Go Fuzzing example 2: validation logic
  8. 18:33Go Fuzzing example 2: finding a corner case
  9. 19:35Writing predicates can be challenging
  10. 23:06Key takeaways
~/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.