MAL-2026-19930: Malicious code in trezortranslate (PyPI)
--- -= Per source details. Do not edit below this line.=-
Source: kam193 (da5f11fa30f28362c8394977403d7736c91c828ba295b3d175baa1c8539edf8b) Installing the package or importing the module exfiltrates basic information about the host, and the package has no other purpose.
---
Category: PROBABLYPENTEST - Packages looking like typical pentest packages, but also anything that looks like testing, exploring pre-prepared kits, research & co, with clearly low-harm possibilities.
Campaign: GENERIC-standard-pypi-install-pentest
Reasons (based on the campaign):
- The package contains code to exfiltrate basic data from the system, like IP or username. It has a limited risk.
- The package overrides the install command in setup.py to execute malicious code during installation.
Affected Software
Event History
Frequently Asked Questions
When does the package execute its malicious behavior?
The package overrides the install command in setup.py, causing code to execute during installation. The source also states that importing the module triggers exfiltration.
What information is exposed?
The package exfiltrates basic host information, such as the system IP address or username. The available data characterizes the risk as limited.
Are systems affected if the package is only installed but never imported?
Yes. Malicious code executes during installation because the package overrides the setup.py install command; importing it is an additional execution path.