AIMode.newsSearch
Live

npm 12 Released: Install Scripts Off by Default as Registry Moves to Explicit Trust

I

InfoQ

AIMode News Desk · curated summary

1 min readTechnology

Automated news aggregation. Headlines and summaries are gathered from public feeds; see our editorial standards for sourcing, corrections, and AI-assist disclosure.

npm 12 introduces significant security-related changes, making certain installation behaviors opt-in. Notably, script allowances are now off by default, which requires explicit approval for running scripts, including implicit builds. The update also restricts non-registry sources and addresses community concerns about security risks from automatic script execution. By Daniel Curtis

Key takeaways

  • 01npm 12 introduces significant security-related changes, making certain installation behaviors opt-in.
  • 02Notably, script allowances are now off by default, which requires explicit approval for running scripts, including implicit builds.
  • 03The update also restricts non-registry sources and addresses community concerns about security risks from automatic script execution.
Advertisement

About this story

This story was aggregated from InfoQ. Headlines, summaries, and links are gathered automatically from public RSS feeds for your convenience.

Read the full story →

For agents:JSON recordOpenAPIWebMCPllms.txt

Advertisement

More in Technology