News for hackers. Stuff that matters.
Re:NPM flooded with malicious packages downloaded more than ... by bigstrat2003 on Thursday October 30, 2025 @09:38PM (#45767454)
That's not a realistic solution. Nobody is going to stop using their machine for development just to get some security gains, it's way too much of a pain to do that.
Re:NPM flooded with malicious packages downloaded more than ... by socalgal2 on Thursday October 30, 2025 @10:18PM (#45767654)
You are right, if it's a pain no one is going to do it. So the thing that needs to happen is to make it not a pain.
Re:NPM flooded with malicious packages downloaded more than ... by numbsafari on Tuesday November 04, 2025 @01:14PM (#45814097)
Wake up and smell the codespaces/workspaces/vagrant/so many other tools that make this not a pain. Some of these tools have been around for AGES. Nowadays, with VSCode Remote, you can even use a "modern" IDE environment with a local fat client observing your remote runtime. Other folks do this quite happily, with tremendous tooling, using emacs or *vim.
Re:NPM flooded with malicious packages downloaded more than ... by cutemonster on Thursday October 30, 2025 @10:31PM (#45767711)
It is a realistic solution.
Re:NPM flooded with malicious packages downloaded more than ... by zbentley on Friday October 31, 2025 @06:59PM (#45777644)
Taking this more seriously than it perhaps deserves: if that’s true, why isn’t widespread adoption of this approach growing?

Whether or not it’s a good idea, “realistic” implies practicality, which could presumably be measured by whether people find it worthwhile to do the thing.

Re:NPM flooded with malicious packages downloaded more than ... by cutemonster on Saturday November 01, 2025 @10:16AM (#45781808)
I suppose it depends on what you're protecting, who's out there to get you, and how boring and time consuming it is to clean up after a breach (can't that take weeks or months), etc.

Aren't you're a bit asking "When X transportation method isn't used by everyone, can it really be any good?" :-)

Re:NPM flooded with malicious packages downloaded more than ... by fragmede on Thursday October 30, 2025 @11:11PM (#45767941)
The way to sell it isn't vague security somethings, but in making it easier to reproduce the build environment "from scratch". If you build the Dockerfile as you go, then you don't waste hours at the end trying to figure out what you did to get it to build and run in the first place.
Re:NPM flooded with malicious packages downloaded more than ... by graemep on Friday October 31, 2025 @10:21AM (#45772286)
its not particularly painful to develop in a container. Maybe docker is a nuisance (although I know people do do develop within docker) but something like firejail or bubblewrap is pretty easy to use.
Re:NPM flooded with malicious packages downloaded more than ... by numbsafari on Tuesday November 04, 2025 @01:11PM (#45814065)
It's 100% realistic because *I've been doing it off-and-on for the last 25 years.*

When I was developing server software for Windows, the first time I was able to setup a development environment by simply cloning a VM instead of spending a day-and-a-half with a lap full of MSDN CDs/DVDs, I never went back.

Prior to that, I was happily net-booting *BSD/Solaris servers all over my house/apartment.

Nowadays, we have so many tools to make this trivial. Your contention doesn't stand up to basic scrutiny of the available data.

If you are downloading software from untrusted sources (e.g. NPM, pip, and others) and running it on your primary working machine, or personal machine, then you are simply begging for trouble.