Live data from Hacker News

Backdoor injected to NPM express-cookies package

news.ycombinator.com

11–18 of 18 posts

Re: Backdoor injected to NPM express-cookies package

#11
post #7

Can someone explain how the injection itself works? I assume it's the require doing the work, but its not so clear how that loads externally instead of from a path in filesystem?

NPM guys explain it in the blog today: https://news.ycombinator.com/item?id=16975025

Re: Backdoor injected to NPM express-cookies package

#13
post #6

And NPM took it down quickly, whew.

did you report it to NPM?

I don't know how many reported it to npm, but when I initially saw the post on HN, I took the steps to report the packages.

I don't know who to credit on this, and neither does npm but OP seems to be the source of these findings, although it would baffle me if they didn't report it to npm.

Re: Backdoor injected to NPM express-cookies package

#16
post #11
post #7

Can someone explain how the injection itself works? I assume it's the require doing the work, but its not so clear how that loads externally instead of from a path in filesystem?

NPM guys explain it in the blog today: https://news.ycombinator.com/item?id=16975025

Corrected URL to blogpost is: https://blog.npmjs.org/post/173526807575/reported-malicious-...
Post reply on HN