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

目标: 1000 元 · 已筹: 1359 元

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

webpack-patch

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

Summary

Malicious code in webpack-patch (npm)

凭据/密钥窃取文件/数据外传
AI 分析整理qwen3.6
基于上游报告生成,请以下方原始证据为准。
公开使用量数据
统计周期
last-week
下载量
6
数据源
npmjs.org
下载量只代表仓库活动度,不等于已被入侵的安装数量。
受影响版本
EcosystemPackageVersion
npmwebpack-patch*
npmwebpack-patch1.1.7
npmwebpack-patch1.1.8
npmwebpack-patch1.1.9
npmwebpack-patch1.2.0
恶意行为说明OpenSSF OSV
上游来源证据
展开原始 OSV JSON
{"schema_version":"1.7.4","id":"MAL-2026-5581","published":"2026-06-11T05:06:30Z","modified":"2026-09-01T11:40:29.967353270Z","aliases":["GHSA-3hxr-3hxr-pqq4"],"summary":"Malicious code in webpack-patch (npm)","details":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (d0f5ce3525e99528190ba5217a777184e302d46050fc23bef173de6fda240eba)\nPackage impersonates the webpack ecosystem but is unrelated to webpack. When the exported middleware is invoked, index.js spawns a detached `node lib/caller.js` child. caller.js fetches https://jsonkeeper.com/b/XRGF3 via axios and passes the response's `.cookie` field to `new Function.constructor('require', s)(require)`, executing attacker-controlled JavaScript with full Node privileges and a retry loop. The C2 URL and HTTP header name/value are stored as base64 strings under sham `process.env` keys (`DEV_API_KEY` base64-decodes to `https://jsonkeeper.com/b/XRGF3`); a sibling const.js variant points at `https://jsonkeeper.com/b/4NAKK`, providing pivot URLs if the primary paste is removed. jsonkeeper.com is an anonymous mutable paste host — whoever controls the paste controls arbitrary code execution on every consumer that loads webpack-patch and exercises its API. The package.json description is generic boilerplate copied from an unrelated security policy, and the `main` is a fake pino-style middleware whose only meaningful effect is launching the dropper.\n\n## Source: ghsa-malware (c0fa02eb8a58fb15c7b71d6ab94306801f07b0a14ff28abb18e83a5063fce9ea)\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":"webpack-patch","ecosystem":"npm"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"}]}],"versions":["1.1.7","1.2.0","1.1.8","1.1.9"],"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"},{"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/caller.js","sha256":"d81e48769a830cd3384a4b8977ade12e5ab7583eb7cca84e7ab966d15871bd71","tlsh":"f8017b8a30fa605c015510f64b1fa4327011e4273c49e5c5378c87524fea9ae6963aed"},{"path":"package.json","sha256":"dad1894553c8a92913e245428b988952b49dc32a00bccb19413b34a728f451da","tlsh":"4c019761deb89e2301ed25824c2e0743ba619c075828fc2d32db512c4f9e9bf05bf25d"}],"package_integrity":[{"filename":"webpack-patch-1.1.7.tgz","hashes":{"sha1":"579b6db1639a0b92682b85346780946a7afaf31d","sha512_sri":"sha512-o9vr5PSWI24mjWCB61s3I1Gl7JZ20p7J2LDb6dGYzc1njpSYa0pMFKX6Nl1YG3Arcf+aIpSf09poJqu6KJzejw=="}}]}}}],"references":[{"type":"PACKAGE","url":"https://www.npmjs.com/package/webpack-patch/v/1.1.7"},{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-3hxr-3hxr-pqq4"},{"type":"PACKAGE","url":"https://www.npmjs.com/package/webpack-patch/v/1.2.0"},{"type":"PACKAGE","url":"https://www.npmjs.com/package/webpack-patch/v/1.1.8"},{"type":"PACKAGE","url":"https://www.npmjs.com/package/webpack-patch/v/1.1.9"},{"type":"WEB","url":"https://www.sonatype.com/blog/lazarus-groups-latest-brandjacking-campaign-on-npm"}],"database_specific":{"malicious-packages-origins":[{"id":"IN-MAL-2026-005546","import_time":"2026-06-11T05:41:05.571785854Z","modified_time":"2026-06-11T05:06:30Z","sha256":"d0f5ce3525e99528190ba5217a777184e302d46050fc23bef173de6fda240eba","source":"amazon-inspector","versions":["1.1.7"]},{"id":"GHSA-3hxr-3hxr-pqq4","import_time":"2026-07-06T18:54:03.579371784Z","modified_time":"2026-07-06T18:04:03Z","sha256":"c0fa02eb8a58fb15c7b71d6ab94306801f07b0a14ff28abb18e83a5063fce9ea","source":"ghsa-malware","versions":["1.1.7"]},{"id":"IN-MAL-2026-009219","import_time":"2026-07-09T16:20:52.147975535Z","modified_time":"2026-07-09T15:45:37Z","sha256":"2e5981454fc68e5b3f5460c97c4a4fea3b98b208f795245e6d190a1f7dd56526","source":"amazon-inspector","versions":["1.2.0"]},{"id":"GHSA-3hxr-3hxr-pqq4","import_time":"2026-07-10T03:23:39.5412296Z","modified_time":"2026-07-10T02:56:04Z","ranges":[{"events":[{"introduced":"0"}],"type":"SEMVER"}],"sha256":"014c807f846f4ec5ff184415d090dcf6f972b6bfc40fba55592f1fe8067503cd","source":"ghsa-malware","versions":["1.1.7"]},{"id":"IN-MAL-2026-009618","import_time":"2026-07-10T16:19:41.618663274Z","modified_time":"2026-07-10T15:31:17Z","sha256":"211fe03a2f3cc2baedeaf6395b413786d7ba17a709f0a7558a3f9777dcdc1ba3","source":"amazon-inspector","versions":["1.1.8"]},{"id":"IN-MAL-2026-009619","import_time":"2026-07-10T16:19:41.773874501Z","modified_time":"2026-07-10T15:31:24Z","sha256":"630f6588b5bc3fb3ecd11fcaa4f852d272d9897c9de5fda06b4025fd6fd5a5fa","source":"amazon-inspector","versions":["1.1.9"]},{"id":"RLMA-2026-05651","import_time":"2026-07-20T13:14:53.623849896Z","modified_time":"2026-07-20T11:04:24Z","sha256":"97032812fab9ccb8f1402ba416a2caf085a62c2da4fa7cd127f03cb43776473e","source":"reversing-labs","versions":["1.1.7"]},{"id":"RLUA-2026-06548","import_time":"2026-09-01T11:38:20.200569654Z","modified_time":"2026-08-24T17:16:57Z","sha256":"47e8bc35225f311ef8b74d3468274f9a6d475c43f54afdd70487d609e93004f7","source":"reversing-labs","versions":["1.1.8"]}]},"credits":[{"name":"Amazon Inspector","contact":["inspector-research@amazon.com"],"type":"FINDER"},{"name":"ReversingLabs","contact":["https://www.reversinglabs.com"],"type":"FINDER"}]}

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