-
Notifications
You must be signed in to change notification settings - Fork 1.9k
Trufflehog supports scanning of deleted files? #4118
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Hey @ERANV-EVA we do have a very robust and complete way to scan all this deleted data that utlizes GitHub's graphQL api:
There are some down sides to this approach, specifically, rate limits, as well as the fact in addition to deleted data, it also pulls in unmerged and private data through the fork network the repo is attached to. Here's our blog on it: https://trufflesecurity.com/blog/trufflehog-now-finds-all-deleted-and-private-commits-on-github We are currently researching Sharon's method, what I will say is the graphQL method is 100% complete, and surfaces more than Sharon's method, it's just a lot slower. We're looking to soon have support for both in the near term future. |
Hi @dylanTruffle, Thanks for the hard work for the community, LMK in any case of help needed. |
Hey @ERANV-EVA , I'm closing this issue since it looks like you got your answer. |
Hi @nabeelalam @dylanTruffle |
I'm opening t his because I don't think it's been resolved yet, but it's related to #2494 |
Hi TruffleHog team,
I wanted to ask whether TruffleHog supports scanning for secrets in deleted GitHub objects—such as files or commits that have been removed but are still accessible through Git internals—as described in this research: https://medium.com/@sharon.brizinov/how-i-made-64k-from-deleted-files-a-bug-bounty-story-c5bd3a6f5f9b.
Does the tool currently handle these cases, or are there any plans to support this capability?
The text was updated successfully, but these errors were encountered: