目标达成 感谢每一位支持者 — 我们达成了 100% 目标!

目标: 1000 元 · 已筹: 1359 元

100%
← 返回恶意软件包
npm active

procwire

MAL-2026-6687
2026-07-20 13:16:59
OpenSSF Malicious Packages
该软件包被识别为恶意包。建议隔离受影响环境,并排查凭据泄露和异常网络连接。

Summary

Malicious code in procwire (npm)

凭据/密钥窃取文件/数据外传
AI 分析整理qwen3.6
基于上游报告生成,请以下方原始证据为准。
公开使用量数据
统计周期
last-week
下载量
3
数据源
npmjs.org
下载量只代表仓库活动度,不等于已被入侵的安装数量。
受影响版本
EcosystemPackageVersion
npmprocwire*
npmprocwire1.3.0
npmprocwire2.0.0
恶意行为说明OpenSSF OSV
上游来源证据
展开原始 OSV JSON
{"modified":"2026-07-20T13:16:59Z","published":"2026-06-30T16:18:48Z","schema_version":"1.7.4","id":"MAL-2026-6687","aliases":["GHSA-5r42-357x-f2mx"],"summary":"Malicious code in procwire (npm)","details":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (011cf28d546459d946b1ed6d92c3beb4cb7c5322d6a9370d52fcd40e9a81ac2f)\nOn Windows, installing procwire@2.0.0 automatically downloads and executes an attacker-controlled executable. The package.json `preinstall` script runs lib/setup.js, which platform-gates to win32, then constructs a download URL by XOR-decoding values pulled from two floating-version sibling packages (`endpointmap: \"*\"` and `bytecraft: \"*\"`) — splitting the C2/payload reference across separate packages so it can be rotated post-publication without modifying procwire itself. lib/worker.js obfuscates every sensitive identifier through `String.fromCharCode.apply(null, [...])` arrays — the strings 'https', 'child_process', 'spawn', 'curl.exe', 'bitsadmin', 'powershell.exe', 'cmd.exe', ':Zone.Identifier', the fake update filename prefixes, and the `Microsoft-Delivery-Optimization/10.0` User-Agent are all assembled at runtime to defeat static analysis. The download uses a three-tier fallback (Node https, curl.exe, bitsadmin) with TLS verification disabled (`rejectUnauthorized: false`) and ranged-resume support, saves the binary to `%LOCALAPPDATA%\\Temp` under names such as `msedge_update_*.exe`, `chrome_installer_*.exe`, or `teams_update_*.exe`, strips the Mark-of-the-Web `:Zone.Identifier` alternate data stream to bypass SmartScreen, then spawns the executable hidden and detached (`detached: true, stdio: 'ignore', windowsHide: true`). The advertised purpose of procwire is a process-IPC library, which has no need to fetch or execute any external binary. The combination — preinstall lifecycle hook, win32 gating, split-payload URL via wildcard siblings, identifier obfuscation, TLS-verify disabled, fake update filenames, MOTW stripping, hidden execution — is unambiguous malware behavior.\n\n## Source: ghsa-malware (5d0d931d4a5440dd83a5f390facfb46b9c0d0cef0c1574a664760d3bd9c8b41a)\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":{"ecosystem":"npm","name":"procwire"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"}]}],"versions":["2.0.0","1.3.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":"lib/worker.js","sha256":"f28b0b6abb0e7733dda4f6430a306814d8fc16a2b8d207ef56d36ec9fcbfdce6","tlsh":"c002d0a566f71e3ae523b0bc8e6e901906edf46334c4d0e4f9eca5012fb956438249f8"},{"path":"lib/setup.js","sha256":"42e2ba6dff31e28438846546d6f78f954841dd82bb3ea64317887ef99d5621f7","tlsh":"c9f05c8c7fb3e43131ba26c9641de31b297be0201296c2a09028d0d13fc48d11d77af6"}]}}}],"references":[{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-5r42-357x-f2mx"},{"type":"PACKAGE","url":"https://www.npmjs.com/package/procwire/v/2.0.0"},{"type":"PACKAGE","url":"https://www.npmjs.com/package/procwire/v/1.3.0"},{"type":"WEB","url":"https://safedep.io/procwire-npm-windows-dropper-campaign"}],"credits":[{"name":"Amazon Inspector","type":"FINDER","contact":["inspector-research@amazon.com"]},{"name":"ReversingLabs","type":"FINDER","contact":["https://www.reversinglabs.com"]}],"database_specific":{"malicious-packages-origins":[{"source":"ghsa-malware","sha256":"5d0d931d4a5440dd83a5f390facfb46b9c0d0cef0c1574a664760d3bd9c8b41a","import_time":"2026-06-30T16:57:44.017458295Z","id":"GHSA-5r42-357x-f2mx","modified_time":"2026-06-30T16:18:49Z","ranges":[{"type":"SEMVER","events":[{"introduced":"0"}]}]},{"source":"amazon-inspector","sha256":"011cf28d546459d946b1ed6d92c3beb4cb7c5322d6a9370d52fcd40e9a81ac2f","import_time":"2026-07-08T19:33:50.364195802Z","id":"IN-MAL-2026-008259","modified_time":"2026-07-08T19:31:16Z","versions":["2.0.0"]},{"source":"amazon-inspector","sha256":"380790e0b83d20d4e8e02d3bbd7e5856baaf584d6639f969a0d3aaad9236d252","import_time":"2026-07-08T19:33:50.610864148Z","id":"IN-MAL-2026-008262","modified_time":"2026-07-08T19:31:39Z","versions":["1.3.0"]},{"source":"reversing-labs","sha256":"68cb8210280408932a454c976b1cdef9c67e22c4d047e1d74db27cca7902875b","import_time":"2026-07-20T13:14:50.258120948Z","id":"RLMA-2026-05599","modified_time":"2026-07-20T10:54:53Z","versions":["1.3.0","2.0.0"]}]}}

数据来源:OpenSSF Malicious Packages · Apache-2.0