npm CLI 11.10.0 introduces three notable security and workflow improvements. The new `minimumReleaseAge` setting lets teams enforce a cooldown before newly published package versions can be installed, reducing exposure to malicious packages before detection. A new `--allow-git` flag closes a code execution path via Git dependencies that could bypass `--ignore-scripts`. Bulk OIDC configuration via `npm trust` allows maintainers to configure trusted publishing across multiple packages at once, easing migration from classic tokens. These changes align npm with pnpm, Yarn, and Bun, which already offer release-age gating, signaling that time-based install gating is becoming a standard supply chain defense across the JavaScript ecosystem.

4m read timeFrom socket.dev
Post cover image
Table of contents
New minimumReleaseAge Setting #Closing a Git Execution Path During Install #Bulk OIDC Configuration for Trusted Publishing #Ecosystem Alignment on Supply Chain Controls #
1.2K Impressions