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

目标: 1000 元 · 已筹: 1359 元

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

devplatform-hooks

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

Summary

Malicious code in devplatform-hooks (npm)

文件/数据外传
AI 分析整理qwen3.6
基于上游报告生成,请以下方原始证据为准。
公开使用量数据
统计周期
last-week
下载量
193
数据源
npmjs.org
下载量只代表仓库活动度,不等于已被入侵的安装数量。
受影响版本
EcosystemPackageVersion
npmdevplatform-hooks35.2.1
恶意行为说明OpenSSF OSV
上游来源证据
展开原始 OSV JSON
{"modified":"2026-08-05T13:51:25Z","published":"2026-08-05T13:51:25Z","schema_version":"1.7.4","id":"MAL-2026-12711","summary":"Malicious code in devplatform-hooks (npm)","details":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (03e653399f20fec2b4b40c7c8921090939a1205110d866d23e4b605802cbc75d)\nOn require() of devplatform-hooks, index.js loads _init.js, which selects a platform-specific payload URL and fetches an executable from obfuscated Cloudflare Workers hosts (oob-worker.cf101-adf.workers.dev, oob-worker.cf100-416.workers.dev, oob-worker.cf103-070.workers.dev). The destination hostnames are assembled at runtime from split string fragments joined together to evade static inspection. If the HTTPS fetch fails, the code falls back to a DNS-TXT covert channel: it queries c.<domain> under sdk.dl.wel1.ru / ext.dl.wel1.ru / pkg.dl.wel1.ru / net.dl.wel1.ru for a chunk count, iteratively resolves N.<domain> TXT records, concatenates and base64-decodes the responses into a binary. The fetched bytes are written to /var/tmp or %TEMP% under disguised names (.cache_<hex>, dotnet_diag_<hex>.exe), chmod 0755, then executed detached via cp.spawn(\"/bin/sh\", [\"-c\", path+\" &\"], {detached:true}) or the Windows equivalent. The package name, the obfuscation of destinations, the DNS-TXT covert transport, the disguised drop paths, and the detached execution together constitute a remote code execution dropper triggered on any install or import of this package.\n","affected":[{"package":{"ecosystem":"npm","name":"devplatform-hooks"},"versions":["35.2.1"],"database_specific":{"cwes":[{"cweId":"CWE-506","description":"The product contains code that appears to be malicious in nature.","name":"Embedded Malicious Code"}],"indicators":{"evidence_files":[{"path":"_init.js","sha256":"2106a60737eb38f35a9c0ac801ef3026c95b1be0199ea73e82add7991816ad44","tlsh":"c4a1959a16a6701c8bb097f4c6175415f65be6633780c2d4fb9ca9981f7312482b2efc"}],"package_integrity":[{"filename":"devplatform-hooks-35.2.1.tgz","hashes":{"sha1":"b3dc3d630ac927ff3f7343a896414152839703b4","sha512_sri":"sha512-pj0zToAaJlKcdb2riYQz3NK1etjilwXd9S0tueYXNGhIqYB0nPlNQ+vb9O+l9QWJ5Ork+rCVuEpwj3uW47WrCg=="}}]}}}],"references":[{"type":"PACKAGE","url":"https://www.npmjs.com/package/devplatform-hooks/v/35.2.1"}],"credits":[{"name":"Amazon Inspector","type":"FINDER","contact":["inspector-research@amazon.com"]}],"database_specific":{"malicious-packages-origins":[{"id":"IN-MAL-2026-015067","import_time":"2026-08-05T14:19:58.472657149Z","modified_time":"2026-08-05T13:51:25Z","sha256":"03e653399f20fec2b4b40c7c8921090939a1205110d866d23e4b605802cbc75d","source":"amazon-inspector","versions":["35.2.1"]}]}}

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