News for hackers. Stuff that matters.
Re:Grep.app – Search across a half million Git repos by IncRnd on Tuesday February 07, 2023 @08:46AM (#34692631)
> or someone else was faster than you, got access and regenerated new keys for themselves

There are many people who do these types of searches - regularly. If there is any key material checked into gh, consider it immediately compromised, even if the repo is removed.

Re:Grep.app – Search across a half million Git repos by capableweb on Tuesday February 07, 2023 @08:48AM (#34692644)
Tons of automated scraping for these sort of things as well, with the whole flow of "check if key is working, check permissions, if authorized, generate new key and deactivate old one".
Re:Grep.app – Search across a half million Git repos by IncRnd on Tuesday February 07, 2023 @09:13AM (#34692960)
Yes. There are indeed several mitigations in place. However, my point was that within 5 seconds of looking at this tool I was able to uncover hundreds of potential issues. There are many other regexs I have on my list. Please don't fall into the trap of "we have anti-virus, so we can't get attacked."
Re:Grep.app – Search across a half million Git repos by capableweb on Tuesday February 07, 2023 @09:25AM (#34693136)
Sorry if I was unclear, my previous comment was about attackers doing that in order to compromise infrastructure, not that companies are doing it in order to defend themselves. But companies probably do it to defend themselves as well, but I'm not as familiar with that as with the other side of things.