npm v12 实现多年来最大的安全改进之一
aikido.dev | 博客 | #supply-chain | #devsecops | #open-source | #malware | #npm | #supply-chain-security | #shai-hulud | #package-registry | #package-manager | #nodejs | #allowlist | #postinstall | #security-defaults | #node-gyp | #install-scripts | #postinstall-scripts
摘要
npm v12(2026 年 7 月)将默认停止执行依赖安装脚本,仅允许清单内的包运行,封堵 Shai-Hulud、Nx 等攻击滥用的 postinstall 向量,并收紧 git 与远程 URL 依赖解析规则。
- 发布时间
- 收录时间
Skip to content