VDB
KO

MAL-2026-4571

Malicious code in get-deps-path (npm)

Details

--- _-= Per source details. Do not edit below this line.=-_

## Source: amazon-inspector (65fa6f34a831aa832f9d88019ce3d0f4011701df6ab0667bd263645208c978ce) 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.

## Source: ghsa-malware (964ca7187d345d1bb60e771f2e5135d44d6fdcb74dc3339b0e7e76134c5250bc) 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.

Are you affected?

Enter the version of the package you're using.

Affected packages

npm / get-deps-path
Introduced in: 0

No fixed version published yet for get-deps-path (npm). Pin to a known-safe version or switch to an alternative.

References