FeedGitHub to Disable npm Install Scripts by Default to Stop Sup...
The Hacker News

GitHub to Disable npm Install Scripts by Default to Stop Supply Chain Attacks

📅 11 June 2026 at 06:23 UTC📰 The Hacker NewsView original source ↗
GitHub to Disable npm Install Scripts by Default to Stop Supply Chain Attacks

GitHub has announced what it said are "breaking changes" coming to npm version 12, one of which turns off install scripts by default to combat software supply chain threats. The changes aim to combat attack techniques that abuse the "npm install" command to trigger the execution of malicious code using npm lifecycle hooks. "Npm install" is used to download and install all the necessary

Read the full article

This is a curated summary. The complete article is available at The Hacker News.

Read on The Hacker News
← Back to feed