npm 12 Disables Install Scripts by Default to Reduce Supply Chain Risk
The latest version of npm, version 12, has introduced a significant security measure by disabling install scripts by default, aiming to minimize supply chain risks. Previously, scripts could run automatically during package installations, potentially allowing malicious code to execute without user consent. This change, along with the deprecation of granular access tokens that could bypass two-factor authentication, marks a crucial step in enhancing security practices within the npm ecosystem. Such updates are vital as they directly address vulnerabilities that could otherwise be exploited, underscoring npm's commitment to safeguarding its users and the broader software development community.
Original Source
Read the full article at Thehackernews →KhanList aggregates and links to publicly available news content. We do not host full articles from third-party sources. Always verify important information with original sources.