Urgent.News

What's breaking now, across thousands of outlets.

Editions

Tech

npm v12 Shuts Down a Popular Malware Trick — But the Threat Isn’t Going Away

For years, one of the easiest ways to sneak malware onto a developer’s machine has been to hide in plain sight. Install a package from npm, and any lifecycle script bundled with it runs automatically — no review, no approval, no second look. Attackers have known this for a long time, and they’ve used it […]

npm v12 Shuts Down a Popular Malware Trick — But the Threat Isn’t Going Away

npm v12 has introduced a significant security enhancement by disabling the automatic execution of lifecycle scripts during package installation. This change aims to thwart a popular tactic used by attackers to distribute malware through npm packages, where malicious scripts are concealed within seemingly harmless projects. However, this measure only shifts the attack vector to a different phase in the software development lifecycle, potentially making it even more challenging to detect and mitigate.

Security experts warn that while this security feature raises the barrier to the most straightforward attack method, it does not eliminate the threat entirely. Attackers will likely adapt by embedding malicious code within runtime processes, exploiting the fact that developers are accustomed to approving such scripts to minimize friction during the installation process.

This shift in attack tactics highlights the ongoing cat-and-mouse game between security professionals and malicious actors, emphasizing the need for a multi-faceted approach to software supply chain security.

Written by urgent.news from DevOps.com's reporting — not their text. Machine-written — may contain errors; check the original before relying on it.

Read the original at devops.com →

More in Tech

More from Thursday 20 August →