Skip to main content
MalwarePublished

mycore-sdk (npm) · Malicious Code

Affects mycore-sdkSource GCVE Database

0

Malicious package : remove mycore-sdk and rotate any secrets on hosts that installed it.

Data as of 3 Dec 2026, 08:16 UTC

Classification

Malicious package

Published to npm · OSV MAL-2026-21006

What to do

Remove mycore-sdk from every project, lockfile and image that pulls it in. Treat any host that installed it as compromised: rotate the credentials, tokens and keys it could read, from a clean machine.

Affected software

ProductAffectedFixed in
npmmycore-sdkAffected
  • =99.0.0
  • =99.0.1
Fixed in–

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

Description

mycore-sdk 99.0.0 and 99.0.1 declare a postinstall script (`node postinstall.js`) that runs automatically on `npm install`. The script resolves a per-release host name under workinc[.]top (<token>.cb.workinc[.]top) and sends an HTTPS GET request to hxxps://workinc[.]top/oob/<token> 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. The token is o1-9f05a0caef26cffe2170d176343f27285ab3d0aa in 99.0.0 and o1-f25d3f6c71dc42b3d961409494e1e2c97e57c287 in 99.0.1; the two versions differ only in this token. This confirms to the operator that code ran on that machine and identifies the host. The package presents itself as a payments and card-processing 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. The same infrastructure and publisher email domain were used by crassula (MAL-2026-20952). --- _-= Per source details. Do not edit below this line.=-_ ## Source: amazon-inspector (a87947671bd37d11341793e62ff35eb7ae032365936571b8c7eaf689195e897b) mycore-sdk@99.0.1 declares a `postinstall` script (postinstall.js) that runs automatically on `npm install`. It collects os.hostname(), os.userInfo() username, process.cwd(), platform/arch, Node version and a set of CI-provider environment indicators, then sends them as query parameters in an HTTPS GET to the hardcoded endpoint https://workinc.top/oob/<token>, and additionally performs a DNS lookup of <token>.cb.workinc.top as an out-of-band correlation channel. The token-keyed destination allows the recipient to correlate individual installs. The shipped library body (index.js) is a trivial HTTP wrapper with no payments or card functionality matching the advertised SDK purpose, so the install-time beacon is the only substantive behavior in the package.

References

Community reviews

Loading reviews…