dbconnectify@1.0.2
Malicious code in dbconnectify (npm)
Analysis
Trojanized MySQL database connector that contains a remote code execution backdoor. The package exports a DivbloxDatabaseConnector class that appears to be a legitimate database wrapper, but includes a hidden method queryDBConnect() that decodes a base64-embedded URL (hxxps://api[.]jsonbin[.]io/v3/b/6a609e63f5f4af5e29b05907), fetches the 'cookie' field from the JSON response, and compiles/executes it as arbitrary JavaScript via node:module.Module._compile(). The attacker controls the jsonbin[.]io bin and can serve any payload to compromised systems. The backdoor executes when the module is required. The package does not declare axios as a dependency, so the backdoor may fail silently if axios is not already installed.
- analyzed by
- Leitwacht
- first seen
- Jul 22, 2026, 11:23 AM
- analyzed
- Jul 22, 2026, 11:24 AM
Related advisories
- utility-kit-ts@1.3.2
- ts-toolkit-plus@1.3.2
- ventrix-kit@1.5.2
- @copilot-mcp/apex@1.0.0
- vectormark@1.0.0
- vite-config-svg@1.1.7
- crypto-checkout-api@1.0.0
- wallet-analytics@1.4.8
Independently detected by the Leitwacht supply-chain probe. IOCs are defanged. Published CC0. Think this is a mistake? See the dispute policy.