News for hackers. Stuff that matters.
Re:Survey of popular Node.js packages reveals credential leaks by qubyte on Sunday December 06, 2015 @06:19PM (#10687161)
It really depends what's in the .npmrc. For example, you might have one containing only a setting to use absolute versions when installing packages and saving them. It's also worth noting that it's a good idea (although I always forget) to use the files field of package.json to act as a whitelist.

Edit: the author notes that these are excluded by npm anyway these days. The documentation does not reflect this.

Re:Survey of popular Node.js packages reveals credential leaks by ChALkeR on Sunday December 06, 2015 @06:29PM (#10687198)
https://github.com/npm/npm/releases/tag/v2.14.1

> npm will no longer include .npmrc when packing tarballs.

Re:Survey of popular Node.js packages reveals credential leaks by qubyte on Sunday December 06, 2015 @06:35PM (#10687210)
Thanks! I just took a quick look at https://docs.npmjs.com/files/package.json

If I remember in the morning, I'll send them a PR to update their docs.

Re:Survey of popular Node.js packages reveals credential leaks by ChALkeR on Sunday December 06, 2015 @08:54PM (#10687648)