MAL-2026-11143Malicious code in parallely (npm)
| 版本 | 状态 | 大小 | SHA-256 | 获取方式 |
|---|---|---|---|---|
10.0.3 | archived | — | — | VIP 下载 |
10.0.4 | unavailable | — | — | — |
| Ecosystem | Package | Version |
|---|---|---|
| npm | parallely | * |
| npm | parallely | 10.0.3 |
| npm | parallely | 10.0.4 |
{"schema_version":"1.7.4","id":"MAL-2026-11143","published":"2026-07-28T13:33:43Z","modified":"2026-08-27T04:03:05.621404143Z","aliases":["GHSA-rmhx-v9xh-x4jv"],"summary":"Malicious code in parallely (npm)","details":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (2a862cdceb2998828aba8de0d4a672b86a2c22dff073356e5acd89e894aced56)\nThe npm package name `parallely` typosquats `concurrently`: package.json advertises the concurrently repository, author, and funding while shipping different code. On library load, an IIFE inside `resolveShell` in dist/lib/spawn.js reconstructs a hidden download URL at runtime by AES-256-GCM decrypting a hardcoded ciphertext (key XOR'd from four base64 constants; IV and auth tag hardcoded), then downloads a platform-specific payload (linux/mac binary or win.js) into os.tmpdir()/ins-<euid>/, sha256-verifies it against a fetched `.meta`, chmods it executable, strips the macOS quarantine attribute via `xattr -c`, and spawns it detached and unref'd. The same block installs anti-analysis guards: it silences uncaughtException/warning handlers, reads /proc/self/status to check `TracerPid`, calls inspector.url(), and scans env/argv for `--inspect`/`--debug`, short-circuiting if any debugger signal is present. A self-relaunch guarded by environment-variable tags is used to survive being imported versus exec'd. The C2 host is not present in plaintext; it is reconstructed only at runtime specifically to defeat static inspection.\n\n## Source: ghsa-malware (cafc17605b61e20c6ee6bbd5a61ada0f84687b47c63e357878c1b4b9dfe6b5f2)\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":"parallely","ecosystem":"npm"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"}]}],"versions":["10.0.3","10.0.4"],"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":"dist/lib/spawn.js","sha256":"35496f986465690f27e8e6f36c31ad458a414379f3e7438e12b5270509f33721","tlsh":"1082955faafb21319263b03d8b6f8805b1b7c153174cdda4be2c92606f154385bb6bd8"},{"path":"package.json","sha256":"ab9d3f2d02649cc874d6089c788e336daba3a04822092e16682082169d4d5b0e","tlsh":"63411f70c8a18d534ac801aebc3d2392a135481b9d86fd0db3c1531c4f4cadf71ba69e"}],"package_integrity":[{"filename":"parallely-10.0.3.tgz","hashes":{"sha1":"de495a5f888e90c10767637e29e712c94ad96651","sha512_sri":"sha512-pWByLZBdw4OFNVIRoFMKyn+Z87pm+8ofCjRPb0QBdr1YCY/AuhjiVePDNMTaP1LDv7HnJrxnY7w5JC4q33IUzg=="}}]}}}],"references":[{"type":"PACKAGE","url":"https://www.npmjs.com/package/parallely/v/10.0.3"},{"type":"PACKAGE","url":"https://www.npmjs.com/package/parallely/v/10.0.4"},{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-rmhx-v9xh-x4jv"}],"database_specific":{"malicious-packages-origins":[{"id":"IN-MAL-2026-010901","import_time":"2026-07-28T14:19:58.25060629Z","modified_time":"2026-07-28T13:33:43Z","sha256":"8c7ec817d7407cffaa25209d066c7782cd74a1f91ea850887f7d2d85766b5f67","source":"amazon-inspector","versions":["10.0.3"]},{"id":"IN-MAL-2026-014754","import_time":"2026-08-05T13:08:43.872527191Z","modified_time":"2026-08-05T12:46:19Z","sha256":"2a862cdceb2998828aba8de0d4a672b86a2c22dff073356e5acd89e894aced56","source":"amazon-inspector","versions":["10.0.4"]},{"id":"GHSA-rmhx-v9xh-x4jv","import_time":"2026-08-27T04:00:52.889406984Z","modified_time":"2026-08-27T03:19:43Z","ranges":[{"events":[{"introduced":"0"}],"type":"SEMVER"}],"sha256":"cafc17605b61e20c6ee6bbd5a61ada0f84687b47c63e357878c1b4b9dfe6b5f2","source":"ghsa-malware"}]},"credits":[{"name":"Amazon Inspector","contact":["inspector-research@amazon.com"],"type":"FINDER"}]}数据来源:OpenSSF Malicious Packages · Apache-2.0