Mini Shai-Hulud Strikes Again: 314 npm Packages Compromised
91–100 of 329 posts
Re: Mini Shai-Hulud Strikes Again: 314 npm Packages Compromised
#92Re: Mini Shai-Hulud Strikes Again: 314 npm Packages Compromised
#93‘No way to prevent this’, Says Only Development Community Where This Regularly Happens — https://itnext.io/no-way-to-prevent-this-says-only-developme... >
Re: Mini Shai-Hulud Strikes Again: 314 npm Packages Compromised
#94Earlier quoted context omitted.
how do containers solve the problem? if they are connected to the internet (and they are) you have got the same problem, if the credentials can be read by the container, at least to my understanding
Watertight subdivision in a ship doesn't promise: "there'll never ever be water in this ship" . It says: "If there's water in this ship due to one hole, it'll stay in one compartment" . Note that I said one hole: you have the titanic, many compartment gets holes, that one ship is still going to sink. (btw that the Titanic sunk is not an excuse not to secure other ships. And it did save a great many other ships to hav…
Re: Mini Shai-Hulud Strikes Again: 314 npm Packages Compromised
#95‘No way to prevent this’, Says Only Development Community Where This Regularly Happens — https://itnext.io/no-way-to-prevent-this-says-only-developme... >
Re: Mini Shai-Hulud Strikes Again: 314 npm Packages Compromised
#96Another day, another pre/postinstall script executed that could have easily have been prevented by any sane package manager. NPM really desperately needs an 'allowBuilds' style allowlist [1] and 'approve-builds' command [2]. 1. https://pnpm.io/settings#allowbuilds 2. https://pnpm.io/cli/approve-builds
Most packages should not need arbitrary code execution during install. And when they do, that should be obvious during review.
The default should probably be: install files, don’t run code.
Re: Mini Shai-Hulud Strikes Again: 314 npm Packages Compromised
#97> Docker Container Escape > The payload checks for the Docker socket and, if present, attempts container escape through three sequential methods: So even if you're running devcontainers / VMs, these worms are already trying to escape. Make sure you're running a rootless VM engine (e.g. podman instead of docker) !
Despite what some people will tell you (including many in the security indistry), Docker is not a strong security boundary, and it should not be treated as one. It shares a kernel with the running system. It reminds me of the good old days when people would hand out low privilege Linux accounts and rely on the kernel to prevent privilige escalation. Docker is literally the same thing, just with extra steps. Especiall…
Solaris Zones and FreeBSD Jails (their inspiration) also share a kernel with the running system and do not seem to have as many escape vulnerabilities.
(Though partly because there may not be as much scrutiny of course.)
Re: Mini Shai-Hulud Strikes Again: 314 npm Packages Compromised
#98> Docker Container Escape > The payload checks for the Docker socket and, if present, attempts container escape through three sequential methods: So even if you're running devcontainers / VMs, these worms are already trying to escape. Make sure you're running a rootless VM engine (e.g. podman instead of docker) !
Why not run a proper virtual machine?
Extra 'overhead' and heaviness (perceived or real).
Re: Mini Shai-Hulud Strikes Again: 314 npm Packages Compromised
#99In the fictional universe of William Gibson's Sprawl trilogy, it is legal and normal for defenders to go kinetic on cyberattackers. How long until it is simply easier for governments and big business in the countries victimised by these criminal groups, to find the path of least resistance and go after them personally?
We can’t even prevent shop lifting.
Re: Mini Shai-Hulud Strikes Again: 314 npm Packages Compromised
#100Pretty wary of the entire JS/nodejs ecosystem at this stage.