MAL-2026-18319

See a problem?
Import Source
https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/@sxm-web/client-sdk-core/MAL-2026-18319.json
JSON Data
https://api.osv.dev/v1/vulns/MAL-2026-18319
Published
2026-10-23T23:04:22Z
Modified
2026-10-26T06:00:04Z
Summary
Malicious code in @sxm-web/client-sdk-core (npm)
Details

@sxm-web/client-sdk-core is a dependency-confusion package: it is described as a "Compatibility shim", uses inflated version numbers, and its README calls it an "authorized dependency-confusion test". Each listed version (0.0.1, 1.0.0, 1.0.1, 2.0.0, 1.1.0, 3.0.0, 13.3.7) has a postinstall script that runs node beacon.cjs on npm install, and index.js calls the same code when the package is imported; it POSTs the hostname, install path and current working directory over plain HTTP to http://185.158.107.175:8787/_ah/dc, and index.js exports a Proxy that returns no-op functions so builds importing the real package keep running. The npm account wiseke published 14 such packages under the @greenlake, @sxm-web, @drone-js-ext and @ppa-web-components scopes between 2026-10-23 21:23 and 2026-10-25 14:28 UTC; index.js is byte-identical to that of ph-common (MAL-2026-1809), which sends to the same endpoint.


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

Source: amazon-inspector (8d53280e50e3f0ad06e3ab6e3685856cd774465fd6d4461d64e22caad4ee94fc)

@sxm-web/client-sdk-core@1.0.1 is a stub package whose only functional code is a beacon. The declared postinstall script runs node beacon.cjs, and the same beacon is also invoked at require time from index.js. The beacon collects installer-side identifiers (hostname, install path, current working directory, Node.js version, package name) and POSTs them in cleartext over plain HTTP to the hardcoded bare-IP endpoint http://185.158.107.175:8787/_ah/dc, which is unrelated to any legitimate registry or publisher infrastructure. The package's main returns a Proxy that produces no-op functions for every accessed property, so the package provides no advertised functionality — the install itself is the payload. The scoped name @sxm-web/client-sdk-core combined with a Compatibility shim description is consistent with a dependency-confusion probe aimed at an internal/private SDK namespace, where the beacon's purpose is to confirm successful resolution against private names and to disclose the resolving host's identity and filesystem layout to the operator at the bare IP.

