Back to Daily Feed 
pnpm 11.6: Critical Security Fix for .npmrc & Install Improvements
Worth Reading
Originally published on pnpm Releases
View Original Article
Share this article:
Summary & Key Takeaways
- Implemented a security fix to prevent environment variables from expanding in project
.npmrcfiles. - This change mitigates the risk of leaking sensitive information like npm tokens to malicious registries.
- Users may need to migrate authentication tokens from committed
.npmrcfiles to user-level or global configs. pnpm installnow avoids full re-resolution whenpnpm-lock.yamlis missing butnode_modulesis up-to-date.
Our Commentary
This security fix is a big deal. We've all probably committed an .npmrc with some sensitive info at some point, or at least relied on env vars there. The fact that it requires user action means it's not just a silent patch; it's a necessary shift in how we manage secrets with pnpm. The install improvement is a nice bonus, too.
View Original Article
Share this article: