MAL-2026-12799

See a problem?
Import Source
https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/poly-bbc-service/MAL-2026-12799.json
JSON Data
https://api.osv.dev/v1/vulns/MAL-2026-12799
Published
2026-08-05T13:12:40Z
Modified
2026-08-05T14:37:17.935378442Z
Summary
Malicious code in poly-bbc-service (npm)
Details

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

Source: amazon-inspector (3bb49d43833628610acae14ea039bb3a490dc94ec90bd8faac084a977a8f8ebd)

The package's exported getPlugin function issues an HTTPS request to the hardcoded bare-IP endpoint https://46.183.25.232:45000/icons/107 and passes the response's data.credits field into new Function('require','module','exports',...,'Promise', data.credits) for execution. The generated function receives require, module, exports, process, and Buffer, giving the fetched payload full Node.js privileges on the consumer's machine. An unused setDefaultModule helper constructs plausible cdnjs.cloudflare.com/font-awesome URLs that are never used at runtime, providing a cover story inconsistent with both the README (advertised as a Polymarket client) and the actual runtime target. Declared runtime dependencies include @primno/dpapi (Windows DPAPI bindings), better-sqlite3, and node-machine-id, which are consistent with staging for browser-credential / DPAPI-protected secret extraction once the remote payload is delivered.

Database specific
{
    "malicious-packages-origins": [
        {
            "sha256": "3bb49d43833628610acae14ea039bb3a490dc94ec90bd8faac084a977a8f8ebd",
            "source": "amazon-inspector",
            "versions": [
                "3.7.2"
            ],
            "modified_time": "2026-08-05T13:12:40Z",
            "id": "IN-MAL-2026-014926",
            "import_time": "2026-08-05T14:19:43.652977074Z"
        }
    ]
}
References
Credits

Affected packages

npm / poly-bbc-service

Package

Affected ranges

Affected versions

3.*
3.7.2

Database specific

cwes
[
    {
        "cweId": "CWE-506",
        "description": "The product contains code that appears to be malicious in nature.",
        "name": "Embedded Malicious Code"
    }
]
source
"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/poly-bbc-service/MAL-2026-12799.json"
indicators
{
    "evidence_files": [
        {
            "path": "index.js",
            "sha256": "647bdf81eaddc6e1296010cbbaeedf0f9c3bf72dc3e91e04944a8e374a562fe3",
            "tlsh": "94c1616546fa31a36a67e4edf30f10027165e313365de971f48e42902fca568e5f24e8"
        }
    ],
    "package_integrity": [
        {
            "hashes": {
                "sha1": "21b6b8c9c4b1959ee7c9832258cb1459023626a6",
                "sha512_sri": "sha512-OqKURr88pUhTukZ4qiwtyg9+dPn15Xl+2ZtDf7Zv86q/moBXx6BqGYXKsHcQ5dDxx6ezTjO2YIJgu00Vjj4wlg=="
            },
            "filename": "poly-bbc-service-3.7.2.tgz"
        }
    ]
}