Skip to content
Heist/ feed
Unrated

Malicious code in poly-bbc-service (npm)

Type: advisorySource: OSV1 source record

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

Announced Group revision 1
Original source ↗

MAL-2026-12799

Primary source · Revision 1

Imported from structured advisory data. Source references identify upstream records or fields; verify affected versions and your deployed configuration.

Security context

Source reference: osv:MAL-2026-12799

poly-bbc-service

Source reference: /affected/0/package/name

Affected versions
3.7.2

Source reference: /affected/0/versions

Fixed versions
Not stated in this record
Prerequisites
Not stated in this record

Structured affected-version data

Original package identities and version rules from this source.

[
  {
    "package": {
      "name": "poly-bbc-service",
      "purl": "pkg:npm/poly-bbc-service",
      "ecosystem": "npm"
    },
    "versions": [
      "3.7.2"
    ],
    "database_specific": {
      "cwes": [
        {
          "name": "Embedded Malicious Code",
          "cweId": "CWE-506",
          "description": "The product contains code that appears to be malicious in nature."
        }
      ],
      "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",
            "tlsh": "94c1616546fa31a36a67e4edf30f10027165e313365de971f48e42902fca568e5f24e8",
            "sha256": "647bdf81eaddc6e1296010cbbaeedf0f9c3bf72dc3e91e04944a8e374a562fe3"
          }
        ],
        "package_integrity": [
          {
            "hashes": {
              "sha1": "21b6b8c9c4b1959ee7c9832258cb1459023626a6",
              "sha512_sri": "sha512-OqKURr88pUhTukZ4qiwtyg9+dPn15Xl+2ZtDf7Zv86q/moBXx6BqGYXKsHcQ5dDxx6ezTjO2YIJgu00Vjj4wlg=="
            },
            "filename": "poly-bbc-service-3.7.2.tgz"
          }
        ]
      }
    }
  }
]

Publisher severity

No explicit severity was provided.

Event
#11010 · Revision 1
Added to Heist Feed
Publisher date
Read the original announcement