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

目标: 1000 元 · 已筹: 1359 元

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

documenclient

MAL-2026-17624
2026-10-08 03:52:21
OpenSSF Malicious Packages
该软件包被识别为恶意包。建议隔离受影响环境,并排查凭据泄露和异常网络连接。

Summary

Malicious code in documenclient (npm)

凭据/密钥窃取文件/数据外传
AI 分析整理qwen3.6
基于上游报告生成,请以下方原始证据为准。
公开使用量数据
统计周期
last-week
下载量
673
数据源
npmjs.org
下载量只代表仓库活动度,不等于已被入侵的安装数量。
受影响版本
EcosystemPackageVersion
npmdocumenclient*
npmdocumenclient1.0.4
npmdocumenclient1.0.5
恶意行为说明OpenSSF OSV
上游来源证据
展开原始 OSV JSON
{"schema_version":"1.7.4","id":"MAL-2026-17624","published":"2026-10-05T17:31:00Z","modified":"2026-10-08T03:52:20.894280420Z","aliases":["GHSA-648r-w4vm-vvvp"],"summary":"Malicious code in documenclient (npm)","details":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (ffd20318a8d48dc20fee95097373ebd1039481031985164a651d2b68d366565a)\ndocumenclient@1.0.5 publishes an npm package whose only shipped content is a heavily obfuscated PowerShell script embedded in the README. The script hides its console window via ShowWindow(hWnd, 0), positions the window off-screen at (-32000, -32000) via SetWindowPos, sleeps a randomized interval, concatenates ~140 string fragments into a base64 blob, XOR-decodes it with key 89, and executes the resulting payload via reflective [ScriptBlock]::Create invocation assembled from char-code type and method names. The declared main (index.js) is absent and files is empty, so the artifact has no legitimate JavaScript functionality — the dropper script is the entire payload. Console hiding, off-screen window placement, randomized sleep jitter, dynamic type/method resolution, and XOR+base64 layering have no legitimate purpose in an npm README and are canonical dropper and anti-analysis techniques. The decoded payload is not inspectable from the obfuscated form shipped, so the final behavior on a Windows host executing the script is unknown but attacker-controlled.\n\n## Source: ghsa-malware (fd77316cd00f6397a05779a443f939cd3a5e09efa8321c7d52bd4623ffe2855f)\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":"documenclient","ecosystem":"npm"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"}]}],"versions":["1.0.5","1.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":"README","sha256":"e9dff49447937f8225a73dc235e067de051240d89523b6846813f7a2cd21a8fa","tlsh":"74a2af3c916097feec69e74549a3940a65257cf2c4a42c072f1ace6f54a7ec4ecbc18b"}]}}}],"references":[{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-648r-w4vm-vvvp"},{"type":"PACKAGE","url":"https://www.npmjs.com/package/documenclient/v/1.0.5"},{"type":"PACKAGE","url":"https://www.npmjs.com/package/documenclient/v/1.0.4"}],"database_specific":{"malicious-packages-origins":[{"id":"GHSA-648r-w4vm-vvvp","import_time":"2026-10-05T18:34:10.826030975Z","modified_time":"2026-10-05T17:31:02Z","ranges":[{"events":[{"introduced":"0"}],"type":"SEMVER"}],"sha256":"fd77316cd00f6397a05779a443f939cd3a5e09efa8321c7d52bd4623ffe2855f","source":"ghsa-malware"},{"id":"IN-MAL-2026-021126","import_time":"2026-10-08T03:50:29.571086558Z","modified_time":"2026-10-08T03:39:50Z","sha256":"ffd20318a8d48dc20fee95097373ebd1039481031985164a651d2b68d366565a","source":"amazon-inspector","versions":["1.0.5"]},{"id":"IN-MAL-2026-021128","import_time":"2026-10-08T03:50:29.68301717Z","modified_time":"2026-10-08T03:40:07Z","sha256":"19f38811cd4bf975caf3f28d03d68dd1ff023af34ef94d700edf22fb731d59dc","source":"amazon-inspector","versions":["1.0.4"]}]},"credits":[{"name":"Amazon Inspector","contact":["inspector-research@amazon.com"],"type":"FINDER"}]}

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