Malicious Code Exfiltration in supersafecalc Package
Summary
MAL-2025-191881: Malicious code in supersafecalc (PyPI). Affected versions are not published. 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
The supersafecalc package, available on PyPI, is designed for performing safe calculations. However, it has been identified as containing malicious code that exfiltrates sensitive information from the host system. This vulnerability poses a risk to users who install or import the package, as it can compromise their privacy and security.
Vulnerability Detail
The vulnerability originates from the package's design, which includes code that exfiltrates basic information such as the host's IP address and username. This malicious behavior is triggered upon installation or import of the package, as it overrides the install command in setup.py to execute harmful code. The risk is categorized as limited, but it still poses a significant threat to user data.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
pip uninstall supersafecalc
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 workaround, users can avoid using the supersafecalc package altogether and look for alternative packages that provide similar functionality without the risk of malicious behavior.
Conclusion
The supersafecalc package has been identified as containing malicious code that exfiltrates sensitive information from users' systems. It is crucial for users to uninstall this package and seek alternatives to protect their data. Monitoring tools like Vulert can help keep your applications secure from such vulnerabilities.
See every vulnerability recorded for supersafecalc →
FAQ
supersafecalc is a Python package intended for safe calculations, but it has been compromised with malicious code.
The malicious code exfiltrates sensitive information such as your IP address and username, potentially compromising your privacy.
You should uninstall the supersafecalc package immediately to prevent any data exfiltration.
Yes, consider using other reputable packages for safe calculations that do not have known vulnerabilities.
You can use Vulert, which monitors and alerts in real-time for open-source vulnerabilities. You can check your application against known vulnerabilities using the Vulert playground without any signup.