MAL-2026-20136

See a problem?
Import Source
https://github.com/ossf/malicious-packages/blob/main/osv/malicious/pypi/solana-utils-terminalmoney1/MAL-2026-20136.json
JSON Data
https://api.osv.dev/v1/vulns/MAL-2026-20136
Published
2026-11-18T20:29:52Z
Modified
2026-11-18T21:15:03Z
Summary
Malicious code in solana-utils-terminalmoney1 (PyPI)
Details

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

Source: amazon-inspector (b58d55f9a4d2ae8d63dbba8c5b88c7fe054e48c2cac2c11cc05d41efe0d4efb9)

The sdist's setup.py unconditionally runs subprocess.run([sys.executable, 'hxboot.py']) during pip install, auto-executing a bundled stealer. hxboot.py reads installer secrets from ~/.env, ~/.npmrc, ~/.aws/credentials, ~/.ssh/id_ed25519, ~/.ssh/id_rsa, ~/.config/solana/id.json, wallet.json, and keypair.json, and scrapes environment variables matching KEY/SECRET/TOKEN/PASS/MNEM/SEED/PRIV/RPC/API/WALLET. It additionally enumerates Chrome/Chromium/Brave Local Extension Settings for MetaMask (extension id nkbihfbeogaeaoehlefnkodbefgpgknn) and Phantom (bfnaelmomeimhlpmgjnjophhpkkoljpa), base64-encoding .log/.ldb session/wallet files. The collected JSON blob is chunked into ~3200-byte pieces and POSTed to the hardcoded endpoint https://ntfy.sh/hx83e33eb9, tagged with the installer's hostname. Package metadata sets url=https://pypi.org/project/solana-py/ and the README is titled solana-py, impersonating the legitimate solana-py project while the distribution name is solana-utils-terminalmoney1.

Source: kam193 (8b9f1e33c12c0eb5b5aefe865fa28651fa55e45a28a5d2cd4cc55c567a7e3af2)

During installation package exfiltrates sensitive environment variables, files and data from browser extensions, focusing on cryptocurrency-related informations.


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

Campaign: 2026-11-solana-utils-terminalmoney1

Reasons (based on the campaign):

  • exfiltration-env-variables

  • exfiltration-credentials

  • exfiltration-browser-data

  • exfiltration-crypto

  • crypto-related

  • typosquatting

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

Database specific
{
    "malicious-packages-origins":  [
        {
            "id":  "IN-MAL-2026-022833",
            "import_time":  "2026-11-18T20:36:31.141845495Z",
            "modified_time":  "2026-11-18T20:29:52Z",
            "sha256":  "288fb4a2f4a24c5e594d11fb8eb85dd3aa6475724509c7fc044b8d86933e2659",
            "source":  "amazon-inspector",
            "versions":  [
                "1.98.2"
            ]
        },
        {
            "id":  "IN-MAL-2026-022834",
            "import_time":  "2026-11-18T20:36:31.269639292Z",
            "modified_time":  "2026-11-18T20:30:00Z",
            "sha256":  "b58d55f9a4d2ae8d63dbba8c5b88c7fe054e48c2cac2c11cc05d41efe0d4efb9",
            "source":  "amazon-inspector",
            "versions":  [
                "1.98.3"
            ]
        },
        {
            "id":  "pypi/2026-11-solana-utils-terminalmoney1/solana-utils-terminalmoney1",
            "import_time":  "2026-11-18T21:11:19.008031858Z",
            "modified_time":  "2026-11-18T20:36:36.8461Z",
            "sha256":  "8b9f1e33c12c0eb5b5aefe865fa28651fa55e45a28a5d2cd4cc55c567a7e3af2",
            "source":  "kam193",
            "versions":  [
                "1.98.2",
                "1.98.3"
            ]
        }
    ]
}
References
Credits

Affected packages

PyPI / solana-utils-terminalmoney1

Package

Name
solana-utils-terminalmoney1
View open source insights on deps.dev
Purl
pkg:pypi/solana-utils-terminalmoney1

Affected ranges

Affected versions

1.*
1.98.2
1.98.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"
    }
]
indicators
{
    "evidence_files":  [
        {
            "artifacts":  [
                "solana_utils_terminalmoney1-1.98.2.tar.gz"
            ],
            "path":  "hxboot.py",
            "sha256":  "fc5f679e07d2f89e0fe4fc67933b65e027d0263b8e623e19166d110432a8bf8d",
            "tlsh":  "642186c3d40e1807d01d53c48c060ed836afff8860af285aabd76fc0908c2b2166b61d"
        }
    ],
    "package_integrity":  [
        {
            "filename":  "solana_utils_terminalmoney1-1.98.2.tar.gz",
            "hashes":  {
                "blake2b_256":  "4e7b2a83e69e8b28a10e0037037d7d0250ef86bc32239d7051d3934025b188c9",
                "md5":  "af75d44ac9353b41bdf0cd821cbecb02",
                "sha256":  "0d86fe55e5d415238cd83716a62f65da4a892ad400eb8d70bc7f64fe40842e71"
            }
        }
    ]
}
source
"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/pypi/solana-utils-terminalmoney1/MAL-2026-20136.json"