Offical XRP NPM package has been compromised and key stealing malware introduced
1–10 of 20 posts
Re: Offical XRP NPM package has been compromised and key stealing malware introduced
#2Re: Offical XRP NPM package has been compromised and key stealing malware introduced
#3Re: Offical XRP NPM package has been compromised and key stealing malware introduced
#4Re: Offical XRP NPM package has been compromised and key stealing malware introduced
#5Many packages will have over a 100 dependencies if you include the dev dependencies, so you can easily break a 1000.
Re: Offical XRP NPM package has been compromised and key stealing malware introduced
#6Interestingly if this is happening in a long running process and that exploit server is offline, the promise for the fetch will reject. And the default behavior for unhandled promise rejections would be for the node process to crash.
So if anybody tried testing this version of the library in a net gapped environment, it would crash and fail out in CI.
The attacker should have silenced the error with a .catch(_ => {}).
Re: Offical XRP NPM package has been compromised and key stealing malware introduced
#7Honestly it's time for the npm ecosystem to move to a model where only build agents running on npm's own infrastructure can upload binary artifacts, or to mandate reproducible builds.
And for a select set of highly used packages, someone from NPM should be paid to look over each release's changeset.
Both would have massively impeded the attacker.
Re: Offical XRP NPM package has been compromised and key stealing malware introduced
#8Fun fact: installing some common starter packages will explode to install over a 1000 npm packages, each of them can inject malware, even if the package isn’t used, and you’ll never know. Many packages will have over a 100 dependencies if you include the dev dependencies, so you can easily break a 1000.
Re: Offical XRP NPM package has been compromised and key stealing malware introduced
#9Re: Offical XRP NPM package has been compromised and key stealing malware introduced
#10Fun fact: installing some common starter packages will explode to install over a 1000 npm packages, each of them can inject malware, even if the package isn’t used, and you’ll never know. Many packages will have over a 100 dependencies if you include the dev dependencies, so you can easily break a 1000.