MAL-2026-20329

See a problem?
Import Source
https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/autoloan/MAL-2026-20329.json
JSON Data
https://api.osv.dev/v1/vulns/MAL-2026-20329
Published
2026-11-22T02:41:16Z
Modified
2026-11-22T03:30:03Z
Summary
Malicious code in autoloan (npm)
Details

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

Source: amazon-inspector (fd149b051db3655d811a5a275af34e47d622cc2a9bcd4e198592c1f449dd3476)

The package ships a postinstall hook ("node beacon.cjs") and a main entry (index.js) that both execute beacon.cjs on npm install and on require(). beacon.cjs collects installer-side identifiers — os.hostname(), __dirname (the install path on the installer's disk), process.cwd(), process.version, and the package name — and POSTs them as JSON to the hardcoded endpoint https://vmi3699893.contaboserver.net:8787/_ah/dc, a bare Contabo VPS unrelated to any documented publisher. The HTTPS request is made with rejectUnauthorized:false, disabling TLS certificate verification. index.js itself exports a Proxy whose properties all return no-op values, so the package provides no real functionality — the install-time and import-time beacon is the sole effect of installing this package. The shape (stub module + hardcoded bare-VPS callback + TLS verification disabled + auto-fire on both lifecycle hook and module load) matches a dependency-confusion / install-tracking beacon rather than a legitimate library.

Database specific
{
    "malicious-packages-origins": [
        {
            "id": "IN-MAL-2026-023015",
            "import_time": "2026-11-22T03:14:08.565797427Z",
            "modified_time": "2026-11-22T02:41:24Z",
            "sha256": "8d6ac59798c613e7c6f958a2dd95fba87d3e7b5398f1c1abea356b854e950e01",
            "source": "amazon-inspector",
            "versions": [
                "3.0.0"
            ]
        },
        {
            "id": "IN-MAL-2026-023017",
            "import_time": "2026-11-22T03:14:08.693621015Z",
            "modified_time": "2026-11-22T02:41:39Z",
            "sha256": "c2003c637cdbe1a4e42edb55eb0625c65c7d13b48821a354b5ebf85bee142d57",
            "source": "amazon-inspector",
            "versions": [
                "0.0.1"
            ]
        },
        {
            "id": "IN-MAL-2026-023014",
            "import_time": "2026-11-22T03:14:08.512585249Z",
            "modified_time": "2026-11-22T02:41:16Z",
            "sha256": "fd149b051db3655d811a5a275af34e47d622cc2a9bcd4e198592c1f449dd3476",
            "source": "amazon-inspector",
            "versions": [
                "2.0.0"
            ]
        },
        {
            "id": "IN-MAL-2026-023016",
            "import_time": "2026-11-22T03:14:08.633651849Z",
            "modified_time": "2026-11-22T02:41:30Z",
            "sha256": "94b32013c548ece46df358535c184d7228e518599f44a5871507281ce5332750",
            "source": "amazon-inspector",
            "versions": [
                "1.1.0"
            ]
        }
    ]
}
References
Credits

Affected packages

npm / autoloan

Package

Affected ranges

Affected versions

0.*
0.0.1
1.*
1.1.0
2.*
2.0.0
3.*
3.0.0

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"
    },
    {
        "cweId": "CWE-506",
        "description": "The product contains code that appears to be malicious in nature.",
        "name": "Embedded Malicious Code"
    }
]
indicators
{
    "evidence_files": [
        {
            "path": "beacon.cjs",
            "sha256": "f5a4d284776adbc9536eb8e555c1e888c7e8370f5906325288f50548983ec2f6",
            "tlsh": "2a3170eba8e0e0089aa670e8c60f5409f27bf0078501ab60fd5c83955f6193c33fa8dc"
        },
        {
            "path": "index.js",
            "sha256": "a86a4da763bbb34c16f361abe7aab66d5df591b66867ac8160041f932159b08d",
            "tlsh": "2201d0d7225661b10b5221a4978f43c4a3b99d74027941d0d84a9226365108c463b8ee"
        }
    ],
    "package_integrity": [
        {
            "filename": "autoloan-3.0.0.tgz",
            "hashes": {
                "sha1": "a9dda835ac5740a2b4c43555e2ccd1250445e5ad",
                "sha512_sri": "sha512-kzjHuDTdz8zWITi+gimheJit5WwBDEFApkb5o4D56bVKiXjak48eH4Ti+WStUxSKEANw37/PL2L1nCqgm9cL2Q=="
            }
        }
    ]
}
source
"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/autoloan/MAL-2026-20329.json"