←back to thread

1208 points jamesberthoty | 6 comments | | HN request time: 0.001s | source | bottom
Show context
cddotdotslash ◴[] No.45262019[source]
I wonder who actually discovered this attack? Can we credit them? The phrasing in these posts is interesting, with some taking direct credit and others just acknowledging the incident.

Aikido says: > We were alerted to a large-scale attack against npm...

Socket says: > Socket.dev found compromised various CrowdStrike npm packages...

Ox says: > Attackers slipped malicious code into new releases...

Safety says: > The Safety research team has identified an attack on the NPM ecosystem...

Phoenix says: > Another supply chain and NPM maintainer compromised...

Semgrep says: > We are aware of a number of compromised npm packages

replies(6): >>45262042 #>>45262074 #>>45262368 #>>45262518 #>>45263064 #>>45263487 #
m4r71n ◴[] No.45262368[source]
Since so many vendors discovered these packages seemingly independently, you'd think that they would share those mechanisms with NPM itself so that those packages would never be published in the first place. But I guess that removes their ability to sell an "early alert" mechanism through their offerings...
replies(1): >>45262594 #
progbits ◴[] No.45262594[source]
NPM is owned by github/microsoft. I'm sure they could afford to buy one of these products or just build their own, but clearly security is not a thing they care about.
replies(3): >>45262772 #>>45263297 #>>45264527 #
foobarbecue ◴[] No.45263297[source]
Can't help noticing, in the original article:

> The entire attack design assumes Linux or macOS execution environments, checking for os.platform() === 'linux' || 'darwin'. It deliberately skips Windows systems

If I were the conspiracy-minded sort I might jump to some wild conclusions here.

replies(2): >>45264766 #>>45266148 #
1. acomjean ◴[] No.45264766[source]
I’m using windows again. By default windows has “power shell” which is not at all like bash and is (how do I say this diplomatically)… wanting.

I mean it says something the developed the Linux Subsystem for Windows, but it’s an optional install.

replies(3): >>45265934 #>>45266823 #>>45267625 #
2. jahsome ◴[] No.45265934[source]
What dont you like about powershell?

I'm a die hard linux user, and some years ago took a windows gig on a whim. I find powershell fantastic and the only thing that makes my role bearable. Now, one of the first things i install on Linux is powershell.

replies(1): >>45267838 #
3. stockresearcher ◴[] No.45266823[source]
I watched an interview with Jeff Snover once and he said that they tried to make a unixy bash-like shell a few times and decided it was never going to fit in Windows. So they went a different way and took a lot of inspiration from OpenVMS.

So don’t expect PowerShell to be like a UNIX shell. It isn’t, and wasn’t meant to be one. It’s different, on purpose :)

4. vips7L ◴[] No.45267625[source]
Powershell is amazing. Just don't expect it to be posix. Using objects and structured data is leagues better than string parsing in posix shells imo.
5. philipwhiuk ◴[] No.45267838[source]
The awk equivalents in power-shell are horrific.
replies(1): >>45271737 #
6. jahsome ◴[] No.45271737{3}[source]
You don't find awk itself horrific in its own way?