GHSA-XCRH-M987-2GC7
Malicious code in solana-utils-terminalmoney1 (PyPI)
Ciclo de vida de la vulnerabilidad
| Fecha | Fase | Evento | Detalle |
|---|---|---|---|
| Divulgación | Publicada | GHSA-XCRH-M987-2GC7 divulgada | |
| Divulgación | Modificada | Última actualización del registro | |
| Monitoreo | Detectada | Ingresó al índice | |
| Monitoreo | Verificada | Última verificación contra las fuentes |
## 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.
---
Credit: OpenSSF https://github.com/ossf/malicious-packages (source https://github.com/ossf/malicious-packages/blob/2d454aa499b2e372cb1319eeae473d1747d197b3/osv/malicious/pypi/solana-utils-terminalmoney1/MAL-2026-20136.json)
Versiones afectadas
1.98.21.98.3Estado del parche por paquete
| Paquete / producto | Estado | Corregida en | Desde divulgación | Última versión |
|---|---|---|---|---|
PyPIsolana-utils-terminalmoney1 |
Sin parche | — | — | — |
Arsenal público
Sin exploits, módulos ni PoC públicos conocidos a la fecha de verificación.
https://bad-packages.kam193.eu/pypi/package/solana-utils-terminalmoney1https://github.com/ossf/malicious-packages/blob/2d454aa499b2e372cb1319eeae473d1747d197b3/osv/malicious/pypi/solana-utils-terminalmoney1/MAL-2026-20136.jsonhttps://pypi.org/project/solana-utils-terminalmoney1/1.98.2https://pypi.org/project/solana-utils-terminalmoney1/1.98.3https://github.com/advisories/GHSA-xcrh-m987-2gc7Las referencias externas se muestran para copiar: cve.llama.ec no lo redirige a otros sitios.
