mycore-sdknpm
Advisory published Updated
mycore-sdk is a confirmed malicious npm package (MAL-2026-21006) that opens a backdoor for remote access (malicious versions 99.0.0, 99.0.1). Do not install it — remove it immediately and rotate any exposed credentials.
Malicious code in mycore-sdk (npm)
What this malware does
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).
[email protected] 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.
Malicious versions
Indicators of compromise (SHA-256)
Detection & response playbook
Backdoor / remote accessFind it
Search your lockfiles and build artifacts for mycore-sdk (2 malicious versions).
If you installed it — respond
mycore-sdk establishes remote access, so treat any host that installed it as fully compromised. Isolate the machine, remove the package, rotate all credentials it could reach, and rebuild from a trusted image rather than cleaning in place — a backdoor may have planted additional persistence.
Did it already run?
If mycore-sdk was installed, its post-install payload may already have run. Removing the package does not undo that — check outbound connections and credential use from the install window onward.
Frequently asked questions
Campaign
References
Credits
- Amazon Inspector · finder
- Robin Frehner, Protet · finder
Detect & block this
O3 blocks mycore-sdk-class packages before install and in CI — and if it already ran, its runtime egress monitoring catches the C2 callback and severs the channel.