News for hackers. Stuff that matters.
Re:GitHub confirms breach of 3,800 repos via malicious VSCod... by tekacs on Wednesday May 20, 2026 @03:44PM (#48213072)
Maybe I'm missing something really obvious, but... 3,800 repos? I guess I find it kind of surprising they have that many!
Re:GitHub confirms breach of 3,800 repos via malicious VSCod... by PAndreew on Wednesday May 20, 2026 @04:18PM (#48213519)
As others have said it's just a fraction. I'm in a medium size tech-related company and we have 7500+ in one Github org. We have two orgs, so altogether easily 10K+. Of course most of it is stale, obsolete, sandbox, personal tools, etc. I wouldn't be surprised if Github would have 100K+ internal repos or even more.
Re:GitHub confirms breach of 3,800 repos via malicious VSCod... by htrp on Wednesday May 20, 2026 @05:15PM (#48214240)
no pruning of repos?
Re:GitHub confirms breach of 3,800 repos via malicious VSCod... by sbarre on Wednesday May 20, 2026 @05:30PM (#48214417)
No OP but I used to work at a large company with a similar number of repos.

When I left about a year ago, we had just started (after being on Github for almost 8 years) an ongoing project of first archiving old/outdated repos in place, and then moving them to an "archived" sub-org, and waiting to see if anyone complained.

Previously no one wanted to outright delete or remove repos because of the risk that someone somewhere was relying on it, and also there was no actual downside to just leaving them there (no cost savings, no imminent danger other than clutter, etc), so resources were never allocated to do it. There was always something more important to work on.

In an org with a higher floor of engineering management, a proactive program for removing unused or outdated repos would absolutely be expected though I think.

Re:GitHub confirms breach of 3,800 repos via malicious VSCod... by a_t48 on Wednesday May 20, 2026 @06:54PM (#48215423)
This is a continual fight for me. At nearly every company I've had to compromise on using a graveyard repo for packages within a monorepo, even though git has the whole history already.
Re:GitHub confirms breach of 3,800 repos via malicious VSCod... by Sander_Marechal on Thursday May 21, 2026 @02:44AM (#48218777)
The problem with history is that you need to know when to look. If you're looking for some old code that you know existed but you don't know exactly what it was, you can't just browse to go and find it.
Re:GitHub confirms breach of 3,800 repos via malicious VSCod... by a_t48 on Thursday May 21, 2026 @02:57AM (#48218873)
Sure, but beyond a certain point the code that's there isn't just drop in compatible.
Re:GitHub confirms breach of 3,800 repos via malicious VSCod... by NewJazz on Wednesday May 20, 2026 @05:52PM (#48214705)
Gitlab is so nice for this. You can group repos together so it is harder to lose track of stale projects.
Re:GitHub confirms breach of 3,800 repos via malicious VSCod... by fn-mote on Wednesday May 20, 2026 @06:15PM (#48214971)
Breaks old stuff
Re:GitHub confirms breach of 3,800 repos via malicious VSCod... by tempay on Wednesday May 20, 2026 @04:01PM (#48213309)
Personally I have over a hundred, especially from quick prototypes, studies or instances of templates so I can easily see how over 18 years and many hundreds of employees you end up with thousands.
Re:GitHub confirms breach of 3,800 repos via malicious VSCod... by noelsusman on Wednesday May 20, 2026 @04:08PM (#48213394)
Am I missing the joke here... they have hundreds of millions of repos.
Re:GitHub confirms breach of 3,800 repos via malicious VSCod... by dijit on Wednesday May 20, 2026 @04:12PM (#48213434)
I think they mean that these are internal github-org repos.

The ones used for running the site itself.

Though, its so many that i think there are some customer ones in there too.

Re:GitHub confirms breach of 3,800 repos via malicious VSCod... by nightpool on Wednesday May 20, 2026 @04:14PM (#48213469)
No, there's no joke, you might have just misread the article (the 3,800 number is the number of internal GitHub repos the employee had downloaded on their personal computer / had access to on their own GitHub account)
Re:GitHub confirms breach of 3,800 repos via malicious VSCod... by Galanwe on Wednesday May 20, 2026 @04:13PM (#48213446)
The breach is about internal repositories, not user repositories.
Re:GitHub confirms breach of 3,800 repos via malicious VSCod... by MrDarcy on Wednesday May 20, 2026 @03:57PM (#48213256)
3800 is low for an org like GitHub. Glad it’s highly likely not all their repos are compromised.
Re:GitHub confirms breach of 3,800 repos via malicious VSCod... by organsnyder on Wednesday May 20, 2026 @04:34PM (#48213720)
Given the attack vector, it's possible that the impacted repos were ones that see more activity.
Re:GitHub confirms breach of 3,800 repos via malicious VSCod... by newsoftheday on Wednesday May 20, 2026 @04:00PM (#48213301)
It sounds low to me, I worked at a Fortune high number a few years ago and they had more.
Re:GitHub confirms breach of 3,800 repos via malicious VSCod... by dgellow on Wednesday May 20, 2026 @04:01PM (#48213305)
I was part of an org with more than 15k repos
Re:GitHub confirms breach of 3,800 repos via malicious VSCod... by clutch_coder99 on Thursday May 21, 2026 @01:53AM (#48218438)
Damn that's alot. I'm wondering how many engineers handled all that?
Re:GitHub confirms breach of 3,800 repos via malicious VSCod... by dgellow on Thursday May 21, 2026 @03:08AM (#48218951)
I cannot share much details, but one thing: livegrep had no issues handling that many repos! That project is such a blessing

https://github.com/livegrep/livegrep

Re:GitHub confirms breach of 3,800 repos via malicious VSCod... by eddythompson80 on Wednesday May 20, 2026 @04:00PM (#48213288)
really? I mean these are internal repos. Probably most of them are random one-off experiments or a place to park code. Google has 2,900 "public" repos on github. Microsoft has ~8k "public" on github too. Can't even imagine how many they have on their internal systems.
Re:GitHub confirms breach of 3,800 repos via malicious VSCod... by paulddraper on Wednesday May 20, 2026 @04:27PM (#48213644)
They have 800 engineers. So 3,800 repos is high, but not crazy.

Some of those could be forks.

Re:GitHub confirms breach of 3,800 repos via malicious VSCod... by philipp-gayret on Wednesday May 20, 2026 @04:35PM (#48213733)
I worked for a food retail store once. I remember going in the first day wondering, how hard can it really be... From the outside, it looks like they have a simple website. The website to order things on was an amalgamation of 300+ repo's. GitHub lost less in this breach. It takes a lot of effort to keep things simple as you grow.
Re:GitHub confirms breach of 3,800 repos via malicious VSCod... by robotnikman on Wednesday May 20, 2026 @06:03PM (#48214842)
Can confirm as someone working in the same field, we have a ton of repos
Re:GitHub confirms breach of 3,800 repos via malicious VSCod... by ashishb on Wednesday May 20, 2026 @04:39PM (#48213801)
Uber had 8000 repos at one point with 2000 engineers - https://highscalability.com/lessons-learned-from-scaling-ube...
Re:GitHub confirms breach of 3,800 repos via malicious VSCod... by Gigachad on Wednesday May 20, 2026 @07:27PM (#48215763)
Probably most of them are forks of some public repo with some patch applied and half of those are probably not even used internally anymore.
Re:GitHub confirms breach of 3,800 repos via malicious VSCod... by ashishb on Wednesday May 20, 2026 @09:01PM (#48216456)
Afaik, they eventually cleaned it up.

And it was each team owning multiple internal repos of their own deployments/libraries, and not, primarily, clones of public repos.

Re:GitHub confirms breach of 3,800 repos via malicious VSCod... by skissane on Wednesday May 20, 2026 @04:50PM (#48213941)
In my personal experience, give it a decade or two, and any corporation will accumulate hundreds (or even thousands) of abandoned internal repos containing discontinued services, POCs/prototypes that never went anywhere, etc – people forget to archive them, or aren't sure whether something is still in use or not so err on the safe side.

AI is making this even worse. With coding agents, anyone can throw together a quick internal prototype of any idea they have, even if it has no hope of ever making it to production.

Re:GitHub confirms breach of 3,800 repos via malicious VSCod... by unix4ever on Wednesday May 20, 2026 @04:57PM (#48214045)
Maybe though AI will make it better, assign agents to monitor, maintain and keep repos up to date or via A2A refer them to an agent to dispose of them in accordance with company requirements. I actually think AI will greatly help this type of problem.
Re:GitHub confirms breach of 3,800 repos via malicious VSCod... by skissane on Wednesday May 20, 2026 @06:26PM (#48215111)
Autoarchiving repos which nobody has used in X years doesn’t require any AI - you can just write a bot to do it. People don’t, because it isn’t a priority. AI can make writing such a bot a bit easier, but can’t help much with getting approval from the powers that be to run it.
Re:GitHub confirms breach of 3,800 repos via malicious VSCod... by ryanhecht on Wednesday May 20, 2026 @06:21PM (#48215030)
Something cool that I've always liked about working at GitHub is how much of the company _runs on GitHub_ -- A lot of teams, even non-technical teams, have their own repos just to organize docs/SOP's/designs/etc like a traditional knowledge work company might use a Sharepoint
Re:GitHub confirms breach of 3,800 repos via malicious VSCod... by jamesfinlayson on Wednesday May 20, 2026 @09:34PM (#48216729)
I remember working at a company with at least 5,000 repos across five or six GitHub orgs, plus more stuff in Perforce.

Probably some old experiments in there but the company had its fingers in a few pies and some departments didn't mind creating yet another service to solve a problem.

I definitely archived the old stuff in my department (we had eight repos and that felt like enough for three people).

Re:GitHub confirms breach of 3,800 repos via malicious VSCod... by wazHFsRy on Thursday May 21, 2026 @01:07AM (#48218111)
Even their sales teams work with GitHub repos, so not that surprising I’d say.
Re:GitHub confirms breach of 3,800 repos via malicious VSCod... by dirkc on Thursday May 21, 2026 @03:05AM (#48218935)
That was my first instinct, but thinking about it just a little it doesn't seem crazy, esp for GitHub.

How many folders do you have on your computer with some bits of code? It's probably not a terrible practice to add those folders to GitHub.

Across a big engineering company that can easily add up to way more than 3,800!

Re:GitHub confirms breach of 3,800 repos via malicious VSCod... by sunshine-o on Thursday May 21, 2026 @04:20AM (#48219454)
Because everything in Github is designed for growth: Easy to create a repo, very hard to delete it (a lot of scrolling, clicking, copy/pasting the full name of the repo, etc.) I mean "Deleting", not "Archiving".

MS and Github need their number to go up, not having people cleaning up their repos to avoid any loose ends.

I have hundreds of them, it took me a few hour to delete the unused ones. In a medium size org with thousands of them, it will take weeks for security to do a cleanup.