-= Per source details. Do not edit below this line.=-
The package exposes a method queryDBConnect that base64-decodes a hardcoded URL (HASH_KEY → https://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.
{
"malicious-packages-origins": [
{
"import_time": "2026-07-15T08:51:04.457747549Z",
"sha256": "e23c446b06120537793ebc07d748d8de5334ae4ec6779bda5368885c72216e81",
"modified_time": "2026-07-15T07:55:37Z",
"source": "amazon-inspector",
"id": "IN-MAL-2026-010624",
"versions": [
"1.0.1"
]
},
{
"import_time": "2026-08-19T03:49:30.959531609Z",
"sha256": "e6a41259fb0099de58bc669907fa6fb20331d794b13008df0afb42893808e4ab",
"modified_time": "2026-08-19T03:44:46Z",
"source": "amazon-inspector",
"id": "IN-MAL-2026-018336",
"versions": [
"1.0.2"
]
}
]
}"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/dbconnectify/MAL-2026-10669.json"
{
"evidence_files": [
{
"sha256": "ae4e914eca8211e8837642a52e8bc616b8f6d7de05585213d09a3be18e1c06cf",
"path": "index.js",
"tlsh": "ea822e0637f72527017b7064a6cb4080a439f41b2b35d964be5cc6b15fa87b8ada37d8"
}
],
"package_integrity": [
{
"filename": "dbconnectify-1.0.1.tgz",
"hashes": {
"sha1": "f2097afd7705f946c7ed145157ee458834649910",
"sha512_sri": "sha512-rpb4E5PSdiKf63f9CcaeyYvaBwsms4TFjBcSgAOArOjCqTfKCReOUiTds6tx+FpRwHJVUIla3XwYISWWzB15Og=="
}
}
]
}
[
{
"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."
}
]