Can You Guess This Self-Propagating NPM Worm Attack? 🧠
Transcript
Machine-transcribed by YouTube. Expect errors in names, commands and version numbers.
one of a kind. [laughter] >> It was the first self-propagating npm worm >> and this is the proof that dependency chains can become infection chains. >> That's a very bad sentence for anyone running CI. >> Uh Singularity stole lot of lots of GitHub and npm related credentials and after that access like that used to publish malicious versions of legitimate npm packages. We don't know for sure whether it was the same attacker or someone who got access to these stolen tokens, but clearly walked through a door that incidents like Singularity opened. >> So Singularity is the breaking and was
the one who walked through it >> and the name comes from Dune. The attacker used public GitHub repositories with that name to dump stolen secrets and the branding is memorable but the important part is the propagation model. M please explain self-propagation for us. >> So you start with installing an infected npm package and during install the malicious script runs and it steals your npm token. Then it uses your npm token to publish infected versions of packages that you maintain and then your users install those packages and the same thing happens to them. >> Okay. >> Yeah. So their tokens are stolen, the packages are infected and the chain keeps going.
>> So every victim can become a distributor. That is the difference between normal package compromise and a worm behavior.





