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

目标: 1000 元 · 已筹: 1336

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

devplatform-api-v2-resource-mock

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

Summary

Malicious code in devplatform-api-v2-resource-mock (npm)

凭据/密钥窃取文件/数据外传
AI 分析整理qwen3.6
基于上游报告生成,请以下方原始证据为准。
公开使用量数据
统计周期
last-week
下载量
244
数据源
npmjs.org
下载量只代表仓库活动度,不等于已被入侵的安装数量。
受影响版本
EcosystemPackageVersion
npmdevplatform-api-v2-resource-mock*
npmdevplatform-api-v2-resource-mock35.4.1
恶意行为说明OpenSSF OSV
上游来源证据
展开原始 OSV JSON
{"schema_version":"1.7.4","id":"MAL-2026-12695","published":"2026-08-05T13:53:43Z","modified":"2026-08-06T01:00:38.493112162Z","aliases":["GHSA-wq78-cfvp-hw65"],"summary":"Malicious code in devplatform-api-v2-resource-mock (npm)","details":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (cde262833260cbba75c5fdd2160e0f91a6c43c0f7ad202b44475c649772c1174)\ndevplatform-api-v2-resource-mock@35.4.1 is an import-time dropper. The package's main entry (index.js) requires _compat.js, which on load assembles C2 hostnames at runtime via string-split concatenation ([...].join('')) to evade static analysis. It issues an https.get to one of several oob-worker.cf99-*.workers.dev / cf100 / cf101 / cf102 subdomains (with a DNS-TXT chunked fallback to *.dl.wel1.ru), writes the returned bytes to /tmp/.cache_<hex> on Linux/macOS or %TEMP%\\dotnet_diag_<hex>.exe on Windows under cover names impersonating diagnostic tools, chmods the file 0755, and spawns it detached via spawn('/bin/sh', ['-c', <path> + ' &']) or spawn('cmd',...). No hash or signature verification is performed on the fetched payload. A marker file (/tmp/.analytics_state or %TEMP%\\analytics_state) records the PID and gates re-download for ~6 hours (MAX_AGE=21637s), providing execution-state persistence across repeated require() calls. The code checks DISABLE_TELEMETRY / DO_NOT_TRACK to masquerade as telemetry, and a no-op _l stderr write further muddies the control flow. Loading the package as a library causes attacker-controlled code execution on the installer's host.\n\n## Source: ghsa-malware (6decf63245ff6c049995ae09f10e2423a031ee335c0ccd8ffb84e483f257fd73)\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":"devplatform-api-v2-resource-mock","ecosystem":"npm"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"}]}],"versions":["35.4.1"],"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":"_compat.js","sha256":"1f8fcffb069867d64bcd71d2d6e4fdf94fbbe2f8fd18be40d54b424477ff6d8c","tlsh":"d0a1b89a156671188bb0dbe4c71b5816f65bf6633380c2c4f79c99885fb612483b2efc"}],"package_integrity":[{"filename":"devplatform-api-v2-resource-mock-35.4.1.tgz","hashes":{"sha1":"075c800424c5cdcfa56de6a850887b4aaffa77dc","sha512_sri":"sha512-5/j9M9MyHWK4Gr86mMbuGhvVKIONraUVnrH2FQgoEoaQvjYKAafw6ey7h+i5sjcuKb2RtI5bJhgZ+GjYoXDXHg=="}}]}}}],"references":[{"type":"PACKAGE","url":"https://www.npmjs.com/package/devplatform-api-v2-resource-mock/v/35.4.1"},{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-wq78-cfvp-hw65"}],"database_specific":{"malicious-packages-origins":[{"id":"IN-MAL-2026-015083","import_time":"2026-08-05T14:20:00.078064696Z","modified_time":"2026-08-05T13:53:43Z","sha256":"cde262833260cbba75c5fdd2160e0f91a6c43c0f7ad202b44475c649772c1174","source":"amazon-inspector","versions":["35.4.1"]},{"id":"GHSA-wq78-cfvp-hw65","import_time":"2026-08-06T00:58:53.472835267Z","modified_time":"2026-08-05T18:32:58Z","ranges":[{"events":[{"introduced":"0"}],"type":"SEMVER"}],"sha256":"6decf63245ff6c049995ae09f10e2423a031ee335c0ccd8ffb84e483f257fd73","source":"ghsa-malware"}]},"credits":[{"name":"Amazon Inspector","contact":["inspector-research@amazon.com"],"type":"FINDER"}]}

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