MAL-2026-10669

See a problem?
Import Source
https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/dbconnectify/MAL-2026-10669.json
JSON Data
https://api.osv.dev/v1/vulns/MAL-2026-10669
Aliases
  • GHSA-p5xv-vqcx-vm42
Published
2026-07-15T07:55:37Z
Modified
2026-09-23T03:45:04Z
Summary
Malicious code in dbconnectify (npm)
Details

-= Per source details. Do not edit below this line.=-

Source: amazon-inspector (e6a41259fb0099de58bc669907fa6fb20331d794b13008df0afb42893808e4ab)

The package exposes a method queryDBConnect that base64-decodes a hardcoded URL (HASH_KEYhttps://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.

Database specific
{
    "malicious-packages-origins":  [
        {
            "id":  "IN-MAL-2026-010624",
            "import_time":  "2026-07-15T08:51:04.457747549Z",
            "modified_time":  "2026-07-15T07:55:37Z",
            "sha256":  "e23c446b06120537793ebc07d748d8de5334ae4ec6779bda5368885c72216e81",
            "source":  "amazon-inspector",
            "versions":  [
                "1.0.1"
            ]
        },
        {
            "id":  "IN-MAL-2026-018336",
            "import_time":  "2026-08-19T03:49:30.959531609Z",
            "modified_time":  "2026-08-19T03:44:46Z",
            "sha256":  "e6a41259fb0099de58bc669907fa6fb20331d794b13008df0afb42893808e4ab",
            "source":  "amazon-inspector",
            "versions":  [
                "1.0.2"
            ]
        },
        {
            "id":  "GHSA-p5xv-vqcx-vm42",
            "import_time":  "2026-09-23T03:30:31.231393049Z",
            "modified_time":  "2026-09-23T02:50:52Z",
            "ranges":  [
                {
                    "events":  [
                        {
                            "introduced":  "0"
                        }
                    ],
                    "type":  "SEMVER"
                }
            ],
            "sha256":  "f22831a28da8f6342b3bd5c8177d5bdc0cfa918f3a9c3933d8ae3a387ad3dee4",
            "source":  "ghsa-malware"
        }
    ]
}
References
Credits

Affected packages

npm / dbconnectify

Package

Affected ranges

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

Affected versions

1.*
1.0.1
1.0.2

Database specific

cwes
[
    {
        "cweId":  "CWE-506",
        "description":  "The product contains code that appears to be malicious in nature.",
        "name":  "Embedded Malicious Code"
    },
    {
        "cweId":  "CWE-506",
        "description":  "The product contains code that appears to be malicious in nature.",
        "name":  "Embedded Malicious Code"
    },
    {
        "cweId":  "CWE-506",
        "description":  "The product contains code that appears to be malicious in nature.",
        "name":  "Embedded Malicious Code"
    }
]
indicators
{
    "evidence_files":  [
        {
            "path":  "index.js",
            "sha256":  "ae4e914eca8211e8837642a52e8bc616b8f6d7de05585213d09a3be18e1c06cf",
            "tlsh":  "ea822e0637f72527017b7064a6cb4080a439f41b2b35d964be5cc6b15fa87b8ada37d8"
        }
    ],
    "package_integrity":  [
        {
            "filename":  "dbconnectify-1.0.1.tgz",
            "hashes":  {
                "sha1":  "f2097afd7705f946c7ed145157ee458834649910",
                "sha512_sri":  "sha512-rpb4E5PSdiKf63f9CcaeyYvaBwsms4TFjBcSgAOArOjCqTfKCReOUiTds6tx+FpRwHJVUIla3XwYISWWzB15Og=="
            }
        }
    ]
}
source
"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/dbconnectify/MAL-2026-10669.json"