MAL-2026-14397Malicious code in sm-checkout (npm)
| 版本 | 状态 | 大小 | SHA-256 | 获取方式 |
|---|---|---|---|---|
99.0.0 | archived | 0.3 KB | 2051251597acb2af8017c81b0cee510d7b4f3f67eefda3aa374deb655cc93004 | VIP 下载 |
| Ecosystem | Package | Version |
|---|---|---|
| npm | sm-checkout | * |
| npm | sm-checkout | 99.0.0 |
| npm | sm-checkout | 99.0.1 |
{"schema_version":"1.7.4","id":"MAL-2026-14397","published":"2026-08-23T19:20:35Z","modified":"2026-08-24T16:28:17.242832535Z","aliases":["GHSA-ccvj-vpx6-qq27"],"summary":"Malicious code in sm-checkout (npm)","details":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (0bc8dabb0ecf46dc57dd07dacdf28c9cddf629ffb8e9b0cea75e71cd999feaf0)\nsm-checkout@99.0.0 declares preinstall and postinstall lifecycle scripts in package.json that invoke curl against a hardcoded bare-IP URL over plain HTTP (http://16.192.173.5/sm-checkout/pre and http://16.192.173.5/sm-checkout/post) on npm install. The inflated 99.0.0 version is calibrated to win semver resolution against a private package of the same name, and the lifecycle callbacks confirm successful execution on any host that mistakenly resolves the public name, leaking the installer's source IP and install timing to the operator of 16.192.173.5. A source comment self-labels the package as a dependency-confusion test; the labelling does not change that the artifact runs an unauthenticated outbound beacon on every install in build systems and developer machines that pull it.\n\n## Source: ghsa-malware (897b995712d1f63fb75db33a78c7e8fff81d49fd3a5fb05dca13613e6d80d1e9)\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 (7e0e304166bd31c7677998bce3b0fa29ce87fcf40861c714a8f69417fc1083d1)\nThe OpenSSF Package Analysis project identified 'sm-checkout' @ 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-checkout","ecosystem":"npm"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"}]}],"versions":["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":"1269054725a566dfa6c7de1d0d1883b8713579413a033ab842854d341f9c9e43","tlsh":"bec0125c0504d3726bc947e5af169608b491014102d65e54c3d109f98f2227aa14fa16"},{"path":"index.js","sha256":"ca70ed4fcf2e2e63def25d0b04dd02cb52f93de50d60228b38a58e40a0ab82bc","tlsh":"ecc08c85a0a8723451e4488b6021021634efedb1b7132a95e24882ada118da48247098"}],"package_integrity":[{"filename":"sm-checkout-99.0.0.tgz","hashes":{"sha1":"5af3dbef6833076f33f727432bc330f6997859f8","sha512_sri":"sha512-16ZU5VWxaU5sat9EAdQZvm/kSKd6EHCTn3WkZwcOzO6kLbl/tR9d8FZ2SNqupwOiKSBWj2GV4VnxeuqRLQt+ng=="}}]}}}],"references":[{"type":"PACKAGE","url":"https://www.npmjs.com/package/sm-checkout/v/99.0.0"},{"type":"PACKAGE","url":"https://www.npmjs.com/package/sm-checkout/v/99.0.1"},{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-ccvj-vpx6-qq27"}],"database_specific":{"malicious-packages-origins":[{"id":"IN-MAL-2026-018610","import_time":"2026-08-24T05:20:14.505726169Z","modified_time":"2026-08-24T05:07:33Z","sha256":"0bc8dabb0ecf46dc57dd07dacdf28c9cddf629ffb8e9b0cea75e71cd999feaf0","source":"amazon-inspector","versions":["99.0.0"]},{"id":"IN-MAL-2026-018606","import_time":"2026-08-24T05:20:14.089287602Z","modified_time":"2026-08-24T05:07:01Z","sha256":"b682bb5f16534282e26636060e35b1ad04fbbc6832539a79bd2c1c2a3b04e169","source":"amazon-inspector","versions":["99.0.1"]},{"import_time":"2026-08-24T05:47:55.269656189Z","modified_time":"2026-08-23T19:20:35Z","sha256":"7e0e304166bd31c7677998bce3b0fa29ce87fcf40861c714a8f69417fc1083d1","source":"ossf-package-analysis","versions":["99.0.1"]},{"id":"GHSA-ccvj-vpx6-qq27","import_time":"2026-08-24T16:26:16.744490666Z","modified_time":"2026-08-24T15:42:58Z","ranges":[{"events":[{"introduced":"0"}],"type":"SEMVER"}],"sha256":"897b995712d1f63fb75db33a78c7e8fff81d49fd3a5fb05dca13613e6d80d1e9","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