News for hackers. Stuff that matters.
Re:Over 100k Infected Repos Found on GitHub by UrineSqueegee on Thursday February 29, 2024 @07:18AM (#39548408)
I don't think you truly grasp how small this number is, this is actually good, like really really good. Github has about half a billion repositories.
Re:Over 100k Infected Repos Found on GitHub by arp242 on Thursday February 29, 2024 @08:34AM (#39549078)
Not only that, millions of these type of repos get created, and the vast majority are caught and deleted. The article mentions this: "Most of the forked repos are quickly removed by GitHub, which identifies the automation. However, the automation detection seems to miss many repos, and the ones that were uploaded manually survive. Because the whole attack chain seems to be mostly automated on a large scale, the 1% that survive still amount to thousands of malicious repos."
Re:Over 100k Infected Repos Found on GitHub by mgii on Thursday February 29, 2024 @09:39AM (#39549859)
Notice that as it seems, the vast majority are caught and deleted due to the intense automation, not the detection of malicious contents. If the actor was to run a smoother automation process, probably nothing would have been deleted. (disclaimer: author this article)
Re:Over 100k Infected Repos Found on GitHub by Cupprum on Thursday February 29, 2024 @07:45AM (#39548614)
Getting the actual number is probably very hard. These are the infected repos the OP found during their research.
Re:Over 100k Infected Repos Found on GitHub by simonw on Thursday February 29, 2024 @08:33AM (#39549074)
For public repos you can get an approximate number by querying various public datasets.

    SELECT uniqHLL12(repo_name) FROM github_events;
Against https://play.clickhouse.com/play?user=play#U0VMRUNUIHVuaXFIT... returns:

    361648383
Re:Over 100k Infected Repos Found on GitHub by jonnat on Thursday February 29, 2024 @09:52AM (#39550041)
They probably mean that the actual number of malicious repos is probably very hard to get.

The article reaches the 100K number by searching for repos with patches with a particular string contained in this specific attack, so it's likely missing many malicious repos that use different methods of infection.

Re:Over 100k Infected Repos Found on GitHub by bastardoperator on Thursday February 29, 2024 @11:50AM (#39551862)
Exactly, GitHub claims to have 400M+ repos making this number 0.025% of repos. I'm sure they could get it lower but less than half of 1% is pretty damn good.

As a developer I have to do some due diligence about where I'm getting my data from. If I'm slurping in random repos because the name matches that's a people problem, not a github specific problem.