Skip to main content
MalwarePublished

mycore-ledger-sdk (npm) · Malicious Code

Affects mycore-ledger-sdkSource GCVE Database

0

Malicious package : remove mycore-ledger-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-21026

What to do

Remove mycore-ledger-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-ledger-sdkAffected
  • =99.0.0
Fixed in–

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

Description

--- _-= 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.

References

Community reviews

Loading reviews…