You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I tried adding --trace-deprecations to my start script but it has no effect, since the deprecation warning is triggered by Nodemon code (or dependencies) that runs before the start script.
Reacted by Jayden Seric, Limon Monte, kpcyrd, David Petersen, Paweł Dąbrowski, pugson, Sean M. Vieira, Harry Eldridge, Valentino Urbano, Carter Bancroft and 71 more
Reacted by Guillaume Kpomda, Anton P., Ivan Didyk, thepoliticallycorrect, Omar Badran, bl-ue and sasakiy84
Reacted by bl-ue
Reacted by Mars Robertson, thepoliticallycorrect and bl-ue
@FallingSnow out of pure curiosity: starting from the stack trace, how did you find out it's an injection attack? did you start analyzing js and min.js files?
To be honest, looking back at this incident, it's amazing how 2 letters were the difference between stopping a malicious attack and millions of victims worldwide having their bitcoin savings wiped out overnight, because right9ctrl used the deprecated crypto.createDecipher by mistake instead of crypto.createDecipheriv
If he/she hadn't forgotten those 2 letters and used the non-deprecated function, this issue wouldn't have been reported and flatmap-stream would've gone undetected for potentially years given how well it was hidden
Reacted by bl-ue, evrhines, Theofanis Despoudis, Jeroen van Warmerdam, Matthias Bäuerle, Ryan Ku and Udbhav Gambhir
Reacted by lmrb, evrhines, Carson M., Ryan Ku and Udbhav Gambhir
Reacted by bl-ue, Theofanis Despoudis and Gabriele Tomberli
Activity
jaydenseric commentedon Oct 29, 2018
I tried adding
--trace-deprecationsto my start script but it has no effect, since the deprecation warning is triggered by Nodemon code (or dependencies) that runs before the start script.remy commentedon Oct 29, 2018
If you try nodemon with a bare index.js, do you get the warning still?
ie.
jaydenseric commentedon Oct 29, 2018
Yep:
jkhusanov commentedon Nov 12, 2018
Same issue,
nodemonversion: 1.18.6FallingSnow commentedon Nov 20, 2018
Here's the trace:
FallingSnow commentedon Nov 20, 2018
And it comes full circle... Turns out it's some kind of injection attack.
dominictarr/event-stream#116
Related: #1451
fix: Update audit dependencies and remove pstree.remy
remy commentedon Nov 22, 2018
I'm trying to get a release out on nodemon but tests aren't passing (one of the integration tests is leaving a background server running).
That said, a fresh install of nodemon should pull in
pstree.remy@1.1.2which, if it's causing this warning, should be clean now.Can someone test (and confirm with
npm ls pstree.remyagainst the nodemon install dif)?jaydenseric commentedon Nov 25, 2018
This issue has been resolved by the
pstree.remyrelease; the infected package has been removed from thenodemondependency tree. Thanks!murrayju commentedon Nov 27, 2018
@remy glad to hear you have failing tests, things are definitely broken. See #1464.
Update package.json
piotrturski commentedon Dec 20, 2018
@FallingSnow out of pure curiosity: starting from the stack trace, how did you find out it's an injection attack? did you start analyzing js and min.js files?
remy commentedon Dec 20, 2018
@piotrturski if you've got that stack trace your dependencies are out of date and nodemon needs an upgrade.
FallingSnow commentedon Dec 20, 2018
@piotrturski I just followed the stack traces until I ran into some very strange code that looked like an obfuscated payload.
So yes, I did analyze the js files, see dominictarr/event-stream#116.
TheShermanTanker commentedon Aug 24, 2021
To be honest, looking back at this incident, it's amazing how 2 letters were the difference between stopping a malicious attack and millions of victims worldwide having their bitcoin savings wiped out overnight, because right9ctrl used the deprecated
crypto.createDecipherby mistake instead ofcrypto.createDecipherivIf he/she hadn't forgotten those 2 letters and used the non-deprecated function, this issue wouldn't have been reported and flatmap-stream would've gone undetected for potentially years given how well it was hidden
theodesp commentedon Apr 28, 2022
@TheShermanTanker wow. I guess there is always light at the end of the tunnel...