{"id":"MAL-2026-12799","summary":"Malicious code in poly-bbc-service (npm)","details":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (3bb49d43833628610acae14ea039bb3a490dc94ec90bd8faac084a977a8f8ebd)\nThe 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.\n","modified":"2026-08-05T14:37:17.935378442Z","published":"2026-08-05T13:12:40Z","database_specific":{"malicious-packages-origins":[{"import_time":"2026-08-05T14:19:43.652977074Z","modified_time":"2026-08-05T13:12:40Z","sha256":"3bb49d43833628610acae14ea039bb3a490dc94ec90bd8faac084a977a8f8ebd","source":"amazon-inspector","versions":["3.7.2"],"id":"IN-MAL-2026-014926"}]},"references":[{"type":"PACKAGE","url":"https://www.npmjs.com/package/poly-bbc-service/v/3.7.2"}],"affected":[{"package":{"name":"poly-bbc-service","ecosystem":"npm","purl":"pkg:npm/poly-bbc-service"},"versions":["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"}],"indicators":{"evidence_files":[{"path":"index.js","sha256":"647bdf81eaddc6e1296010cbbaeedf0f9c3bf72dc3e91e04944a8e374a562fe3","tlsh":"94c1616546fa31a36a67e4edf30f10027165e313365de971f48e42902fca568e5f24e8"}],"package_integrity":[{"filename":"poly-bbc-service-3.7.2.tgz","hashes":{"sha1":"21b6b8c9c4b1959ee7c9832258cb1459023626a6","sha512_sri":"sha512-OqKURr88pUhTukZ4qiwtyg9+dPn15Xl+2ZtDf7Zv86q/moBXx6BqGYXKsHcQ5dDxx6ezTjO2YIJgu00Vjj4wlg=="}}]},"source":"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/poly-bbc-service/MAL-2026-12799.json"}}],"schema_version":"1.8.0","credits":[{"name":"Amazon Inspector","contact":["inspector-research@amazon.com"],"type":"FINDER"}]}