News for hackers. Stuff that matters.
Re:How to build an NPM worm by tolmasky on Friday July 13, 2018 @12:59AM (#17520624)
It curls the install script, which is passed to ruby as a string which is run.
Re:How to build an NPM worm by PeCaN on Friday July 13, 2018 @01:01AM (#17520630)
Ah, duh, you're right. I forgot $() is bash syntax and not the Ruby syntax for running an external command. Thanks, and yikes.