# MAL-2026-13944: Malicious code in copytrade-core (npm)


- **Type:** Malicious package
- **Package:** `copytrade-core` (npm)
- **Published:** 13 Aug 2026

## What is MAL-2026-13944?

MAL-2026-13944 is a malicious package in copytrade-core, published on 13 Aug 2026. 

### Official description

index.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.

## What should I do about MAL-2026-13944?

Remove the package from your dependencies and lockfiles, then rotate any secrets on machines where it was installed.

## Fix prompt for AI coding agents

```text
MAL-2026-13944 is a malicious package: copytrade-core (npm). Every version was published to cause harm.

Task:
1. Search this repository's dependency manifests and lockfiles for the package, including transitive dependencies.
2. If it is present, remove it, regenerate the lockfile with the project's package manager, and replace whatever it was used for.
3. List any CI runners, developer machines or containers that installed it, so their secrets can be rotated.
4. If the package is not used anywhere, say so and change nothing.

Reference: https://insights.sbomify.com/MAL-2026-13944/ (Markdown: https://insights.sbomify.com/MAL-2026-13944/index.md)
```

## Sources

- OSV: https://osv.dev/vulnerability/MAL-2026-13944

---
From sbomify Insights: https://insights.sbomify.com/MAL-2026-13944/
Summaries are generated and may contain mistakes; the official description above is the record.
