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

目标: 1000 元 · 已筹: 1359 元

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

evm-typechain

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

Summary

Malicious code in evm-typechain (npm)

凭据/密钥窃取
AI 分析整理qwen3.6
基于上游报告生成,请以下方原始证据为准。
公开使用量数据
统计周期
last-week
下载量
4
数据源
npmjs.org
下载量只代表仓库活动度,不等于已被入侵的安装数量。
受影响版本
EcosystemPackageVersion
npmevm-typechain*
npmevm-typechain0.5.4
恶意行为说明OpenSSF OSV
上游来源证据
展开原始 OSV JSON
{"modified":"2026-07-09T16:23:01Z","published":"2026-07-07T15:46:10Z","schema_version":"1.7.4","id":"MAL-2026-6932","aliases":["GHSA-c4gm-jp6q-h9hq"],"summary":"Malicious code in evm-typechain (npm)","details":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (0a78b4d04410e295cbe340c95e6800a0777717d46ce136f0c30b5593d1bd9738)\nOn require, index.js issues an HTTPS GET to https://www.jsonkeeper.com/b/PC5CK, passes the returned JSON `cookie` field to `new Function('require',...)`, and invokes it with the real `require` capability. The invocation is concealed at the end of index.js behind a long run of tab whitespace on the same line as `module.exports = leanhooksPlugin;`, and the file carries a false `Mongoose LeanHooks Plugin` header that does not match the package's advertised purpose. The remote content is attacker-mutable (unpinned, no hash/signature) and executes with full module-loading capability, giving arbitrary remote code execution in any Node.js process that imports the package. The package name and description impersonate the widely used TypeChain project (`type-safe bindings for Ethereum smart contracts`), while the shipped code is an unrelated Mongoose plugin stub bolted to the remote loader; the repository URL (`drudge/evm-typeschain`) is a spelling mismatch. This is a typosquat lure fronting an import-time RCE dropper.\n\n## Source: ghsa-malware (7f309e50be1b9923d440673fba72e6c345b370828f8d8a0e313afb6d6d2e96f0)\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":{"ecosystem":"npm","name":"evm-typechain"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"}]}],"versions":["0.5.4"],"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":"index.js","sha256":"384918838cd2130c625021673c2fd038d1254f85fdfee8009231781f7c0b41f3","tlsh":"ac61aa7865bad601a53332f18cf61246dab5c037054a90d9fcaec2d4ab30814196fff8"},{"path":"package.json","sha256":"0c73720d1afcf851879c79e0a179b9910efacbcdaee2db16d28a5f72d06fbeac","tlsh":"b8014940e935dd730adc65925c2e41a7a1349c0b8d04fc1e33d6876d8f5e42f16b9a5d"}]}}}],"references":[{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-c4gm-jp6q-h9hq"},{"type":"PACKAGE","url":"https://www.npmjs.com/package/evm-typechain/v/0.5.4"}],"credits":[{"name":"Amazon Inspector","type":"FINDER","contact":["inspector-research@amazon.com"]}],"database_specific":{"malicious-packages-origins":[{"source":"ghsa-malware","sha256":"7f309e50be1b9923d440673fba72e6c345b370828f8d8a0e313afb6d6d2e96f0","import_time":"2026-07-07T16:09:37.848214753Z","id":"GHSA-c4gm-jp6q-h9hq","modified_time":"2026-07-07T15:46:14Z","ranges":[{"type":"SEMVER","events":[{"introduced":"0"}]}]},{"source":"amazon-inspector","sha256":"0a78b4d04410e295cbe340c95e6800a0777717d46ce136f0c30b5593d1bd9738","import_time":"2026-07-09T16:20:57.563784856Z","id":"IN-MAL-2026-009287","modified_time":"2026-07-09T15:55:33Z","versions":["0.5.4"]}]}}

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