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

目标: 1000 元 · 已筹: 1359 元

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

@wizloft/harness-context

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

Summary

Malicious code in @wizloft/harness-context (npm)

凭据/密钥窃取文件/数据外传
AI 分析整理qwen3.6
基于上游报告生成,请以下方原始证据为准。
公开使用量数据
统计周期
last-week
下载量
0
数据源
npmjs.org
下载量只代表仓库活动度,不等于已被入侵的安装数量。
永久样本归档NAS
版本状态大小SHA-256获取方式
0.1.1-alpha.3archived——VIP 下载
样本保存在内网 NAS 隔离区,不公开镜像地址;已开通会员可直接从平台下载。同步任务不会解压或执行样本。
受影响版本
EcosystemPackageVersion
npm@wizloft/harness-context*
npm@wizloft/harness-context0.1.1-alpha.3
恶意行为说明OpenSSF OSV
上游来源证据
展开原始 OSV JSON
{"schema_version":"1.7.4","id":"MAL-2026-14286","published":"2026-08-19T08:33:13Z","modified":"2026-09-23T00:58:57.777513122Z","aliases":["GHSA-wjhv-xmmw-qqf9"],"summary":"Malicious code in @wizloft/harness-context (npm)","details":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (b0315deb3fb6b42e929a55eafaeaedbf1b428ee8873d4ae31f5ec9956f21b554)\ndist/index.js (the package's declared main) contains a heavily obfuscated obfuscator.io-style IIFE appended after the legitimate context-service code. On import, the payload stashes `global.r = require` and `global.m = module`, then issues HTTPS requests to an Ethereum public RPC endpoint (h.drpc.org) and a block-explorer account API to read state from contract 0xa322E5f3..., using that state to resolve a next-stage URL that is fetched and executed in-process. The obfuscated string array (~303 entries via a rotated decoder) hides `drpc.org`, `?module=ac`, `POST`, `application/json`, `Mozilla/5.`, and the contract address. This is the EtherHiding loader pattern: attacker-controlled contract state serves as a mutable pointer to arbitrary code executed in the installer/consumer process at require time. Behavior does not match the package's advertised purpose of a small typed capability contract.\n\n## Source: ghsa-malware (e250ba61dd9623df22f284b1b5c2e41513954b57d1e4cc099f2321179a0673cc)\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":"@wizloft/harness-context","ecosystem":"npm"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"}]}],"versions":["0.1.1-alpha.3"],"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":"dist/index.js","sha256":"d414e0737a498fe710e7ffb224de0ed14cf847bfc42b18529ca10d4e118882b9","tlsh":"64f294c4bbd0a44003076abb7b1bf4e5e56a08adb4844ac6f11cfe84fb96326d5f2531"}],"package_integrity":[{"filename":"harness-context-0.1.1-alpha.3.tgz","hashes":{"sha1":"621a5786ea5e82611571caaebbbc0c45233746a7","sha512_sri":"sha512-QuJ0Zc/EozGNeGCAhDuryXKfykj8OtD6FrDttkKJiadHdjcl1uGKBXDFSVlpnEdLV+ZoIS8gm9N7buLA28FwGg=="}}]}}}],"references":[{"type":"PACKAGE","url":"https://www.npmjs.com/package/@wizloft/harness-context/v/0.1.1-alpha.3"},{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-wjhv-xmmw-qqf9"}],"database_specific":{"malicious-packages-origins":[{"id":"IN-MAL-2026-018408","import_time":"2026-08-19T08:48:53.666015613Z","modified_time":"2026-08-19T08:33:13Z","sha256":"b0315deb3fb6b42e929a55eafaeaedbf1b428ee8873d4ae31f5ec9956f21b554","source":"amazon-inspector","versions":["0.1.1-alpha.3"]},{"id":"GHSA-wjhv-xmmw-qqf9","import_time":"2026-09-23T00:57:12.970849215Z","modified_time":"2026-09-23T00:24:45Z","ranges":[{"events":[{"introduced":"0"}],"type":"SEMVER"}],"sha256":"e250ba61dd9623df22f284b1b5c2e41513954b57d1e4cc099f2321179a0673cc","source":"ghsa-malware"}]},"credits":[{"name":"Amazon Inspector","contact":["inspector-research@amazon.com"],"type":"FINDER"}]}

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