# MAL-2026-5463: Malicious code in db-dx-connector (npm)


- **Type:** Malicious package
- **Package:** `db-dx-connector` (npm)
- **Published:** 9 Jun 2026

## What is MAL-2026-5463?

MAL-2026-5463 is a malicious package in db-dx-connector, published on 9 Jun 2026. 

### Official description

The package name `db-dx-connector` inverts the word order of the legitimate `dx-db-connector` package (whose own GitHub URL `github.com/divbloxjs/dx-db-connector` is referenced in this package's metadata). It replicates the legitimate package's MySQL-connector API surface and adds an undocumented method `queryDBConnect` in `index.js` (lines 226-238) that constitutes a backdoor: a base64-encoded URL stored in a misleadingly named `HASH_KEY` constant decodes to `https://www.jsonkeeper.com/b/ZIAIK` (an anonymous, mutable paste-hosting service), the method fetches `.data.content` from that URL via axios, constructs a synthetic Node module, and calls `m._compile(s1, 'error.js')` to execute the fetched JavaScript inside the consumer's Node process. Errors are silently swallowed in a try/catch. Whoever controls the paste can ship arbitrary code into any process that calls `queryDBConnect()`. The combination of name inversion against a real package, base64 URL obfuscation, anonymous attacker-controlled host, runtime fetch+compile of remote JavaScript, and silent error suppression is an unambiguous remote-code-execution backdoor.

## What should I do about MAL-2026-5463?

Remove the package from your dependencies and lockfiles, then rotate any secrets on machines where it was installed.

## Fix prompt for AI coding agents

```text
MAL-2026-5463 is a malicious package: db-dx-connector (npm). Every version was published to cause harm.

Task:
1. Search this repository's dependency manifests and lockfiles for the package, including transitive dependencies.
2. If it is present, remove it, regenerate the lockfile with the project's package manager, and replace whatever it was used for.
3. List any CI runners, developer machines or containers that installed it, so their secrets can be rotated.
4. If the package is not used anywhere, say so and change nothing.

Reference: https://insights.sbomify.com/MAL-2026-5463/ (Markdown: https://insights.sbomify.com/MAL-2026-5463/index.md)
```

## Sources

- OSV: https://osv.dev/vulnerability/MAL-2026-5463

---
From sbomify Insights: https://insights.sbomify.com/MAL-2026-5463/
Summaries are generated and may contain mistakes; the official description above is the record.
