Live data from Hacker News

GitHub confirms breach of 3,800 repos via malicious VSCode extension

bleepingcomputer.com

161–170 of 488 posts

Re: GitHub confirms breach of 3,800 repos via malicious VSCode extension

#161
post #91

If only the company behind VSCode, the company behind NPM and the company behind GitHub could get together and figure out a solution to this.

It is also company behind NuGet. Guess what they did a year ago. They removed 700 or so packages from NuGet proactively but those turned out to be false positives. It is hard to do the right things.

It is hard for Microsoft to do the right things*

FTFY

Re: GitHub confirms breach of 3,800 repos via malicious VSCode extension

#162

Earlier quoted context omitted.

I really hope this pushes users (here: devs and maintainers) to decrease their reliance on Microsoft and especially stop outsourcing security to them. Migrate off vscode already.

I won't say "you can take my VS Code from cold dead hands" or anything, but it is a very good tool, and Microsoft hasn't yet fucked it up the way they have so many other things. I guess I'd say "you take my VS Code ... willingly ... but only after M$ fucks it up and makes me not want it anymore (like they've done to everything else they acquired)".

> Microsoft hasn't yet fucked it up the way they have so many other things.

Not for lack of trying, the amount of CoPilot cruft bundled with the core IDE is growing quarterly.

Re: GitHub confirms breach of 3,800 repos via malicious VSCode extension

#163

Earlier quoted context omitted.

I really hope this pushes users (here: devs and maintainers) to decrease their reliance on Microsoft and especially stop outsourcing security to them. Migrate off vscode already.

The problem is not VS code itself. It's the fact extensions can access things outside of the editor. As far as I am aware, no editor sandboxes extensions.

Part of the problem is that people are adding a metric fuck ton of extensions onto a text editor trying to make it into an IDE.

If you start with an IDE first you likely need far fewer extensions.

Re: GitHub confirms breach of 3,800 repos via malicious VSCode extension

#164

Vs code extensions have been terrifying for a long time. Such a wild and obvious attack vector. I'm constantly getting pop ups in vscode to install an extension because it recognizes a certain file type. It's 50-50 whether that extension is owned by a company or some random dev. Some of these have millions of installs and on first glance appear to be official company owned extensions. I'm at a point in my life where…

I've become equally paranoid about VSCode extensions. I remember using several other IDE's like Brackets, JetBrains, Sublime Text or Bluefish only having a few solid extensions to rely on to get my dev work done. Now it seems like anything you do, someone or some company has built an extension specifically for your task.

At this point I try and get the most done with the least amount of extensions period. That and trying to get the rest of my code off of Github is the other.

Re: GitHub confirms breach of 3,800 repos via malicious VSCode extension

#165

Earlier quoted context omitted.

And volumes. Volumes are not fun with podman. Ironically my team tried GitHub Codespaces and never looked back. Super cheap and uses DevContainers.

What's the difference between Podman and docker for volumes? Other than needing to add Z to get volumes to mount with SELinux

Maybe permissions when going rootlesz?

Re: GitHub confirms breach of 3,800 repos via malicious VSCode extension

#166
post #157

This has significant consequences for companies hosting their private repos with GitHub. It's a huge security threat if the attacked has access to the source code. At the very least, GitHub should let people know if their repo was part of the hack or not. It's the most responsible thing to do.

Well, the hacker group claims to have access to the Github source code according to the linked article. And apparently, one lucky buyer with at least $50,000 can also have access.

Re: GitHub confirms breach of 3,800 repos via malicious VSCode extension

#167
post #107
post #87

Earlier quoted context omitted.

Microsoft is the inverse hand of Midas, turns everything into shit.

With $101 billion in profit last year I wish I could turn things into $hit as well as they do.

You could, with a large enough captive audience.

Re: GitHub confirms breach of 3,800 repos via malicious VSCode extension

#168
post #87

Earlier quoted context omitted.

Microsoft is the inverse hand of Midas, turns everything into shit.

Everything Microsoft makes sucks. If they decided to make vacuum cleaners though, they wouldn’t suck, they would blow.

Just five years ago this opinion was heresy on HN. Those of us who still remembered their behavior in the 80s/90s were belittled.

"They have changed, gramps. This really smart Satya Nadella is CEO. They are the good guys now. Don't be so bitter over old stuff like systematic use of illegal tactics to attempt to kill all of its competitors including Linux."

Also: Note that the headline undersells the news dramatically. The article begins with:

"GitHub has confirmed that roughly 3,800 internal repositories were breached after one of its employees installed a malicious VS Code extension."

Re: GitHub confirms breach of 3,800 repos via malicious VSCode extension

#169

Earlier quoted context omitted.

The problem extends far beyond VS code. All extensions and executable code has the same problem. There was a case where Disney was hacked because an employee installed a BeamNG mod that had bundled malware. A company that wants to remain secure would have to employ strict restrictions on installing software. Only installing npm packages and plugins from an internal preapproved repo for example.

I don’t understand why we don’t just sandbox everything. We have done it for web browsers, we can definitely do it for VSCode extensions.

What are you withholding from the sandbox without making it useless?

Re: GitHub confirms breach of 3,800 repos via malicious VSCode extension

#170

Earlier quoted context omitted.

I really hope this pushes users (here: devs and maintainers) to decrease their reliance on Microsoft and especially stop outsourcing security to them. Migrate off vscode already.

I won't say "you can take my VS Code from cold dead hands" or anything, but it is a very good tool, and Microsoft hasn't yet fucked it up the way they have so many other things. I guess I'd say "you take my VS Code ... willingly ... but only after M$ fucks it up and makes me not want it anymore (like they've done to everything else they acquired)".

Did you try intellij ever?

And are you a vscode original? or came from vim/emacs?

Post reply on HN