Better HN
topnewbestaskshowjobs
Log inSign up

u223344

2 karma · joined Mar 26, 2016 (10y ago) · 4 submissions

Submissions

comment 10y ago · link · parent

According to the parent link they've been waiting for npm support to respond for a over a month.

comment 10y ago · link · parent

Ironically the same person who first reported this npm vulnerability used the wrong package name uglifyjs instead of uglify-js in an unrelated github project.

https://github.com/mishoo/UglifyJS2/issues/936#issuecomment-...

https://github.com/samccone/The-cost-of-transpiling-es2015-i...

Or perhaps was it a security experiment to see how long it took someone to notice.

comment 10y ago · link · parent

--ignore-scripts won't help much. The act of using any npm module means you implicitly trust all the javascript code in the module and any of its dependencies. Has anyone taken the time to inspect every line of the dozens of modules that many common packages pull in? Not likely.

comment 10y ago · link · parent

Unfortunately native modules like canvas cannot be installed with npm install --ignore-scripts