Malicious code in db-convertor (npm)
Historical advisory saved 24 Oct 2026 13:17:17 UTC. The publisher may have updated it since then. Latest advisory.
osv · MAL-2026-6726
Published--- _-= 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.
- Source published
- 2 Jul 2026 13:17:43 UTC
- Source modified
- 9 Jul 2026 17:31:53 UTC
- Saved here
- 24 Oct 2026 13:17:17 UTC
- Source terms
- OSV · upstream source license applies
Original source record · Cite this exact observation · Complete original publisher JSON
Source: osv · OSV · upstream source license applies. The publisher's wording is preserved. ChangeIntel groups the information and labels changes. The JSON record includes additional source fields.