MAL-2026-14399Malicious code in sm-payment (npm)
| 版本 | 状态 | 大小 | SHA-256 | 获取方式 |
|---|---|---|---|---|
99.0.0 | unavailable | — | — | — |
99.0.1 | archived | 0.4 KB | 7ef7db20b10c7f400904a752439698869548066b55d882dbbb58a475ffea2f7f | VIP 下载 |
| Ecosystem | Package | Version |
|---|---|---|
| npm | sm-payment | * |
| npm | sm-payment | 99.0.0 |
| npm | sm-payment | 99.0.1 |
{"schema_version":"1.7.4","id":"MAL-2026-14399","published":"2026-08-23T19:00:47Z","modified":"2026-08-24T16:28:17.245245603Z","aliases":["GHSA-xr9c-mx62-832c"],"summary":"Malicious code in sm-payment (npm)","details":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (926b17cedd788f5f626b3c4001ca9f1b9572abe425b87d40d6f03814d211e3e7)\npackage.json declares preinstall and postinstall lifecycle scripts that curl a hardcoded bare IP over plain HTTP (http://16.192.173.5/sm-payment/pre and.../post) automatically on npm install. The package has no build or native-addon purpose that would justify contacting a bare IP at install time; the callbacks fire unsolicited on every install and signal to the operator of that endpoint that the installer's host executed the package. The shape (bare IP, plain HTTP, unrelated to any documented package function, fired from both preinstall and postinstall) is consistent with dependency-confusion / namesquat reconnaissance beacons.\n\n## Source: ghsa-malware (87410aa4c46953f015aae3a513cbe44db95033e13aac23e48e9f86c4ac482977)\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\n## Source: ossf-package-analysis (9608faee43a02423aaf69985bd63b5c9bd188dbfeccc359fb9de20cfdf432a7e)\nThe OpenSSF Package Analysis project identified 'sm-payment' @ 99.0.1 (npm) as malicious.\n\nIt is considered malicious because:\n\n- The package executes one or more commands associated with malicious behavior.\n","affected":[{"package":{"name":"sm-payment","ecosystem":"npm"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"}]}],"versions":["99.0.1","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"},{"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":"a95f5541b72501558e763398744b442ca100c0978722a2c98295de6fe24c8276","tlsh":"27d0237c3c149373b9c517a11574c32b79c15d0741612c0dd7421086166ee77251f906"}],"package_integrity":[{"filename":"sm-payment-99.0.1.tgz","hashes":{"sha1":"b825d04bb1307a7f4b3c4ab73ad97b1f67f40ea9","sha512_sri":"sha512-sVhMEh5rsGUP449IISJ7Zd5WO8OjWUYJKcZhY9FHazlf+Puj6/oih2OSf7l+01sItfTmCM7dHYSmdRu0XFE0ug=="}}]}}}],"references":[{"type":"PACKAGE","url":"https://www.npmjs.com/package/sm-payment/v/99.0.1"},{"type":"PACKAGE","url":"https://www.npmjs.com/package/sm-payment/v/99.0.0"},{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-xr9c-mx62-832c"}],"database_specific":{"malicious-packages-origins":[{"id":"IN-MAL-2026-018601","import_time":"2026-08-24T05:20:13.627847177Z","modified_time":"2026-08-24T05:06:17Z","sha256":"406306bfffcdc3b1b2818d9176a3783aa70b9d2211e359da7e14f0dfb6c03376","source":"amazon-inspector","versions":["99.0.1"]},{"id":"IN-MAL-2026-018608","import_time":"2026-08-24T05:20:14.319910003Z","modified_time":"2026-08-24T05:07:18Z","sha256":"926b17cedd788f5f626b3c4001ca9f1b9572abe425b87d40d6f03814d211e3e7","source":"amazon-inspector","versions":["99.0.0"]},{"import_time":"2026-08-24T05:47:55.197938463Z","modified_time":"2026-08-23T19:00:47Z","sha256":"9608faee43a02423aaf69985bd63b5c9bd188dbfeccc359fb9de20cfdf432a7e","source":"ossf-package-analysis","versions":["99.0.1"]},{"id":"GHSA-xr9c-mx62-832c","import_time":"2026-08-24T16:26:16.755884624Z","modified_time":"2026-08-24T15:42:57Z","ranges":[{"events":[{"introduced":"0"}],"type":"SEMVER"}],"sha256":"87410aa4c46953f015aae3a513cbe44db95033e13aac23e48e9f86c4ac482977","source":"ghsa-malware"}]},"credits":[{"name":"Amazon Inspector","contact":["inspector-research@amazon.com"],"type":"FINDER"},{"name":"OpenSSF: Package Analysis","contact":["https://github.com/ossf/package-analysis","https://openssf.slack.com/channels/package_analysis"],"type":"FINDER"}]}数据来源:OpenSSF Malicious Packages · Apache-2.0