Database specific
{
    "iocs":  {
        "files":  [
            {
                "digests":  {
                    "sha256":  "a86a4da763bbb34c16f361abe7aab66d5df591b66867ac8160041f932159b08d"
                },
                "note":  "Main entry point; calls beacon.cjs fire() on import and exports a no-op Proxy. Identical in all listed versions and in ph-common (MAL-2026-1809).",
                "paths":  [
                    "index.js"
                ],
                "source":  "PACKAGE_ARCHIVE"
            },
            {
                "digests":  {
                    "sha256":  "f599d42b1318fbcaeb71cbb178d1614cb87380daf939b91e5dddb616ed610dab"
                },
                "note":  "postinstall script runs `node beacon.cjs`, which POSTs hostname, install path and cwd to http://185.158.107.175:8787/_ah/dc (@sxm-web/client-sdk-core@0.0.1).",
                "paths":  [
                    "package.json"
                ],
                "source":  "PACKAGE_ARCHIVE"
            },
            {
                "digests":  {
                    "sha256":  "ce4fb23db1af4a1634198def67164706b2473c6c5d01d3a2c357db37f7c0de2c"
                },
                "note":  "Executed by the postinstall script of @sxm-web/client-sdk-core@0.0.1.",
                "paths":  [
                    "beacon.cjs"
                ],
                "source":  "PACKAGE_ARCHIVE"
            },
            {
                "digests":  {
                    "sha256":  "90f61806b4f5e6dbd7993804c34af4777a105d76b8f6708368b11587e5b0ef6e"
                },
                "note":  "postinstall script runs `node beacon.cjs`, which POSTs hostname, install path and cwd to http://185.158.107.175:8787/_ah/dc (@sxm-web/client-sdk-core@1.0.0).",
                "paths":  [
                    "package.json"
                ],
                "source":  "PACKAGE_ARCHIVE"
            },
            {
                "digests":  {
                    "sha256":  "ce4fb23db1af4a1634198def67164706b2473c6c5d01d3a2c357db37f7c0de2c"
                },
                "note":  "Executed by the postinstall script of @sxm-web/client-sdk-core@1.0.0.",
                "paths":  [
                    "beacon.cjs"
                ],
                "source":  "PACKAGE_ARCHIVE"
            },
            {
                "digests":  {
                    "sha256":  "9e529ec8b053869df8a31c066a50dfdad6214a22b20910aabaa97f20dd92c3bc"
                },
                "note":  "postinstall script runs `node beacon.cjs`, which POSTs hostname, install path and cwd to http://185.158.107.175:8787/_ah/dc (@sxm-web/client-sdk-core@1.0.1).",
                "paths":  [
                    "package.json"
                ],
                "source":  "PACKAGE_ARCHIVE"
            },
            {
                "digests":  {
                    "sha256":  "ce4fb23db1af4a1634198def67164706b2473c6c5d01d3a2c357db37f7c0de2c"
                },
                "note":  "Executed by the postinstall script of @sxm-web/client-sdk-core@1.0.1.",
                "paths":  [
                    "beacon.cjs"
                ],
                "source":  "PACKAGE_ARCHIVE"
            },
            {
                "digests":  {
                    "sha256":  "0ffe0d619583f7bd1c76756f9f054014260ea799e052c3b2efb37557b386e867"
                },
                "note":  "postinstall script runs `node beacon.cjs`, which POSTs hostname, install path and cwd to http://185.158.107.175:8787/_ah/dc (@sxm-web/client-sdk-core@2.0.0).",
                "paths":  [
                    "package.json"
                ],
                "source":  "PACKAGE_ARCHIVE"
            },
            {
                "digests":  {
                    "sha256":  "ce4fb23db1af4a1634198def67164706b2473c6c5d01d3a2c357db37f7c0de2c"
                },
                "note":  "Executed by the postinstall script of @sxm-web/client-sdk-core@2.0.0.",
                "paths":  [
                    "beacon.cjs"
                ],
                "source":  "PACKAGE_ARCHIVE"
            },
            {
                "digests":  {
                    "sha256":  "f967895dffe2760eb7a5a64e2d6672ec0ea0647d91c2acfc6bdc802f0b4ac442"
                },
                "note":  "postinstall script runs `node beacon.cjs`, which POSTs hostname, install path and cwd to http://185.158.107.175:8787/_ah/dc (@sxm-web/client-sdk-core@1.1.0).",
                "paths":  [
                    "package.json"
                ],
                "source":  "PACKAGE_ARCHIVE"
            },
            {
                "digests":  {
                    "sha256":  "ce4fb23db1af4a1634198def67164706b2473c6c5d01d3a2c357db37f7c0de2c"
                },
                "note":  "Executed by the postinstall script of @sxm-web/client-sdk-core@1.1.0.",
                "paths":  [
                    "beacon.cjs"
                ],
                "source":  "PACKAGE_ARCHIVE"
            },
            {
                "digests":  {
                    "sha256":  "6be44c90677ccf6def4702725e646223ed3454ca23c9dcabe75fd4260b13dfdf"
                },
                "note":  "postinstall script runs `node beacon.cjs`, which POSTs hostname, install path and cwd to http://185.158.107.175:8787/_ah/dc (@sxm-web/client-sdk-core@3.0.0).",
                "paths":  [
                    "package.json"
                ],
                "source":  "PACKAGE_ARCHIVE"
            },
            {
                "digests":  {
                    "sha256":  "ce4fb23db1af4a1634198def67164706b2473c6c5d01d3a2c357db37f7c0de2c"
                },
                "note":  "Executed by the postinstall script of @sxm-web/client-sdk-core@3.0.0.",
                "paths":  [
                    "beacon.cjs"
                ],
                "source":  "PACKAGE_ARCHIVE"
            },
            {
                "digests":  {
                    "sha256":  "fdc5f53ec4c565f13d3946d42ad8e52651a0a5f9b6d438acddecc60ea8cd6bf4"
                },
                "note":  "postinstall script runs `node beacon.cjs`, which POSTs hostname, install path and cwd to http://185.158.107.175:8787/_ah/dc (@sxm-web/client-sdk-core@13.3.7).",
                "paths":  [
                    "package.json"
                ],
                "source":  "PACKAGE_ARCHIVE"
            },
            {
                "digests":  {
                    "sha256":  "ce4fb23db1af4a1634198def67164706b2473c6c5d01d3a2c357db37f7c0de2c"
                },
                "note":  "Executed by the postinstall script of @sxm-web/client-sdk-core@13.3.7.",
                "paths":  [
                    "beacon.cjs"
                ],
                "source":  "PACKAGE_ARCHIVE"
            }
        ],
        "ips":  [
            "185.158.107.175"
        ],
        "urls":  [
            "http://185.158.107.175:8787/_ah/dc"
        ]
    },
    "malicious-packages-origins":  [
        {
            "id":  "IN-MAL-2026-021730",
            "import_time":  "2026-10-26T05:46:53.051782426Z",
            "modified_time":  "2026-10-26T05:43:20Z",
            "sha256":  "42b3458fc857bfb415b29a455ebd6a8b7b176f973c49edacbdff423a250082ea",
            "source":  "amazon-inspector",
            "versions":  [
                "2.0.0"
            ]
        },
        {
            "id":  "IN-MAL-2026-021732",
            "import_time":  "2026-10-26T05:46:53.106376391Z",
            "modified_time":  "2026-10-26T05:43:37Z",
            "sha256":  "8d53280e50e3f0ad06e3ab6e3685856cd774465fd6d4461d64e22caad4ee94fc",
            "source":  "amazon-inspector",
            "versions":  [
                "1.0.1"
            ]
        },
        {
            "id":  "IN-MAL-2026-021728",
            "import_time":  "2026-10-26T05:46:52.971859203Z",
            "modified_time":  "2026-10-26T05:43:01Z",
            "sha256":  "d8fdd7b26faa2adca14501735a2291bd7771260f3d52c74490cb2db81f16368c",
            "source":  "amazon-inspector",
            "versions":  [
                "1.0.0"
            ]
        },
        {
            "id":  "IN-MAL-2026-021727",
            "import_time":  "2026-10-26T05:46:52.944982244Z",
            "modified_time":  "2026-10-26T05:42:51Z",
            "sha256":  "e467823c135acfa0594e8dc07c3be873b64da1fcc42cf3312a89164543486721",
            "source":  "amazon-inspector",
            "versions":  [
                "0.0.1"
            ]
        },
        {
            "id":  "IN-MAL-2026-021731",
            "import_time":  "2026-10-26T05:46:53.079266348Z",
            "modified_time":  "2026-10-26T05:43:27Z",
            "sha256":  "e673ef51435cb0a6c60b7486ec2e875560098cc42714165d361d377133b0c449",
            "source":  "amazon-inspector",
            "versions":  [
                "3.0.0"
            ]
        },
        {
            "id":  "IN-MAL-2026-021729",
            "import_time":  "2026-10-26T05:46:53.025553442Z",
            "modified_time":  "2026-10-26T05:43:07Z",
            "sha256":  "166385e0d93f9764772478ac5672dd536eb8d40aa1b215ce6da3fbdddc7cb89a",
            "source":  "amazon-inspector",
            "versions":  [
                "13.3.7"
            ]
        },
        {
            "id":  "IN-MAL-2026-021733",
            "import_time":  "2026-10-26T05:46:53.137114597Z",
            "modified_time":  "2026-10-26T05:43:45Z",
            "sha256":  "2cf34b5856753c396d468ca11d8d0cace1c9bdcebcfa788f594b35323adb1919",
            "source":  "amazon-inspector",
            "versions":  [
                "1.1.0"
            ]
        }
    ]
}
References
Credits

