Live data from Hacker News

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

bleepingcomputer.com

421–430 of 488 posts

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

#421
post #111

Earlier quoted context omitted.

I am so, so stressed about Sublime Text... It feels like a massive disaster just waiting to happen. They don't even run their own package marketplace :(

There are so few users of sublime text that it likely isn’t a juicy enough target for these sorts of exploits.

10% of developers use Sublime Text

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

#422

Earlier quoted context omitted.

Thinking a GitHub uptime joke is so creative only one person could have thought of it? Wow.

It’s a word for word copy from the original.

> holy sh*t, how did the attackers find a large enough uptime window to get in?

> I'm more surprised hackers found a large enough uptime window to do this.

Certainly not a novel thought. But may I suggest you brush up on https://pbskids.org/games/play/sorting-box/487

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

#423
post #384

Earlier quoted context omitted.

Good point. Any editor is a needless dependency. True developers just scream at the universe and it responds with cosmic radiation that flips the correct bits to form the binary code they intended.

True developers don't leak the keys to their sources just because they need convenience-features from a "free IDE with tons of sexy bells and whistles" .. Features that would, incidentally, be obviated by making just a bit of a better effort to be better managers of the filesystem and ones' source code - and thus: become more competent developers. There is a limit to the positive impact of convenience features in any…

Your comment implies that you've somehow misunderstood my comments and thus think that I am using Microsoft's hot garbage text editor with a million plugins.

I can assure you I am not.

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

#424

Earlier quoted context omitted.

The vast majority of devs in the last few years have either been raised as sloppers or transitioned from developers to sloppers. Programming has evolved into a blackbox where fewer than ever people know how a program works, despite the numbers of "programmers" has skyrocketed. Just a few months ago a friend had a job interview(fake one obviously) where he was asked to clone a repo and do some stuff on it. The repo co…

What are “vs code hooks” exactly? A search for that or “VSCode Hooks” isn’t turning up anything for me in Kagi or Google…

I assumed they are meaning VSCode plugins that "hook" into the system.

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

#425
post #369

I've been telling less computer literate folks not to install random stuff since the nineties, and I can't understand how many devs are doing just that these days. I used to work in security auditing, and it makes me feel pretty jaded to think of the gigabytes upon gigabytes of random stuff that just gets pulled in from everywhere in IDEs, package managers, build pipelines and container images. At least back then the…

The vast majority of devs in the last few years have either been raised as sloppers or transitioned from developers to sloppers. Programming has evolved into a blackbox where fewer than ever people know how a program works, despite the numbers of "programmers" has skyrocketed. Just a few months ago a friend had a job interview(fake one obviously) where he was asked to clone a repo and do some stuff on it. The repo co…

Ask for yourself; I'm keeping my sanity back with stuff from https://t3x.org and the like. Scheme with logic/DIscrete Math, the MInikanren and the Mini Prolog it's incredibily powerful.

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

#426

Earlier quoted context omitted.

There's nothing really special about VSCode here, except that it's really popular. You could just as easily attack Emacs or Vim or Sublime or [...] users by distributing a malicious extension.

You can’t attack them that easily because of the different publication method. Emacs, Vim, and Sublime have a pull model (like linux distros), not a push model. Meaning you add your repos to the package hub, you do not upload an archive to them. The Hub will pull in you changes (or the plugin manager will do so). The only way in is to take over the repo itself.

Not sure how Vim and Sublime work, but for Emacs, publishing to MELPA is absolutely a push process, where you open a PR to MELPA's repo with a recipe for your new package; and, once it's accepted, every commit to your repo results in a new package build on MELPA's servers that Emacs users will get when they update / install the new plugin.

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

#427
post #408
post #374

Earlier quoted context omitted.

Answer: Because the "random stuff" (plugins for VS Code and other IDEs) solves real problems and nothing bad happens most of the time. Almost no manager will sign-off spending time on building stuff in-house if its available "for free". This is also in no way a new thing. How much code was written in notepad++ in the '00ies? Did anyone bother to check if the plugins did sth. malicious? We also used some weird closed-…

"solves real problems and nothing bad happens most of the time." Like Wordpress plugins previously that'll work for now but we're now on the trajectory of relearning that same lesson, because people are automating discovery and exploitation of these extensions and plugins and whatnot around text editors and MCP and so on. Though I suspect we'll first see a torrent of exploitation similar to what was done to Wordpress…

I suppose people did learn that it isn't that bad or costly after all and the risk and the bandaids are still better than the cost of being the first to try and fix software supply chains for good. As things stand, I don't know how that might even be done if it's supposed to not be a better bandaid and someone has to do the legwork and it can't be so costly or impractical to overworked IT teams that everyone is just going to ignore it.

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

#428

In addition, we need a fundamental change in OS security. It's not OK that every application you run has access to all your files and unfiltered internet access by default.

I’ve been using Little Snitch on my Mac for years now because I want to be aware of (and be able to turn off) the connections programs make. Probably the weirdest one I’ve caught was a new seagate hdd that required you to run an executable file to be able to format the drive, which then tried to connect to baidu.

https://fosstodon.org/@lukewrites/100907932236227641

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

#429
post #384

Earlier quoted context omitted.

True developers don't leak the keys to their sources just because they need convenience-features from a "free IDE with tons of sexy bells and whistles" .. Features that would, incidentally, be obviated by making just a bit of a better effort to be better managers of the filesystem and ones' source code - and thus: become more competent developers. There is a limit to the positive impact of convenience features in any…

Your comment implies that you've somehow misunderstood my comments and thus think that I am using Microsoft's hot garbage text editor with a million plugins. I can assure you I am not.

Your comment came across as sarcasm directed at aa-jv's position that folks are lured into the VSCode abyss and stay there because their comfort level won't let them leave, while VSCode - meanwhile - continues to be a huge security liability for any project where it is used.

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

#430

Earlier quoted context omitted.

The vast majority of devs in the last few years have either been raised as sloppers or transitioned from developers to sloppers. Programming has evolved into a blackbox where fewer than ever people know how a program works, despite the numbers of "programmers" has skyrocketed. Just a few months ago a friend had a job interview(fake one obviously) where he was asked to clone a repo and do some stuff on it. The repo co…

What are “vs code hooks” exactly? A search for that or “VSCode Hooks” isn’t turning up anything for me in Kagi or Google…

I assume they are called hooks, .vscode/settings.json - you can put some linters/tests which run automatically (from my understanding, something similar to git hooks, hence the reason I called them hooks). I generally hate the concept and I generally dislike vscode so... yeah.
Post reply on HN