MAL-2026-12071Malicious code in sotqa-test (npm)
| 版本 | 状态 | 大小 | SHA-256 | 获取方式 |
|---|---|---|---|---|
20.3.8 | unavailable | — | — | — |
| Ecosystem | Package | Version |
|---|---|---|
| npm | sotqa-test | * |
| npm | sotqa-test | 20.3.8 |
{"schema_version":"1.7.4","id":"MAL-2026-12071","published":"2026-08-05T01:43:13Z","modified":"2026-08-24T15:29:31.631649159Z","aliases":["GHSA-p4jc-5f83-6g8m"],"summary":"Malicious code in sotqa-test (npm)","details":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (6980ae2860be6b9f343e9705a5415dc9ea13a81d285c1dce1f2f56b3dc989fbd)\nOn require, sotqa-test loads _bootstrap.js which reconstructs C2 hostnames from split-string arrays joined at runtime (oob-worker.cf102-baf.workers.dev, oob-worker.cf99-9b3.workers.dev, oob-worker.cf100-416.workers.dev) with a DNS TXT covert-channel fallback under *.dl.well1.site resolvers (tin, tina, ldr, win subdomains), downloads a platform-specific native binary via https.get, writes it to /tmp or %TEMP% under a disguised filename (.cache_<rand> on POSIX, dotnet_diag_<rand>.exe on Windows), chmods 0755, and spawns it detached via /bin/sh -c or cmd.exe. There is no hash or signature verification, endpoints are mutable, and both the delivery hosts and dropped-file names use cover-story naming (analytics, dotnet_diag). A second obfuscated dropper module lib/telemetry.js — presented as an Analytics SDK — resolves child_process via string concatenation (\"child_\"+\"process\"), assembles a base64 payload buffer, chmods the artifact 0755 using fs[\"chmod\"+\"Sync\"], and spawns it detached with /bin/sh -c, providing a parallel execution surface.\n\n## Source: ghsa-malware (0b67fad9acc7e74e3d4bbf50fec4148ae33d9de36315351ea33cd04774889741)\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":"sotqa-test","ecosystem":"npm"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"}]}],"versions":["20.3.8"],"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":"_bootstrap.js","sha256":"a69d35a85d9f19626260c571a6a4fd3c3079af176939e97df2b63b0ba1fa425f","tlsh":"28a1a59a12aa311c4bb0abe5d7175416f657f2633780c690f7ac69d41f7213482b2efc"},{"path":"lib/telemetry.js","sha256":"6bc3d7e45d0f5e01ac1f30dbc62635a643e9ca8e447c18256d993f3665f1d2d3","tlsh":"7d835056566a142186b2b368df234107ff3685272643429dbafc82dc1fbd72092a5ffc"}],"package_integrity":[{"filename":"sotqa-test-20.3.8.tgz","hashes":{"sha1":"9c9cc5a031047f9296e898f535c61d550559b870","sha512_sri":"sha512-nAP07842T7c3bt/4qQhZ8wU1/sdKvA01cYwe7+aPWO8h7vQpDb7QLquiyg/kYFXjil6Xjb5sxmyd/Zv/CCsrhg=="}}]}}}],"references":[{"type":"PACKAGE","url":"https://www.npmjs.com/package/sotqa-test/v/20.3.8"},{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-p4jc-5f83-6g8m"}],"database_specific":{"malicious-packages-origins":[{"id":"IN-MAL-2026-011516","import_time":"2026-08-05T03:11:16.516259421Z","modified_time":"2026-08-05T01:43:13Z","sha256":"6980ae2860be6b9f343e9705a5415dc9ea13a81d285c1dce1f2f56b3dc989fbd","source":"amazon-inspector","versions":["20.3.8"]},{"id":"GHSA-p4jc-5f83-6g8m","import_time":"2026-08-24T15:27:39.273286198Z","modified_time":"2026-08-24T15:06:11Z","ranges":[{"events":[{"introduced":"0"}],"type":"SEMVER"}],"sha256":"0b67fad9acc7e74e3d4bbf50fec4148ae33d9de36315351ea33cd04774889741","source":"ghsa-malware"}]},"credits":[{"name":"Amazon Inspector","contact":["inspector-research@amazon.com"],"type":"FINDER"}]}数据来源:OpenSSF Malicious Packages · Apache-2.0