Malicious Code Detected in Quantumania Package - Vulnerability Overview
Summary
MAL-2026-1912: Malicious code in quantumania (PyPI). Affects quantumania versions 0.0.3. 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
Quantumania is a Python package available on PyPI, designed for quantum computing applications. It provides various functionalities for quantum simulations and algorithms. However, it has been identified to contain malicious code, posing significant security risks to users who integrate it into their projects.
Vulnerability Detail
The vulnerability originates from a malicious code injection in version 0.0.3 of the Quantumania package. This code can potentially compromise the security of the systems using the package, leading to unauthorized access, data breaches, or system manipulation. The malicious nature of the code makes it imperative for users to address this issue promptly to safeguard their applications.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
pip uninstall quantumania
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, users can avoid using the affected version (0.0.3) of the Quantumania package until a secure version is released. It is advisable to monitor the package repository for updates.
Conclusion
The Quantumania package has been found to contain malicious code in version 0.0.3, posing serious security risks. Users are urged to update to a secure version as soon as it becomes available and to utilize tools like Vulert for ongoing monitoring of vulnerabilities in their applications.
See every vulnerability recorded for quantumania →
FAQ
The malicious code is designed to exploit vulnerabilities in systems that utilize the Quantumania package, potentially leading to unauthorized access or data manipulation.
You can use Vulert, which monitors and alerts for open-source vulnerabilities in real-time. Visit Vulert Scanner to check if your application is affected without any signup.
If an immediate update is not possible, refrain from using the affected version and monitor for any patches or updates from the package maintainers.
Regularly monitor your dependencies for vulnerabilities using tools like Vulert, and ensure to keep your packages updated to the latest secure versions.
The vulnerability was identified by ReversingLabs, a cybersecurity firm specializing in threat detection and analysis.