Security
Lock down npm installs when an AI agent adds your dependencies
In late October, 96 malicious npm packages appeared in three days, several running code at install time. How to turn off install scripts in npm and pnpm, allow the few builds you need, and review every dependency an AI agent adds.
Jason Fill
October 30, 2026
4 min read