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

目标: 1000 元 · 已筹: 1359 元

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

karapace-docs

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

Summary

Malicious code in karapace-docs (npm)

凭据/密钥窃取安装阶段执行
AI 分析整理qwen3.6
基于上游报告生成,请以下方原始证据为准。
公开使用量数据
统计周期
last-week
下载量
84
数据源
npmjs.org
下载量只代表仓库活动度,不等于已被入侵的安装数量。
受影响版本
EcosystemPackageVersion
npmkarapace-docs*
npmkarapace-docs1.0.1
npmkarapace-docs1.1.1
恶意行为说明OpenSSF OSV
上游来源证据
展开原始 OSV JSON
{"schema_version":"1.7.4","id":"MAL-2026-12794","published":"2026-08-05T13:13:22Z","modified":"2026-09-09T03:23:47.867577965Z","aliases":["GHSA-mf8g-pqcc-wxfw"],"summary":"Malicious code in karapace-docs (npm)","details":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (a0d1e2b10c31f45e3c73ad895a1ccd4188cdedf5ab1a795b420f5aa2693d7686)\nThe npm package's preinstall hook runs index.js at install time, which collects the installer's hostname, username, home directory, DNS server list, and the contents of /etc/passwd and /etc/hosts, then POSTs a JSON payload over HTTPS to a hardcoded Burp Collaborator subdomain n6usddpvkn7jcauar9va0xvleck48uwj.oastify.com. The package name mimics a documentation package for karapace (a Kafka registry project), consistent with a dependency-confusion / typosquat recon payload. Installer host identity and local system file contents leave the machine to an attacker-controlled OAST endpoint on `npm install` with no user interaction.\n\n## Source: ghsa-malware (0504b1eeee4b53817289d98df2d4b44775e97feea2be622a724012a4dc60576f)\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":"karapace-docs","ecosystem":"npm"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"}]}],"versions":["1.0.1","1.1.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"},{"cweId":"CWE-506","description":"The product contains code that appears to be malicious in nature.","name":"Embedded Malicious Code"}],"indicators":{"evidence_files":[{"path":"index.js","sha256":"2af0c318254adfdf6c91193e32a4ec56689d74c87a843d2758fb6e9a5f30f531","tlsh":"21411195a2ca17330dd210c06a0c70842359fa777259a99076cf42969f869f8bb226f3"}],"package_integrity":[{"filename":"karapace-docs-1.0.1.tgz","hashes":{"sha1":"17ddfe5f3363f2d911c2d9ba8eb0598419a1a030","sha512_sri":"sha512-r/d30OVteLMefWcjBXqVjVqjKvHPuSjA+vzc2uIY/0rlOY4XZtNL9q92yJaHrtdg5kkPH6HplKMTEwHVVFQ86g=="}}]}}}],"references":[{"type":"PACKAGE","url":"https://www.npmjs.com/package/karapace-docs/v/1.0.1"},{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-mf8g-pqcc-wxfw"},{"type":"PACKAGE","url":"https://www.npmjs.com/package/karapace-docs/v/1.1.1"}],"database_specific":{"malicious-packages-origins":[{"id":"IN-MAL-2026-014931","import_time":"2026-08-05T14:19:44.128561091Z","modified_time":"2026-08-05T13:13:22Z","sha256":"a0d1e2b10c31f45e3c73ad895a1ccd4188cdedf5ab1a795b420f5aa2693d7686","source":"amazon-inspector","versions":["1.0.1"]},{"id":"GHSA-mf8g-pqcc-wxfw","import_time":"2026-09-08T00:15:11.380547231Z","modified_time":"2026-09-07T16:17:49Z","ranges":[{"events":[{"introduced":"0"}],"type":"SEMVER"}],"sha256":"0504b1eeee4b53817289d98df2d4b44775e97feea2be622a724012a4dc60576f","source":"ghsa-malware"},{"id":"IN-MAL-2026-019821","import_time":"2026-09-09T03:21:57.251194193Z","modified_time":"2026-09-09T02:50:48Z","sha256":"f06b8b81224d46fc5efc33c0776f3521a77f11b4bf6194acdbc5d32557fb6bbe","source":"amazon-inspector","versions":["1.1.1"]}]},"credits":[{"name":"Amazon Inspector","contact":["inspector-research@amazon.com"],"type":"FINDER"}]}

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