db-convertor
Affected
- introduced
0(semver)
Fixed versions
None listed
Fix
No fixed version is listed.
Advisory
Also known as: GHSA-p467-3jcx-48q5
Malicious package Its source marks this package as malicious: it is not a vulnerability in a legitimate one.
Malicious code in db-convertor (npm)
---
_-= 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.
Not rated by the source.
0 (semver)None listed
No fixed version is listed.
Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.
Check your own computer: guard packages check
Source: OpenSSF Malicious Packages · Apache-2.0