MAL-2026-21006

See a problem?
Import Source
https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/mycore-sdk/MAL-2026-21006.json
JSON Data
https://api.osv.dev/v1/vulns/MAL-2026-21006
Related
Published
2026-12-02T12:40:11Z
Modified
2026-12-03T06:30:07Z
Summary
Malicious code in mycore-sdk (npm)
Details

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 (.cb.workinc[.]top) and sends an HTTPS GET request to hxxps://workinc[.]top/oob/ 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/, and additionally performs a DNS lookup of .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.

Database specific
{
    "iocs":  {
        "domains":  [
            "workinc.top",
            "o1-9f05a0caef26cffe2170d176343f27285ab3d0aa.cb.workinc.top",
            "o1-f25d3f6c71dc42b3d961409494e1e2c97e57c287.cb.workinc.top"
        ],
        "files":  [
            {
                "digests":  {
                    "sha256":  "80d9df2c8bc5e4bd018cf1bdc83b75f2187f615e6369b40b0324ce2d7252b3ed"
                },
                "note":  "mycore-sdk@99.0.0: postinstall script node postinstall.js",
                "paths":  [
                    "package.json"
                ],
                "source":  "PACKAGE_ARCHIVE"
            },
            {
                "digests":  {
                    "sha256":  "02db911c0736a926e0240fb36f6cca54b3f0818d2ae4b02dc0a1d1ae448f625b"
                },
                "note":  "Executed by the postinstall script of mycore-sdk@99.0.0; sends host name, working directory, user name and CI system to workinc[.]top.",
                "paths":  [
                    "postinstall.js"
                ],
                "source":  "PACKAGE_ARCHIVE"
            },
            {
                "digests":  {
                    "sha256":  "4affd061f1e39b54add4ab438888c897641cb6d21d066cd67f07a97310eef1e5"
                },
                "note":  "mycore-sdk@99.0.1: postinstall script node postinstall.js",
                "paths":  [
                    "package.json"
                ],
                "source":  "PACKAGE_ARCHIVE"
            },
            {
                "digests":  {
                    "sha256":  "2c15386f0c286795b3f2db8498771f6f372940376b9a5c106748fcbe8341fd8c"
                },
                "note":  "Executed by the postinstall script of mycore-sdk@99.0.1; same beacon as 99.0.0 with a different token.",
                "paths":  [
                    "postinstall.js"
                ],
                "source":  "PACKAGE_ARCHIVE"
            }
        ],
        "ips":  [
            "151.243.46.138"
        ],
        "urls":  [
            "https://workinc.top/oob/o1-9f05a0caef26cffe2170d176343f27285ab3d0aa",
            "https://workinc.top/oob/o1-f25d3f6c71dc42b3d961409494e1e2c97e57c287"
        ]
    },
    "malicious-packages-origins":  [
        {
            "id":  "IN-MAL-2026-023182",
            "import_time":  "2026-12-03T06:26:17.487153934Z",
            "modified_time":  "2026-12-03T06:00:06Z",
            "sha256":  "58151542c6a67ffb2c5fac5b0d1e9dfc2d536e719bd9ca286e1bf6d53cebbfaf",
            "source":  "amazon-inspector",
            "versions":  [
                "99.0.0"
            ]
        },
        {
            "id":  "IN-MAL-2026-023181",
            "import_time":  "2026-12-03T06:26:17.438144836Z",
            "modified_time":  "2026-12-03T06:00:00Z",
            "sha256":  "a87947671bd37d11341793e62ff35eb7ae032365936571b8c7eaf689195e897b",
            "source":  "amazon-inspector",
            "versions":  [
                "99.0.1"
            ]
        }
    ]
}
References
Credits

Affected packages

npm / mycore-sdk

Package

Affected ranges

Affected versions

99.*
99.0.0
99.0.1

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"
    },
    {
        "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":  "02db911c0736a926e0240fb36f6cca54b3f0818d2ae4b02dc0a1d1ae448f625b",
            "tlsh":  "f631dd7942e56c2f11f317e0b13bea159be2a4413341d5f06654f1017ff1b3949b299b"
        }
    ],
    "package_integrity":  [
        {
            "filename":  "mycore-sdk-99.0.0.tgz",
            "hashes":  {
                "sha1":  "d88e4cb1e4b316fa45850584cdecd64dbfe81c11",
                "sha512_sri":  "sha512-7y9ybzkwJCBZbbLUXNFATkPV7S3dnzo5OAkN6vEXc+wvxLYxh3Rw+I9BzP0rrEK4CWuXn/LwJilm1NJpjrkwAA=="
            }
        }
    ]
}
source
"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/mycore-sdk/MAL-2026-21006.json"