MAL-2026-6726

See a problem?
Import Source
https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/db-convertor/MAL-2026-6726.json
JSON Data
https://api.osv.dev/v1/vulns/MAL-2026-6726
Aliases
  • GHSA-p467-3jcx-48q5
Published
2026-07-02T13:17:43Z
Modified
2026-07-09T17:31:53.817330632Z
Summary
Malicious code in db-convertor (npm)
Details

-= 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.

Database specific
{
    "malicious-packages-origins": [
        {
            "id": "GHSA-p467-3jcx-48q5",
            "sha256": "325a83367699f226bf706d6847891a07256202cb73998bc9866eb485132d2a2a",
            "modified_time": "2026-07-02T13:17:50Z",
            "ranges": [
                {
                    "type": "SEMVER",
                    "events": [
                        {
                            "introduced": "0"
                        }
                    ]
                }
            ],
            "source": "ghsa-malware",
            "import_time": "2026-07-02T13:54:24.694172147Z"
        },
        {
            "versions": [
                "1.0.5"
            ],
            "sha256": "7480b95a12688a84f3efd3d4c5c8a82c5c761f1f462eb22201f4385fb9bf691c",
            "import_time": "2026-07-09T17:19:25.707325557Z",
            "modified_time": "2026-07-09T16:57:40Z",
            "source": "amazon-inspector",
            "id": "IN-MAL-2026-009336"
        }
    ]
}
References
Credits

Affected packages

npm / db-convertor

Package

Affected ranges

Type
SEMVER
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

1.*
1.0.5

Database specific

cwes
[
    {
        "cweId": "CWE-506",
        "name": "Embedded Malicious Code",
        "description": "The product contains code that appears to be malicious in nature."
    },
    {
        "cweId": "CWE-506",
        "name": "Embedded Malicious Code",
        "description": "The product contains code that appears to be malicious in nature."
    }
]
indicators
{
    "evidence_files": [
        {
            "tlsh": "92723f0a37f72527017b7068a6cb4080a539f41b2b35d860be5cc6715fa87b8bda37d8",
            "sha256": "ae11e36e28a20d61aad91dca3e04bb12de7b641e8db0e77413acf225549b4fcd",
            "path": "index.js"
        },
        {
            "tlsh": "dc014c35c9205ca32bab35984d555105b36190efdd48fd8476dc116c8f4e16f22ee3ae",
            "sha256": "7e65ae6e7d5d8ae2b59ec592dcd541c193b7abbe49ebb3fe2151d9d8a7f7ef48",
            "path": "package.json"
        }
    ]
}
source
"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/db-convertor/MAL-2026-6726.json"