This OSINT tool was created following the release of the following article and the rump of Frederick Kaludis during Winerump 2024, it allows you to find all the commits deleted from a GitHub repository using the API.
We do a first fetch on the /commits endpoint and another on the /events endpoint. We then compare the two responses by looking for events of type "PushEvent." If the event is not in the commits, then it is a deleted commit.
During a security audit or a pentest, it can be interesting to examine the commits deleted from an organization's repository to find sensitive informations.
- Automatic recovery of all public repositories of a user
- Intuitive and simple interface
touch .env
echo 'GITHUB_TOKEN = "{your github api key}"' >> .env
go build main.go
./main
I would like to personally thank Frederic for his presentation and for taking the time to give me some additional explanations after his presentation.