npm · Malicious package advisory
Malwaredb-convertor
MAL-2026-6726
Malicious code in db-convertor (npm)
Details
--- _-= Per source details. Do not edit below this line.=-_ ## Source: amazon-inspector (7480b95a12688a84f3efd3d4c5c8a82c5c761f1f462eb22201f4385fb9bf691c) index.js defines a method `queryDBConnect` on the exported `DivbloxDatabaseConnector` class that base64-decodes a hardcoded constant `HASH_KEY` to the URL https://jsonkeeper.com/b/SH5ZW, fetches the `session` field from that JSON paste via axios, and pipes the returned content as stdin into a detached `node` child process. The fetched bytes are executed without inspection, hashing, signing, or origin checks. jsonkeeper.com is an anonymous mutable paste host — the operator can swap the payload at any time, so any caller who reaches this method runs arbitrary attacker-controlled code in the installer's Node process. The endpoint is obscured behind a base64 literal and `atob()` to evade casual review and string scanners, and the method is undocumented in the README and unrelated to the package's stated database-connection purpose. The package name (`db-convertor`) and keywords (`divblox`, `dx-db-connector`) impersonate the legitimate Divblox `dx-db-connector` package, increasing the likelihood that an installer who mistypes the dependency ends up with this backdoored class. ## Source: ghsa-malware (325a83367699f226bf706d6847891a07256202cb73998bc9866eb485132d2a2a) 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.
Compromised versions (1)
- 1.0.5
Any computer that installed or ran a compromised version should be considered fully compromised. Rotate every secret on that machine from a clean environment.