CRITICAL npm Malware

Malicious code in dbconnectify (npm)

MAL-2026-10669 · GHSA-p5xv-vqcx-vm42

Published · Modified

Dependency scanning

Check whether dbconnectify is in your codebase

Corgea flags malicious and compromised dependencies with reachability analysis, so you fix the packages that actually run in your application instead of working through the whole lockfile.

Description


__

Source: amazon-inspector (e6a41259fb0099de58bc669907fa6fb20331d794b13008df0afb42893808e4ab)

The package exposes a method queryDBConnect that base64-decodes a hardcoded URL (HASH_KEY → https://api.jsonbin.io/v3/b/6a609e63f5f4af5e29b05907), performs an HTTP GET against it, reads a string from the response field data.record.cookie, and passes that string to Module._compile(..., 'errorcheck.js'), executing it in-process as Node.js code. The destination is a third-party mutable key-value store whose contents the endpoint owner can change at any time, the URL is stored in base64 form rather than as a plain string, the payload is read from a field named cookie unrelated to its actual use, and execution errors are silently swallowed. The behavior does not match the package's stated purpose as a database connector and provides arbitrary remote code execution against any caller that invokes the method.

Source: ghsa-malware (f22831a28da8f6342b3bd5c8177d5bdc0cfa918f3a9c3933d8ae3a387ad3dee4)

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.

Ready to move

Start Securing

Free, no credit card | First findings in minutes