MAL-2026-21026

See a problem?
Import Source
https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/mycore-ledger-sdk/MAL-2026-21026.json
JSON Data
https://api.osv.dev/v1/vulns/MAL-2026-21026
Published
2026-12-02T14:18:19Z
Modified
2026-12-03T08:30:05Z
Summary
Malicious code in mycore-ledger-sdk (npm)
Details

mycore-ledger-sdk@99.0.0 is a dependency-confusion package that poses as an internal MyCore client SDK and is published at version 99.0.0 so it outranks a same-named private package. Its postinstall script runs node postinstall.js on npm install, which resolves o1-f25d3f6c71dc42b3d961409494e1e2c97e57c287.cb.workinc[.]top and sends an HTTPS GET to hxxps://workinc[.]top/oob/o1-f25d3f6c71dc42b3d961409494e1e2c97e57c287 with the machine's hostname, working directory, username, platform, Node.js version and detected CI system in the query string. The npm account matiaskorhonen published mycore-ledger-sdk and 1 sibling mycore-* package with the same script on 2026-12-02, after mycore-sdk.


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

Database specific
{
    "iocs":  {
        "domains":  [
            "workinc.top",
            "o1-f25d3f6c71dc42b3d961409494e1e2c97e57c287.cb.workinc.top"
        ],
        "files":  [
            {
                "digests":  {
                    "sha256":  "f73f90d914e847e97449e05c9079475a6e0f10e0ca55dce39f1938a2770a19f1"
                },
                "note":  "mycore-processor-sdk postinstall.js; DNS lookup + GET https://workinc.top/oob/o1-f25d3f6c... with host details.",
                "paths":  [
                    "postinstall.js"
                ],
                "source":  "PACKAGE_ARCHIVE"
            },
            {
                "digests":  {
                    "sha256":  "1b040d7319ec5f211f1e2556ea21b3253874f4d0852350eb7ea4befa270244c6"
                },
                "note":  "mycore-ledger-sdk postinstall.js; same code, src=mycore-ledger-sdk.",
                "paths":  [
                    "postinstall.js"
                ],
                "source":  "PACKAGE_ARCHIVE"
            },
            {
                "digests":  {
                    "sha256":  "0b390c89023625e51bd59351937494a4d495b590b037d7942ecc62cce2deb5cc"
                },
                "note":  "postinstall runs `node postinstall.js`, which sends host and user details to workinc.top.",
                "paths":  [
                    "package.json"
                ],
                "source":  "PACKAGE_ARCHIVE"
            }
        ],
        "urls":  [
            "https://workinc.top/oob/o1-f25d3f6c71dc42b3d961409494e1e2c97e57c287"
        ]
    },
    "malicious-packages-origins":  [
        {
            "id":  "IN-MAL-2026-023186",
            "import_time":  "2026-12-03T06:26:17.675413878Z",
            "modified_time":  "2026-12-03T06:00:35Z",
            "sha256":  "16107a1388691730981e4621f06c4d49fe6e1d57578f0a028a524b744c33dbc0",
            "source":  "amazon-inspector",
            "versions":  [
                "99.0.0"
            ]
        }
    ]
}
References
Credits

Affected packages

npm / mycore-ledger-sdk

Package

Name
mycore-ledger-sdk
View open source insights on deps.dev
Purl
pkg:npm/mycore-ledger-sdk

Affected ranges

Affected versions

99.*
99.0.0

Database specific

cwes
[
    {
        "cweId":  "CWE-506",
        "description":  "The product contains code that appears to be malicious in nature.",
        "name":  "Embedded Malicious Code"
    },
    {
        "cweId":  "CWE-506",
        "description":  "The product contains code that appears to be malicious in nature.",
        "name":  "Embedded Malicious Code"
    }
]
indicators
{
    "evidence_files":  [
        {
            "path":  "postinstall.js",
            "sha256":  "1b040d7319ec5f211f1e2556ea21b3253874f4d0852350eb7ea4befa270244c6",
            "tlsh":  "0a31fb7a42e56c3f01f217e0b136ea1597e2a0913341d6f06254f1027ff1b354ef299a"
        }
    ],
    "package_integrity":  [
        {
            "filename":  "mycore-ledger-sdk-99.0.0.tgz",
            "hashes":  {
                "sha1":  "19ef686680aa523cc279bb2b04ee3986e4d8cceb",
                "sha512_sri":  "sha512-SDoBl/Qabm0lb2Il8EchMqjkFfrkYPvpfaj1gkBF7vuGlUTk/JC8NUdlX0XOqSUcl2siZDHUQky6foNlR1G+1Q=="
            }
        }
    ]
}
source
"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/mycore-ledger-sdk/MAL-2026-21026.json"