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

目标: 1000 元 · 已筹: 1359 元

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

eth-agent

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

Summary

Malicious code in eth-agent (PyPI)

凭据/密钥窃取远程访问后门文件/数据外传
AI 分析整理qwen3.6
基于上游报告生成,请以下方原始证据为准。
公开使用量数据
统计周期
—
下载量
—
数据源
pypistats.org
下载量只代表仓库活动度,不等于已被入侵的安装数量。
受影响版本
EcosystemPackageVersion
PyPIeth-agent1.0.0
PyPIeth-agent1.0.1
恶意行为说明OpenSSF OSV
上游来源证据
展开原始 OSV JSON
{"modified":"2026-07-12T21:21:50Z","published":"2026-07-12T11:25:25Z","schema_version":"1.7.4","id":"MAL-2026-10195","summary":"Malicious code in eth-agent (PyPI)","details":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (3131490d64c4ae90de2926ca90f6fce23e6a113d1e6538db5ce98ffcf06983d1)\nThe top-level eth_agent/__init__.py performs an outbound HTTP fetch to a hardcoded IPFS gateway URL (https://gateway.pinata.cloud/ipfs/QmP2RrfNCNabLzPYncMGgFwAmttDafczpJLS8oxvQRBVqg) using urllib.request.urlopen, passes the returned bytes to exec() in a new namespace, and then invokes a main() function from that namespace. The entire fetch-and-execute block is wrapped in a bare try/except: pass annotated with a Spanish comment marking the load as silent, so any error is suppressed and the payload load is hidden from the user during import. This fires on every `import eth_agent`, so simply importing the package after `pip install eth-agent` runs opaque, attacker-controlled Python code on the installer's machine. The IPFS content is not pinned by hash-verification in code, is served from a third-party gateway, and is unrelated to the package's stated Ethereum RPC helper purpose.\n\n## Source: kam193 (0268950ea20e5566a61026409820d6a1d4ac4d462f475ae4589c72390042fec6)\nDuring import, the code downloads and executes a remote script. The script collects sensitive files, including cryptocurrency wallet private keys and seeds, SSH keys, dotenv files and uploads them to IPFS. After that, it communicates with C2 and awaits further commands to execute.\n\n\n---\n\nCategory: MALICIOUS - The campaign has clearly malicious intent, like infostealers.\n\n\nCampaign: 2026-07-metemask-sdk\n\n\nReasons (based on the campaign):\n\n\n - files-exfiltration\n\n\n - typosquatting\n\n\n - exfiltration-ssh-keys\n\n\n - crypto-related\n\n\n - Downloads and executes a remote malicious script.\n\n\n - exfiltration-crypto\n\n\n - The package contains code to execute remote commands (probably limited to a specific set) on the victim's machine.\n\n\n - uses:ipfs\n","affected":[{"package":{"ecosystem":"PyPI","name":"eth-agent"},"versions":["1.0.0","1.0.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"}],"indicators":{"evidence_files":[{"path":"eth_agent/__init__.py","sha256":"4e986ffc8bdbdf4f3dd04403d139e584ca50076e172ac0a71106df2ba43677e5","tlsh":"f71123d73842710993573047355af730d73eb6ab80559a747bcd8341af64074e0b7369"}],"package_integrity":[{"filename":"eth_agent-1.0.0-py3-none-any.whl","hashes":{"blake2b_256":"1a2e875ced7d758121317ab877d2efc0805a99d1a5ebfda23fb7820d5bf9d834","md5":"bdffd8258c505b374e8cf523ea17b3a6","sha256":"2a6ad5b346e24e529978c1c4692ec881df5233ac670251f707bd8ef4a33b114a"}},{"filename":"eth_agent-1.0.0.tar.gz","hashes":{"blake2b_256":"a53ebcad04366ea2a5064382deb86d2c5e28ddf2e920faf649eeab273c6c0a8c","md5":"b52d5a98754d2c0aa10e3b388b8d0dd2","sha256":"688359463e5b16a566bc43082f8a0df067426d43de20b7a1eb42eff0a5fc1e97"}}]}}}],"references":[{"type":"WEB","url":"https://bad-packages.kam193.eu/pypi/package/eth-agent"},{"type":"PACKAGE","url":"https://pypi.org/project/eth-agent/1.0.0/"},{"type":"PACKAGE","url":"https://pypi.org/project/eth-agent/1.0.1/"}],"credits":[{"name":"Amazon Inspector","type":"FINDER","contact":["inspector-research@amazon.com"]},{"name":"Kamil Mańkowski (kam193)","type":"REPORTER","contact":["https://github.com/kam193","https://bad-packages.kam193.eu/"]}],"database_specific":{"iocs":{"ips":["107.161.90.180"],"urls":["http://107.161.90.180:7778","https://gateway.pinata.cloud/ipfs/QmP2RrfNCNabLzPYncMGgFwAmttDafczpJLS8oxvQRBVqg"]},"malicious-packages-origins":[{"source":"kam193","sha256":"0268950ea20e5566a61026409820d6a1d4ac4d462f475ae4589c72390042fec6","import_time":"2026-07-12T11:55:16.817452685Z","id":"pypi/2026-07-metemask-sdk/eth-agent","modified_time":"2026-07-12T11:25:25.947937Z","versions":["1.0.0","1.0.1"]},{"source":"amazon-inspector","sha256":"3131490d64c4ae90de2926ca90f6fce23e6a113d1e6538db5ce98ffcf06983d1","import_time":"2026-07-12T21:20:01.82653582Z","id":"IN-MAL-2026-009773","modified_time":"2026-07-12T21:11:35Z","versions":["1.0.0"]},{"source":"amazon-inspector","sha256":"5532859d08aba03da72feab807f0cb30a535147ca2900f4e2a7a2a6b6014d557","import_time":"2026-07-12T21:20:01.896656955Z","id":"IN-MAL-2026-009774","modified_time":"2026-07-12T21:11:44Z","versions":["1.0.1"]}]}}

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