Find notable cyber news and cases, enriched with sources, timelines, and signals.

Npm v12 default-blocks install scripts, Git dependencies, and remote URLs

Security Tool/Service
First reported
Last updated
Happening score
H score 11
1 unique sources, 1 articles

Summary

Hide ▲

GitHub announced npm v12 with default-blocking install scripts, Git dependencies, and remote URLs, shifting package installation to explicit opt-in and reducing supply-chain attack risk. The rollout is scheduled for July 2026 and replaces historically permissive dependency handling across the npm ecosystem. Developers can already move to npm 11.16.0+ and use npm approve-scripts to audit blocked scripts and build local allowlists.

Related Happenings

GitHub npm version 12 hardens installs and token management

Security Tool/Service
H score11 First: 09.07.2026 19:49 Last: 09.07.2026 19:49 Sources 1

About this happening: GitHub released npm version 12, making install-time scripts opt-in by default and tightening package publishing controls to reduce supply-chain risk. The update al...

GitHub npm GAT publish-token mitigation guidance

Advisory/Mitigation
H score25 First: 09.07.2026 19:49 Last: 09.07.2026 19:49 Sources 1

About this happening: GitHub is steering npm users away from long-lived publish tokens as npm GATs that bypass 2FA lose direct publishing and sensitive-management abilities. The recomme...

GitHub actions/checkout blocks fork pull request checkouts by default in privileged workflows

Security Tool/Service
H score11 First: 23.06.2026 17:22 Last: 23.06.2026 17:22 Sources 1

About this happening: GitHub's actions/checkout now refuses common pwn request patterns by default, cutting the risk of attacker-controlled code execution in privileged GitHub Actions workf...

GitHub npm v12 hardens install-time dependency execution and source resolution

Security Tool/Service
H score11 First: 10.06.2026 22:41 Last: 10.06.2026 22:41 Sources 1

About this happening: GitHub is tightening npm v12 next month by blocking automatic dependency install scripts and non-registry sources, reducing supply-chain attack paths triggered by npm in...

IronWorm npm supply-chain infection and self-propagation

Malware Activity
H score15 First: 04.06.2026 18:25 Last: 04.06.2026 18:25 Sources 1

About this happening: IronWorm is a Rust infostealer in a npm supply-chain activity that hides behind an eBPF kernel rootkit, communicates over Tor, and targets 86 environment var...

Timeline

  1. 10.06.2026 03:00 1 articles · 1mo ago

    Security experts warn npm v12 could shift attacker focus and create developer friction

    Technical Analysis Update

    On June 10, Paul McCarty warned that the npm v12 changes could become security theatre if developers face enough friction to blindly approve blocked scripts. Isaac Evans also argued that attackers may pivot toward private corporate repositories such as Artifactory and Nexus as public package managers tighten defaults, while legitimate maintainers may adopt suspicious-looking workarounds that complicate triage.

    Show sources
  2. 09.06.2026 03:00 2 articles · 1mo ago

    GitHub announces npm v12 with default-blocking install scripts, Git dependencies, and remote URLs

    Initial Disclosure

    GitHub announced npm v12 with three security-focused breaking changes that move package installation from implicit trust to explicit opt-in. The rollout is slated to begin in July 2026, and the new defaults will block install scripts, Git dependencies, and remote URLs unless explicitly permitted, with npm 11.16.0 or newer already offering warning and audit support.

    Show sources