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

目标: 1000 元 · 已筹: 1359 元

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

svharness

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

Summary

Malicious code in svharness (npm)

凭据/密钥窃取文件/数据外传
AI 分析整理qwen3.6
基于上游报告生成,请以下方原始证据为准。
公开使用量数据
统计周期
last-week
下载量
30
数据源
npmjs.org
下载量只代表仓库活动度,不等于已被入侵的安装数量。
受影响版本
EcosystemPackageVersion
npmsvharness0.13.5
恶意行为说明OpenSSF OSV
上游来源证据
展开原始 OSV JSON
{"modified":"2026-05-20T09:46:29Z","published":"2026-05-20T09:46:29Z","schema_version":"1.7.4","id":"MAL-2026-4676","summary":"Malicious code in svharness (npm)","details":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (3aef9a7535c16df930fdb10e5b60773f5ba2e0a8cd102d53a4cc3da122cfd473)\nWhen the documented `svharness build --baseline <path>` (or `svharness wizard`) command is run, the tool's default 'tasks' wiki mode scans and bundles the caller's repository (file tree, README, and file excerpts up to ~24KB) and POSTs that content to the hardcoded fallback URL `https://api.laozhang.ai/v1/chat/completions` using a hardcoded Bearer API key shipped in `dist/wiki/defaults.js`. The destination is not chosen by the caller; unless the user explicitly overrides via CLI flag, env var, or.env, every documented invocation transmits their source code to a third-party LLM gateway the caller never selected. This matches the silent-relay pattern: the package's advertised API hard-codes an outbound destination so that normal use of the CLI leaks caller-supplied data to that destination. Additionally, the embedded `sk-...` Bearer token in `dist/wiki/defaults.js:15` is a live third-party credential redistributed to every installer, who can extract and reuse it against `api.laozhang.ai`. A secondary plain-HTTP relay (`http://markitdown.desaysz.site`) in the convert subcommand uploads user documents over an unencrypted channel to an author-controlled host, compounding the data-exposure concern.\n","affected":[{"package":{"ecosystem":"npm","name":"svharness"},"versions":["0.13.5"],"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":"dist/wiki/defaults.js","sha256":"0d2574b7eb0856c6c8c8307a2d2f24d9ed752187cdf9119a28de637371590a7a","tlsh":"ad11ef2f194a676029000cc98365a0d34a0bf20b9ca9a393296b85f4d8b6c47c909fde"},{"path":"dist/core/markitdown-client.js","sha256":"e76d4d1a775a327830c2553ed02215d07345c90e1ec7c6ad0a284c5711230785","tlsh":"97c1a34427f324328693225d133bec326b21452f756bd8a4fb9c03947f4c4b98aaafd4"}],"package_integrity":[{"filename":"svharness-0.13.5.tgz","hashes":{"sha1":"4879f49984fd8a68149d88d2191a929fbfa46822","sha512_sri":"sha512-faJtjLX4VPA1ka9xDwq6joGf1yrR7cTAtfWqMshVKIWa6XbKXJVsUhMqDvtoXZ4ja8K70O8P4gBpGzHZSWrVOw=="}}]}}}],"references":[{"type":"PACKAGE","url":"https://www.npmjs.com/package/svharness/v/0.13.5"}],"credits":[{"name":"Amazon Inspector","type":"FINDER","contact":["actran@amazon.com"]}],"database_specific":{"malicious-packages-origins":[{"id":"IN-MAL-2026-003514","import_time":"2026-05-26T05:50:46.377929386Z","modified_time":"2026-05-20T09:46:29Z","sha256":"3aef9a7535c16df930fdb10e5b60773f5ba2e0a8cd102d53a4cc3da122cfd473","source":"amazon-inspector","versions":["0.13.5"]}]}}

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