MAL-2026-21011

See a problem?
Import Source
https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/@coinme-security/risk-sdk-js/MAL-2026-21011.json
JSON Data
https://api.osv.dev/v1/vulns/MAL-2026-21011
Published
2026-12-02T16:10:21Z
Modified
2026-12-03T08:15:05Z
Summary
Malicious code in @coinme-security/risk-sdk-js (npm)
Details

@coinme-security/risk-sdk-js@99.0.0 is a dependency-confusion package that poses as an internal Coinme module ("Coinme platform shared module", author "Coinme Platform Engineering") and is published at a 99.x version so it outranks a same-named private package; it has no functional code. Its postinstall script runs node .phone-home.js install on npm install, and index.js repeats the request when the package is required: both send an HTTPS GET to hxxps://workinc[.]top/oob/o1-67d1357a83292096278eeeffd3c1b3ac6c1bb67c with the package name, the machine's hostname, the Node.js version and the platform in the query string. The npm account cameronholbrook published @coinme-security/risk-sdk-js and 17 sibling coinme-* and @coinme-security/* packages with the same code on 2026-12-02.


-= Per source details. Do not edit below this line.=-

Source: amazon-inspector (10db04dc1d7460b9f34516eb0f84fe60464407078db10f0422f67d623f67c04e)

The package declares a postinstall hook (node.phone-home.js install) that collects the installing host's os.hostname(), process.version and process.platform and sends them in an HTTPS GET to the hardcoded external host https://workinc.top/oob/o1-<token> with a per-target identifier embedded in the URL path and the hostname passed as an &h= query parameter. Errors are swallowed and the request is timeout-capped, so the beacon fails silently and leaves no visible output during installation. The package main (index.js) repeats the same request with &m=import on require(), so any consumer that loads the module also discloses the same host identifiers, and then exports an empty object, providing none of the functionality the scoped security-SDK name implies. The combination of a vendor-style scope, the implausibly high version 99.0.0 chosen to win version resolution against an internal package of the same name, a no-functionality payload, and a per-target callback token on an unrelated domain is the dependency-confusion beacon pattern: successful resolution inside a private build environment is reported back to the operator of workinc.top, confirming a reachable internal namespace and host.

Database specific
{
    "iocs":  {
        "domains":  [
            "workinc.top"
        ],
        "files":  [
            {
                "digests":  {
                    "sha256":  "7bbdf4052606a83fba75af2cf9b67477672a2ef15e73061b3309b24b87e8cc71"
                },
                "note":  ".phone-home.js, run by postinstall; GET https://workinc.top/oob/o1-67d1357a... with hostname.",
                "paths":  [
                    ".phone-home.js"
                ],
                "source":  "PACKAGE_ARCHIVE"
            },
            {
                "digests":  {
                    "sha256":  "affdf907c70f814245277255bd3318cb045f9fc7cfba8bfabcf719b5c026969f"
                },
                "note":  "index.js; same GET with m=import when the package is required.",
                "paths":  [
                    "index.js"
                ],
                "source":  "PACKAGE_ARCHIVE"
            },
            {
                "digests":  {
                    "sha256":  "3f82c21e7f6d876891e358fea40751fd9550d406d33f014ceda5b46c2bf543a3"
                },
                "note":  "postinstall runs `node .phone-home.js install`, which sends the hostname to workinc.top.",
                "paths":  [
                    "package.json"
                ],
                "source":  "PACKAGE_ARCHIVE"
            },
            {
                "digests":  {
                    "sha256":  "7bbdf4052606a83fba75af2cf9b67477672a2ef15e73061b3309b24b87e8cc71"
                },
                "note":  "Executed by the postinstall script of @coinme-security/risk-sdk-js@99.0.0.",
                "paths":  [
                    ".phone-home.js"
                ],
                "source":  "PACKAGE_ARCHIVE"
            }
        ],
        "urls":  [
            "https://workinc.top/oob/o1-67d1357a83292096278eeeffd3c1b3ac6c1bb67c"
        ]
    },
    "malicious-packages-origins":  [
        {
            "id":  "IN-MAL-2026-023166",
            "import_time":  "2026-12-03T06:26:16.655801925Z",
            "modified_time":  "2026-12-03T05:58:12Z",
            "sha256":  "10db04dc1d7460b9f34516eb0f84fe60464407078db10f0422f67d623f67c04e",
            "source":  "amazon-inspector",
            "versions":  [
                "99.0.0"
            ]
        }
    ]
}
References
Credits

Affected packages

npm / @coinme-security/risk-sdk-js

Package

Name
@coinme-security/risk-sdk-js
View open source insights on deps.dev
Purl
pkg:npm/%40coinme-security/risk-sdk-js

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":  ".phone-home.js",
            "sha256":  "7bbdf4052606a83fba75af2cf9b67477672a2ef15e73061b3309b24b87e8cc71",
            "tlsh":  "c8f0acf807f488341de800e8f361590fd8dff611baca38405e96a1d003a31a306612f1"
        },
        {
            "path":  "index.js",
            "sha256":  "affdf907c70f814245277255bd3318cb045f9fc7cfba8bfabcf719b5c026969f",
            "tlsh":  "09f0acf903f490141cda00d8e323452f95cbf510b6dab9804f9661a00be265342931f1"
        }
    ],
    "package_integrity":  [
        {
            "filename":  "risk-sdk-js-99.0.0.tgz",
            "hashes":  {
                "sha1":  "5e5a754008f3cd28c711f89d9ecd160f3b0af67c",
                "sha512_sri":  "sha512-qif+4mkfniB/Ki8aIFyP8FeSCLzpmbjZhWkwuKba2N8VPrZBYkuDdobAlWWBGOJI66yKAaQKde2i1bpvous9hA=="
            }
        }
    ]
}
source
"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/@coinme-security/risk-sdk-js/MAL-2026-21011.json"