Critical Malicious Code Vulnerability in myasicapi Package
Summary
MAL-2026-984: Malicious code in myasicapi (PyPI). Affects myasicapi versions 0.2.5. 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
myasicapi is a Python package available on PyPI, designed to monitor hardware cryptominers. It aims to provide users with insights into their mining operations. However, this package has been found to contain malicious code that compromises user security, making it susceptible to exploitation.
Vulnerability Detail
The vulnerability originates from a malicious implementation within the myasicapi package, specifically in version 0.2.5. The code includes functionalities that allow it to act as an attacker-controller proxy and establish a reverse shell to the attacker's endpoint. This means that once the package is installed, it can automatically execute commands on the victim's machine, leading to severe security breaches and potential data loss.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
pip uninstall myasicapi
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
Currently, there are no effective workarounds to mitigate the risks posed by this vulnerability. The best course of action is to avoid using the myasicapi package altogether until a secure version is released.
Conclusion
The myasicapi package has been identified as containing malicious code that poses significant security risks to users. It is essential to uninstall the package and refrain from using it until a secure version is released. Monitoring tools like Vulert can help keep your software secure by alerting you to vulnerabilities in real-time.
See every vulnerability recorded for myasicapi →
FAQ
myasicapi is a Python package designed to monitor hardware cryptominers, providing users with insights into their mining operations.
The vulnerability allows the package to act as an attacker-controller proxy and create a reverse shell, enabling attackers to execute arbitrary commands on the victim's machine.
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 requiring signup.
As of now, there is no patched version available. It is recommended to uninstall the package until a secure version is released.
If you have installed the vulnerable version of myasicapi, you should uninstall it immediately using the command: pip uninstall myasicapi.