Malicious Code Exfiltration in dataflux-pytorch Package
Summary
MAL-2026-1988: Malicious code in dataflux-pytorch (PyPI). Affects dataflux-pytorch versions 9.9.9. No fix is published. How to fix ↓
Check if this vulnerability affects your application
Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.
No signup required · Results in about 60 seconds
Background
dataflux-pytorch is a Python package available on PyPI, designed for data processing and machine learning tasks. It is intended to facilitate the use of PyTorch for data manipulation and analysis. However, this package has been found to contain malicious code that compromises user data security by exfiltrating sensitive information from the host system.
Vulnerability Detail
The vulnerability originates from the package's installation process, where it overrides the install command in setup.py to execute malicious code. This code is designed to exfiltrate basic information about the host, such as the IP address and username, posing a risk to user privacy and system security. The package has no legitimate functionality beyond this malicious intent, making it a significant threat to users who install it.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
pip uninstall dataflux-pytorch
If it arrived as a transitive dependency, remove the package that pulled it in, then reinstall.
Tip — Not sure whether your app is affected? Vulert can check the versions your app actually runs. Scan free →
Workaround
As a temporary measure, avoid installing the dataflux-pytorch package altogether. If you have already installed it, remove it immediately using the command: 'pip uninstall dataflux-pytorch'. Additionally, consider using alternative packages that provide similar functionality without the associated risks.
Conclusion
The dataflux-pytorch package has been identified as containing malicious code that exfiltrates sensitive information from users' systems. It is essential to uninstall this package and avoid using it until a secure version is released. Users should remain vigilant and utilize tools like Vulert to monitor for vulnerabilities in their software.
See every vulnerability recorded for dataflux-pytorch →
FAQ
dataflux-pytorch is a Python package designed for data processing and machine learning tasks using PyTorch.
The vulnerability involves the exfiltration of sensitive information such as IP addresses and usernames from the host system during the package installation.
You can use Vulert's playground at Vulert Scanner to check if your application is affected by this vulnerability without requiring any signup.
If you have installed the dataflux-pytorch package, you should uninstall it immediately using the command: 'pip uninstall dataflux-pytorch'.
Yes, consider using other data processing libraries that do not have known vulnerabilities, such as pandas or NumPy, depending on your specific needs.