Javascriptweekly iconJavascriptweeklyMay 19, 2026

Dr. Axel's blog is gone (for now)

It's Time for npm to Make Install Scripts Opt-In — npm is the only major package manager that runs dependency install scripts (e.g. postinstall) by default, and they've become too much of a security weakness, says Jamie, who works for GitHub (maintainers of npm).

Dr. Axel's blog is gone (for now)

Share this story

Send the public story page.

Useful takeaways from this story.

It's Time for npm to Make Install Scripts Opt-In — npm is the only major package manager that runs dependency install scripts (e.g.

postinstall) by default, and they've become too much of a security weakness, says Jamie, who works for GitHub (maintainers of npm).

This RFC features further discussion of the idea and the tradeoffs involved.

Building the complete brief

The page is ready to read now. The fuller skim-friendly version will appear here automatically.

The useful part

It's Time for npm to Make Install Scripts Opt-In — npm is the only major package manager that runs dependency install scripts (e.g. postinstall) by default, and they've become too much of a security weakness, says Jamie, who works for GitHub (maintainers of npm). This RFC features further discussion of the idea and the tradeoffs involved.

How it works

  • It stands in front of npm and audits packages before installing them, including the presence of pre/post install scripts.

Details worth keeping

#​786 — May 19, 2026 Read on the Web JavaScript Weekly RFC: Jamie Magee 💡 npq is a tool that makes npm install s safer. <a href="https://javascriptweekly.com/link/18...

Keep reading in the app

Open the app view to save this story, compare related coverage, and continue from the same source.

Open in app