Feed›npm 12 Disables Install Scripts by Default to Reduce Supply ...
The Hacker News

npm 12 Disables Install Scripts by Default to Reduce Supply Chain Risk

📅 9 July 2026 at 16:49 UTC📰 The Hacker NewsView original source ↗
npm 12 Disables Install Scripts by Default to Reduce Supply Chain Risk

GitHub has officially announced the release of npm version 12 with install scripts disabled by default, along with deprecating granular access tokens (GATs) designed to bypass two-factor authentication (2FA). The Microsoft-owned subsidiary noted that the following npm install behaviors that used to run automatically before have been made opt-in - allowScripts defaults to off, meaning

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