MAL-2026-12208Malicious code in sme-scripts-cli (npm)
| 版本 | 状态 | 大小 | SHA-256 | 获取方式 |
|---|---|---|---|---|
20.5.3 | unavailable | — | — | — |
| Ecosystem | Package | Version |
|---|---|---|
| npm | sme-scripts-cli | * |
| npm | sme-scripts-cli | 20.5.3 |
{"schema_version":"1.7.4","id":"MAL-2026-12208","published":"2026-08-05T09:13:04Z","modified":"2026-08-24T15:29:31.591165834Z","aliases":["GHSA-f4fh-84pr-v95c"],"summary":"Malicious code in sme-scripts-cli (npm)","details":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (1b75dc70e9ee97206f0c177de615ca37ed1611752e645127bc6961e5d753f61f)\nOn require('sme-scripts-cli'), index.js loads _bridge.js which detects OS/architecture, downloads an OS-specific binary from hardcoded Cloudflare workers.dev endpoints (oob-worker.cf100-416.workers.dev, oob-worker.cf102-baf.workers.dev, oob-worker.cf103-070.workers.dev) with a DNS-TXT fallback via *.dl.well1.site (tin.dl.well1.site, tina.dl.well1.site, ldr.dl.well1.site, win.dl.well1.site), writes the payload to /var/tmp or %TEMP% under disguised names (.cache_<hex>, dotnet_diag_<hex>.exe), chmods 0755, and spawns it detached via /bin/sh -c or cmd. Endpoint hostnames and API names are reconstructed at runtime by joining split string fragments (['oo','b-worke','r.cf100-416.wor','ke','rs.de','v'].join('')) to evade static analysis. No hash or signature verification is performed on the downloaded binary. A second variant of the dropper is bundled at lib/telemetry.js disguised as a 'tracing.node' analytics SDK, with base64-chunk decoding of network content and identical spawn+chmod primitives.\n\n## Source: ghsa-malware (fe617cd29f1e4ca5e283bf06ca3d83489ae72a058a0bfb5a644a3709c7206486)\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":"sme-scripts-cli","ecosystem":"npm"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"}]}],"versions":["20.5.3"],"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":"_bridge.js","sha256":"38c5a8cf8c1c4f8c5f04c0d319140dd275a01cbc92c1b6fcdfd76b6f71187599","tlsh":"b7a1b99a066a70198bb0e7e4c7174416f65ff2633380c294fb5ca5985f7613482b1efc"},{"path":"lib/telemetry.js","sha256":"6803ea197b75732fcafb5b87031e025bb1100e3cc30a57b4e61bd297d967a4e6","tlsh":"80835055566a202186b2b368df234107ff3685272643429dbafc82dc1fbd72092a5ffd"}],"package_integrity":[{"filename":"sme-scripts-cli-20.5.3.tgz","hashes":{"sha1":"0a26dc752c9702396c7b604726e13746df0e6028","sha512_sri":"sha512-7Rt8Smhm6O45t38xDaxTpkp91qtEjNiLj4yLtF1i/JnQSF3bD6TcYhgpRi8Ks0wtc9yOxF4A8XSioJGEMJ51cQ=="}}]}}}],"references":[{"type":"PACKAGE","url":"https://www.npmjs.com/package/sme-scripts-cli/v/20.5.3"},{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-f4fh-84pr-v95c"}],"database_specific":{"malicious-packages-origins":[{"id":"IN-MAL-2026-014593","import_time":"2026-08-05T09:28:28.656923355Z","modified_time":"2026-08-05T09:13:04Z","sha256":"1b75dc70e9ee97206f0c177de615ca37ed1611752e645127bc6961e5d753f61f","source":"amazon-inspector","versions":["20.5.3"]},{"id":"GHSA-f4fh-84pr-v95c","import_time":"2026-08-24T15:27:39.268669664Z","modified_time":"2026-08-24T14:58:40Z","ranges":[{"events":[{"introduced":"0"}],"type":"SEMVER"}],"sha256":"fe617cd29f1e4ca5e283bf06ca3d83489ae72a058a0bfb5a644a3709c7206486","source":"ghsa-malware"}]},"credits":[{"name":"Amazon Inspector","contact":["inspector-research@amazon.com"],"type":"FINDER"}]}数据来源:OpenSSF Malicious Packages · Apache-2.0