Bugs Are Shallow: Finding Vulnerabilities In Top GitHub Projects
summary
Wide, automated searches use gp.app after BigQuery proves stale and expensive and after evaluating CodeQL and Semgrep for local scans; a focused hunt for mass assignment yields a high‑impact hit in freeCodeCamp (≈380k stars) where a PUT to an update endpoint persists request.body into user.updateAttributes, allowing fake certificates to be added and thousands of hours credited; freeCodeCamp fixes by allow‑listing writable keys; many smaller repos with the same pattern also appear.
AI-written summary · about
chapters (15)
- 0:00Introduction and background
- 1:52Deep vs wide vulnerability hunting
- 3:38Linus's law and open source quality
- 6:06GitHub search limitations
- 7:49Google BigQuery challenges
- 9:16Static analysis tools comparison
- 12:05Choosing Mass Assignment vulnerabilities
- 13:09What is Mass Assignment?
- 16:47Node.js frameworks analysis
- 17:50Finding the FreeCodeCamp flaw
- 19:20Exploiting the vulnerability
- 20:47Defensive takeaways
- 21:51Attacker takeaways
- 23:36Summary and future research
- 23:56Q&A session
