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

目标: 1000 元 · 已筹: 1359 元

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

@wrenfield/abitype

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

Summary

Malicious code in @wrenfield/abitype (npm)

凭据/密钥窃取
AI 分析整理qwen3.6
基于上游报告生成,请以下方原始证据为准。
公开使用量数据
统计周期
last-week
下载量
183
数据源
npmjs.org
下载量只代表仓库活动度,不等于已被入侵的安装数量。
受影响版本
EcosystemPackageVersion
npm@wrenfield/abitype*
npm@wrenfield/abitype1.2.3
npm@wrenfield/abitype1.2.4
npm@wrenfield/abitype1.2.6
npm@wrenfield/abitype1.2.7
恶意行为说明OpenSSF OSV
上游来源证据
展开原始 OSV JSON
{"schema_version":"1.7.4","id":"MAL-2026-10529","published":"2026-07-14T03:35:58Z","modified":"2026-08-05T06:02:51.868675585Z","aliases":["GHSA-6f83-g2m3-3wwr"],"summary":"Malicious code in @wrenfield/abitype (npm)","details":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (1d1b16f2fdde2184bdcfb6f2c91f18c328dee9aa1bb111f86d3130f47c42c9e5)\nPackage @wrenfield/abitype impersonates the well-known wevm/abitype library: it copies the upstream README verbatim (links to abitype.dev, wevm.eth, contributors awkweb.eth and jxom.eth) and retains \"repository\": \"wevm/abitype\" in package.json, while publishing under an unrelated @wrenfield scope. Two import-reachable files in the published tarball — dist/cjs/human-readable/runtime/utils.js (line 238 onward) and dist/esm/exports/index.js (line 19 onward) — carry an obfuscator.io payload (RC4-decoded ~580-entry string array, control-flow flattening, anti-debug self-defending) appended after the legitimate abitype source. The decoded payload dynamically loads node http/https, issues a GET to a runtime-constructed remote endpoint with a custom User-Agent, follows 301/302/303/307/308 redirects, writes the response to disk, fs.chmodSync's it to 0o755, and executes the bytes via spawn(process.execPath,..., {detached:true, stdio:'ignore'}) and via spawn('sh', ['-c',...]). Because dist/cjs/human-readable/runtime/utils.js is reached through the package's main entry (parseAbiItem → utils) and the file is listed in package.json sideEffects, the downloader fires automatically on require('@wrenfield/abitype') / import. Installing or loading this package runs attacker-controlled code on the installer's machine.\n\n## Source: ghsa-malware (6a28d5994ca42c0074c6519f86ea0c0648122c7cabd70b632a98fc0329c33b5a)\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":"@wrenfield/abitype","ecosystem":"npm"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"}]}],"versions":["1.2.6","1.2.7","1.2.4","1.2.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"},{"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":"dist/cjs/human-readable/runtime/utils.js","sha256":"5ca8bd72535b6598b46a07740c21e968fd671c0a63572c027a02dc65369d6b79","tlsh":"5da3fa897ee630af535210b3251f6292942ddc99734cc418f56ddcadbf6423ce272aac"},{"path":"package.json","sha256":"ead3487b1ab40e4cdf96db967c0fdca55f4c6ed7a3d3b666f3f85a8e4d4739b2","tlsh":"4c31180bc4a84ea312d535b0a527ca559231588789a87f2033cd527c8f1d6af41ff79e"}],"package_integrity":[{"filename":"abitype-1.2.6.tgz","hashes":{"sha1":"2e82c667c2b278ca127c277c4e70ec2852c8539b","sha512_sri":"sha512-Eg/VD3BgFDiRttszh1x16wFkKdS0naC1y1UwS+qpj7mNTg4hZl3M+zgEKmWNMVV57VjMJjfzVhkEz8z8+Q5sQQ=="}}]}}}],"references":[{"type":"PACKAGE","url":"https://www.npmjs.com/package/@wrenfield/abitype/v/1.2.6"},{"type":"PACKAGE","url":"https://www.npmjs.com/package/@wrenfield/abitype/v/1.2.7"},{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-6f83-g2m3-3wwr"},{"type":"PACKAGE","url":"https://www.npmjs.com/package/@wrenfield/abitype/v/1.2.4"},{"type":"PACKAGE","url":"https://www.npmjs.com/package/@wrenfield/abitype/v/1.2.3"}],"database_specific":{"malicious-packages-origins":[{"id":"IN-MAL-2026-010368","import_time":"2026-07-14T04:31:59.256263266Z","modified_time":"2026-07-14T03:35:58Z","sha256":"1d1b16f2fdde2184bdcfb6f2c91f18c328dee9aa1bb111f86d3130f47c42c9e5","source":"amazon-inspector","versions":["1.2.6"]},{"id":"IN-MAL-2026-010369","import_time":"2026-07-14T04:31:59.311427859Z","modified_time":"2026-07-14T03:36:06Z","sha256":"d17fa68b111487d52ed28d929960dfeea69a80d2f65f2c8cb86d820c2b986be1","source":"amazon-inspector","versions":["1.2.7"]},{"id":"GHSA-6f83-g2m3-3wwr","import_time":"2026-07-27T09:43:03.764756591Z","modified_time":"2026-07-27T01:07:09Z","ranges":[{"events":[{"introduced":"0"}],"type":"SEMVER"}],"sha256":"6a28d5994ca42c0074c6519f86ea0c0648122c7cabd70b632a98fc0329c33b5a","source":"ghsa-malware"},{"id":"IN-MAL-2026-013028","import_time":"2026-08-05T06:00:32.808454004Z","modified_time":"2026-08-05T05:23:30Z","sha256":"6e7ef457f7f1946ec67da0fd2cbc9e6d2840c58ab096108eeb9011eb242304af","source":"amazon-inspector","versions":["1.2.4"]},{"id":"IN-MAL-2026-012933","import_time":"2026-08-05T06:00:21.430702438Z","modified_time":"2026-08-05T05:10:04Z","sha256":"856ed6ad3017367cc7d2a6933f3de3d2ff657736949ae9f33d0d3178f4d96d1d","source":"amazon-inspector","versions":["1.2.3"]}]},"credits":[{"name":"Amazon Inspector","contact":["inspector-research@amazon.com"],"type":"FINDER"}]}

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