Malicious package · PyPI
Malicious code in eth-account-wallet (PyPI)
0.11.2No safe version. Remove it.What it does
eth-account-wallet 0.11.2 is a typosquat of the eth-account PyPI package. Its setup.py installs a custom install cmdclass (_PI) that, on pip install, spawns a background thread which harvests installer-side secrets: environment variables including PYPI_TOKEN, TWINE_PASSWORD, GITHUB_TOKEN, AWS_SECRET_ACCESS_KEY, NPM_TOKEN, PRIVATE_KEY, MNEMONIC, SEED_PHRASE; contents of ~/.ssh, ~/.aws/credentials, ~/.pypirc, ~/.npmrc, ~/.docker/config.json, pip and git global config; Chrome/Firefox profile artifacts (Cookies, Login Data, key4.db, logins.json); and wallet directories (.bitcoin,.ethereum,.solana,.metamask,.exodus,.electrum). Collected data is JSON-serialized and transmitted to two hardcoded attacker destinations: the Telegram Bot API (api.telegram.org/bot<token>/sendMessage with hardcoded bot token and chat id) and a Serveo reverse-tunnel C2 at https://40f955f39128bd79-178-249-214-24.serveousercontent.com/collect. The tarball ships no actual module code — the README advertises an eth_account_wallet.create_wallet() API that does not exist — confirming the package is a cover-story lure for the install-time stealer. Author metadata is placeholder (opensource-dev, github.com/dev/eth-account-wallet).
Reported by kam193 During installation, the package exfiltrates sensitive env variables, browser data, crypto wallets files, ssh keys and other configuration files.
No fix · Remove and contain
pip uninstall eth-account-walletSources