Why this SIMPLE mistake earned a $5000 bug bounty from Reddit

Moral of the story — be careful when you refactor code

Roberto
InfoSec Write-ups
Published in
3 min readJul 28, 2022

--

Summary

Refactoring code is common place, especially as a code base grows, more complexity is added to existing functionality, and new technologies are introduced that improve performance. Refactoring is usually a pain in the ass since you have to make sure everything that was once working still works in the new format. Any mistake can introduce new bugs, and in Reddit’s case, this bug cost them $5000.

--

--

Stanford alum, Software Engineer with a passion for CyberSec, Biotech, and Sustainability. Work with me at https://www.tidallabs.io/.