MAL-2026-21017

See a problem?
Import Source
https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/coinme-discover/MAL-2026-21017.json
JSON Data
https://api.osv.dev/v1/vulns/MAL-2026-21017
Published
2026-12-02T13:23:45Z
Modified
2026-12-03T08:15:05Z
Summary
Malicious code in coinme-discover (npm)
Details

coinme-discover@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-discover 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 (11f26f44e7a36577f27bd30d1463018ec665fea271829e4fec1358174a330acb)

The package provides no functionality — index.js exports an empty object — and exists only to report that it was installed. A declared postinstall script runs.phone-home.js, which sends the installer's hostname, Node version, platform and package name as query parameters to a hardcoded out-of-band endpoint at workinc.top over HTTPS, with errors suppressed. The same beacon is repeated at the top level of index.js, so any build step or runtime that requires the package also reports host identifiers, tagged to distinguish the import path from the install path. The version number (99.0.1) is set implausibly high for a package of this content, the name resembles an internal/private package, and the callback URL embeds a unique per-target token path — the structure of a dependency-confusion callback that confirms a private package name is resolvable from a victim build environment and identifies the host that resolved it. No credential files or environment contents are read, but the beacon fires automatically on a default install with no disclosure or opt-out.

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":  "0727d0051632a79cdbbe04f8ad543e0f7251bd017826e57001f383e0b166562b"
                },
                "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-discover@99.0.0.",
                "paths":  [
                    ".phone-home.js"
                ],
                "source":  "PACKAGE_ARCHIVE"
            },
            {
                "digests":  {
                    "sha256":  "4f14055174c973a0b96fb53e0a1bd71eb59a3461c72c9163c1673c4edf2d4ec6"
                },
                "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-discover@99.0.1.",
                "paths":  [
                    ".phone-home.js"
                ],
                "source":  "PACKAGE_ARCHIVE"
            }
        ],
        "urls":  [
            "https://workinc.top/oob/o1-67d1357a83292096278eeeffd3c1b3ac6c1bb67c"
        ]
    },
    "malicious-packages-origins":  [
        {
            "id":  "IN-MAL-2026-023171",
            "import_time":  "2026-12-03T06:26:16.932763546Z",
            "modified_time":  "2026-12-03T05:58:49Z",
            "sha256":  "11f26f44e7a36577f27bd30d1463018ec665fea271829e4fec1358174a330acb",
            "source":  "amazon-inspector",
            "versions":  [
                "99.0.1"
            ]
        },
        {
            "id":  "IN-MAL-2026-023168",
            "import_time":  "2026-12-03T06:26:16.808355723Z",
            "modified_time":  "2026-12-03T05:58:27Z",
            "sha256":  "6fc279c51ac780d7b7c0985a93a51dd068bd30123bc6c29ae629e871d07d1a12",
            "source":  "amazon-inspector",
            "versions":  [
                "99.0.0"
            ]
        }
    ]
}
References
Credits

Affected packages

npm / coinme-discover

Package

Name
coinme-discover
View open source insights on deps.dev
Purl
pkg:npm/coinme-discover

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":  ".phone-home.js",
            "sha256":  "7bbdf4052606a83fba75af2cf9b67477672a2ef15e73061b3309b24b87e8cc71",
            "tlsh":  "c8f0acf807f488341de800e8f361590fd8dff611baca38405e96a1d003a31a306612f1"
        },
        {
            "path":  "index.js",
            "sha256":  "affdf907c70f814245277255bd3318cb045f9fc7cfba8bfabcf719b5c026969f",
            "tlsh":  "09f0acf903f490141cda00d8e323452f95cbf510b6dab9804f9661a00be265342931f1"
        }
    ],
    "package_integrity":  [
        {
            "filename":  "coinme-discover-99.0.1.tgz",
            "hashes":  {
                "sha1":  "295f2df420f52bd673bb84391cacbecd7b4f3df9",
                "sha512_sri":  "sha512-eU9AT++9sYksnPkzSjEKG557FLAkaI/Bph78aq1Ey/PJWrtoxhG3BAU+TBKwUrVCt+eWzjKYytt3szbbksXDjw=="
            }
        }
    ]
}
source
"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/coinme-discover/MAL-2026-21017.json"