Skip to main content
MalwarePublished Updated

db-dx-connector (npm) · Malicious Code

Affects db-dx-connectorSource GCVE Database

0

Malicious package : remove db-dx-connector and rotate any secrets on hosts that installed it.

Data as of 26 Jun 2026, 22:16 UTC

Classification

Malicious package

Published to npm · OSV MAL-2026-5463

What to do

Remove db-dx-connector from every project, lockfile and image that pulls it in. Treat any host that installed it as compromised: rotate the credentials, tokens and keys it could read, from a clean machine.

Affected software

ProductAffectedFixed in
npmdb-dx-connectorAffected
  • 1.0.0 – 1.0.3
4 affected builds
Fixed in–

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

Description

The npm package 'db-dx-connector' is a malicious package impersonating the legitimate 'dx-db-connector' package by inverting its name. It contains a backdoor method 'queryDBConnect' that fetches and executes arbitrary JavaScript code from an attacker-controlled remote URL at runtime. This allows remote code execution within any Node.js process that calls this method. The malicious behavior is obfuscated using base64 encoding and silent error handling. Versions 1.0.0 through 1.0.3 are affected.

References

Community reviews

Loading reviews…