Affected packages

npm / @sxm-web/client-sdk-core

Package

Name
@sxm-web/client-sdk-core
View open source insights on deps.dev
Purl
pkg:npm/%40sxm-web/client-sdk-core

Affected ranges

Affected versions

0.*
0.0.1
1.*
1.0.0
1.0.1
1.1.0
2.*
2.0.0
3.*
3.0.0
13.*
13.3.7

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"
    },
    {
        "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"
    },
    {
        "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":  "beacon.cjs",
            "sha256":  "ce4fb23db1af4a1634198def67164706b2473c6c5d01d3a2c357db37f7c0de2c",
            "tlsh":  "0e3161eba8e0a0489aab7098c54f0409f17bf4068401ab50fd5c82959f6153c33fa8dc"
        },
        {
            "path":  "index.js",
            "sha256":  "a86a4da763bbb34c16f361abe7aab66d5df591b66867ac8160041f932159b08d",
            "tlsh":  "2201d0d7225661b10b5221a4978f43c4a3b99d74027941d0d84a9226365108c463b8ee"
        }
    ],
    "package_integrity":  [
        {
            "filename":  "client-sdk-core-2.0.0.tgz",
            "hashes":  {
                "sha1":  "b47e24ec3a949a6bcc0f337816ab342363e25b05",
                "sha512_sri":  "sha512-vXsIUpqkV7f+TqXNVtuohHgelJBlUpB67pQdk14dPUK9IL3Xd6i+mJUqpHgNv32lOwBjuTrMp725WeEwKG0wRg=="
            }
        }
    ]
}
source
"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/@sxm-web/client-sdk-core/MAL-2026-18319.json"