Is mycore-sdk malicious?
Yes. Protet confirmed 2 versions of mycore-sdk as malicious
First confirmed on 2026-12-02.
Affected versions
| Version | Confirmed | Protet record |
|---|---|---|
| 99.0.1 | 2026-12-02 | PROTET-NPM-2026-336 |
| 99.0.0 | 2026-12-02 | PROTET-NPM-2026-335 |
What it does
mycore-sdk 99.0.1 declares a postinstall script (node postinstall.js) that runs automatically on npm install. The script resolves a per-campaign host name under workinc[.]top and sends an HTTPS request to https://workinc[.]top/oob/o1-f25d3f6c71dc42b3d961409494e1e2c97e57c287 carrying the installing machine's host name, the current working directory, the local user name, the platform and Node.js version, and which CI system it is running in. This confirms to the operator that code ran on that machine and identifies the host. The package presents itself as a payments SDK, but its only code is a minimal HTTP wrapper; it uses the version numbers 99.0.0 and 99.0.1 to take precedence over a private package of the same name. Version 99.0.1 differs from 99.0.0 only in this per-campaign token. This is a dependency-confusion install-time beacon; the same infrastructure was used by the earlier package crassula.
Other reports
- Also reported in OSV as MAL-2026-21006
What to do if you installed it
- Remove the package from every project that uses it, directly or through another dependency.
- Pin a clean version if you need the package: one that is not listed above and that you have checked yourself, or replace the package. A version missing from this page is not cleared.
- Check your lockfiles (
package-lock.json,yarn.lock,pnpm-lock.yaml) for the affected versions, including as a transitive dependency, and in CI caches. - Rotate credentials that were reachable from any machine or build that installed it: npm and GitHub tokens, cloud keys, SSH keys, and secrets in environment variables or CI settings.
Status history
- 2026-12-02: 99.0.0, 99.0.1 named by Protet Intel