MAL-2026-21026: Malicious code in mycore-ledger-sdk (npm)
--- -= Per source details. Do not edit below this line.=-
Source: amazon-inspector (16107a1388691730981e4621f06c4d49fe6e1d57578f0a028a524b744c33dbc0) The package declares a postinstall lifecycle script (postinstall.js) that runs automatically on npm install. It collects host and environment identifiers — os.hostname(), os.userInfo() username, process.cwd(), platform/arch, Node version, and a set of CI-provider environment indicators — and transmits them as query parameters in an HTTPS GET to a hardcoded endpoint at https://workinc.top/oob/<token>, with a DNS lookup to <token>.cb.workinc.top as an out-of-band fallback channel. The destination is unrelated to any declared package purpose, the token is embedded in the shipped file, and the behavior is undisclosed and not opt-in. The version number 99.0.0 is implausibly high for a first-party release and is consistent with a dependency-confusion resolution attempt against an internally named package.
Affected Software
Event History
Frequently Asked Questions
When does the data collection occur, and what systems are exposed?
It runs automatically during npm install through the package's postinstall script. Any environment where mycore-ledger-sdk version 99.0.0 is installed may expose the host name, current username, working directory, platform and architecture, Node version, and CI-provider environment indicators.
Does exploitation require an application to import or execute the package?
No. The behavior is triggered by the npm postinstall lifecycle script during installation, so importing the package is not required.
What network activity should be investigated?
Investigate HTTPS requests to workinc.top under the /oob/ path and DNS lookups for subdomains of cb.workinc.top. These are the identified exfiltration channels used by the postinstall script.
How can I determine whether an environment may have been affected?
Check dependency manifests, lockfiles, npm caches, and installation logs for mycore-ledger-sdk version 99.0.0. Also review network and DNS telemetry for the identified workinc.top destinations around npm installation activity.