MAL-2026-13372

See a problem?
Import Source
https://github.com/ossf/malicious-packages/blob/main/osv/malicious/pypi/eth-account-wallet/MAL-2026-13372.json
JSON Data
https://api.osv.dev/v1/vulns/MAL-2026-13372
Published
2026-08-05T17:48:56Z
Modified
2026-08-05T22:19:51.501332464Z
Summary
Malicious code in eth-account-wallet (PyPI)
Details

-= Per source details. Do not edit below this line.=-

Source: amazon-inspector (bc3337915e7c14a0ceb6743d1edf2e607fd7926656b49cdd041d7b161b718178)

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 PYPITOKEN, TWINEPASSWORD, GITHUBTOKEN, AWSSECRETACCESSKEY, NPMTOKEN, PRIVATEKEY, MNEMONIC, SEEDPHRASE; 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).

Source: kam193 (4e0a297fd6a2bfc0e15f9aac09c92768a4725458ad282594e97ec15bb3fa8c5f)

During installation, the package exfiltrates sensitive env variables, browser data, crypto wallets files, ssh keys and other configuration files.


Category: MALICIOUS - The campaign has clearly malicious intent, like infostealers.

Campaign: 2026-08-bip39-py

Reasons (based on the campaign):

  • crypto-related

  • The package overrides the install command in setup.py to execute malicious code during installation.

  • exfiltration-crypto

  • exfiltration-browser-data

  • exfiltration-env-variables

  • exfiltration-ssh-keys

  • exfiltration-credentials

  • uses-telegram-bot

Database specific
{
    "malicious-packages-origins": [
        {
            "id": "pypi/2026-08-bip39-py/eth-account-wallet",
            "import_time": "2026-08-05T19:04:59.178925068Z",
            "sha256": "4e0a297fd6a2bfc0e15f9aac09c92768a4725458ad282594e97ec15bb3fa8c5f",
            "versions": [
                "0.11.2"
            ],
            "source": "kam193",
            "modified_time": "2026-08-05T17:48:56.282099Z"
        },
        {
            "id": "IN-MAL-2026-015906",
            "import_time": "2026-08-05T21:31:22.524315923Z",
            "sha256": "bc3337915e7c14a0ceb6743d1edf2e607fd7926656b49cdd041d7b161b718178",
            "versions": [
                "0.11.2"
            ],
            "source": "amazon-inspector",
            "modified_time": "2026-08-05T21:26:02Z"
        }
    ],
    "iocs": {
        "domains": [
            "40f955f39128bd79-178-249-214-24.serveousercontent.com"
        ]
    }
}
References
Credits

Affected packages

PyPI / eth-account-wallet

Package

Name
eth-account-wallet
View open source insights on deps.dev
Purl
pkg:pypi/eth-account-wallet

Affected ranges

Affected versions

0.*
0.11.2

Database specific

cwes
[
    {
        "description": "The product contains code that appears to be malicious in nature.",
        "name": "Embedded Malicious Code",
        "cweId": "CWE-506"
    }
]
indicators
{
    "evidence_files": [
        {
            "path": "setup.py",
            "tlsh": "0ad19797867b1814d583db4f452bc0e11b2ab8e35e13b4783edc96549f8c8f886b475c",
            "sha256": "a3fc91a446eeec82a396a7ef673512de8a62ab623e5e6c85579a5cb37c005be7"
        }
    ],
    "package_integrity": [
        {
            "filename": "eth_account_wallet-0.11.2.tar.gz",
            "hashes": {
                "sha256": "27a5e2b85e8e5e60d41593c20aaad433971f1ae7acc23357b18c3b7bbe93f3ce",
                "blake2b_256": "0c111c79af58cdc78f6bd229ab93455ef167da323be2b080064812db2634f6c3",
                "md5": "7e1f86b68e90fca3f31ab17241696aea"
            }
        }
    ]
}
source
"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/pypi/eth-account-wallet/MAL-2026-13372.json"