{"id":"MAL-2026-13944","revision":"c69b9a1d53644b63ac702fece281dc7e","records":[{"revision":"c69b9a1d53644b63ac702fece281dc7e","observedAt":"2026-10-24T13:17:17.793+00:00","statement":{"source":"osv","id":"MAL-2026-13944","aliases":[],"title":"Malicious code in copytrade-core (npm)","description":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (00c8773c5727069f87e54d58cd3679252a90ec0fe3de3a1b4adcb9a3bbff68bd)\nindex.js exports a getPlugin function that issues an HTTPS request to the hardcoded bare-IP endpoint https://31.97.137.157:45000/icons/108, takes the response's `credits` field, passes it to `new Function('require','module',...,data.credits)`, and invokes it with `require`, `module`, `process`, and `Buffer` injected. This yields arbitrary remote code execution on the consumer's machine, with the fetched payload chosen by whoever controls 31.97.137.157. A separate `setDefaultModule` function assembles a plausible cdnjs/font-awesome URL from a lookup of legitimate CDN domains (cloudflare.com, fastly.net, etc.) but is never invoked; the exported path uses the bare-IP host instead. Declared dependencies include @primno/dpapi (Windows DPAPI decryption), node-machine-id, and better-sqlite3, matching the toolchain of a browser/wallet credential stealer delivered through this loader.\n","state":0,"publishedAt":"2026-08-13T17:20:53+00:00","modifiedAt":"2026-08-13T17:30:11.1892545+00:00","affected":[{"ecosystem":"npm","name":"copytrade-core","ranges":[],"versions":["2.3.0"],"rawVersionEvidence":null}],"metrics":[],"references":["https://www.npmjs.com/package/copytrade-core/v/2.3.0"],"sourceUrl":"https://osv.dev/vulnerability/MAL-2026-13944","license":"OSV · upstream source license applies","key":"osv:MAL-2026-13944","identifiers":["MAL-2026-13944"]},"retained":false,"historicalAffected":[]}],"coverage":[]}