get-deps-pathnpm
Malicious code in get-deps-path (npm) Remove it immediately and rotate any exposed credentials.
What this malware does
On require(), get-deps-path immediately invokes getPlugin(), which performs an HTTP fetch to https://jsonkeeper.com/b/QBRMI (an anonymous public paste host where any user can mutate content) and passes the response's model field directly to eval(). The fetched JavaScript executes in the installer's Node process with no integrity check, no version pin, and no signature verification — whoever controls the paste controls code execution on every machine that imports this module. The package additionally masquerades: package.json keywords are ['koa','middleware','compose'] and index.js is a koa-compose clone, while the package name and README advertise unrelated 'dependency install' functionality. The mismatch between the advertised purpose, the visible source code, and the embedded import-time eval-from-mutable-URL is the cover-story shape of a deliberate backdoor, not a misconfiguration.
Any computer that has this package installed or running should be considered fully compromised. All secrets and keys stored on that computer should be rotated immediately from a different computer. The package should be removed, but as full control of the computer may have been given to an outside entity, there is no guarantee that removing the package will remove all malicious software resulting from installing it.
Malicious versions
Indicators of compromise (SHA-256)
Frequently asked questions
Campaign
References
Credits
- Amazon Inspector · finder
Scan your dependencies
O3 Security blocks malicious packages like this at install time and in CI.
Supply-chain protection