Critical Malicious Code Vulnerability in wisecloudsecrets Package
Summary
MAL-2026-1143: Malicious code in wisecloudsecrets (PyPI). Affects wisecloudsecrets versions 1.4.0. 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 wisecloudsecrets package, available on PyPI, is designed to manage and store sensitive cloud-related secrets securely. However, it has been found to contain malicious code that can compromise the security of environments where it is installed. This vulnerability poses a significant risk to users who rely on this package for managing sensitive information.
Vulnerability Detail
The vulnerability originates from a malicious code embedded within the wisecloudsecrets package, specifically version 1.4.0. During the import process, in certain environments, this code masquerades as telemetry and exfiltrates sensitive environment variables and cloud tokens to a hardcoded location. Additionally, it initiates a job that listens for remote commands to execute on the victim's machine. This behavior indicates potential dependency confusion attempts, making it a serious threat to users' security.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
pip uninstall wisecloudsecrets
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 workaround, avoid using the wisecloudsecrets package until a patched version is confirmed. If you must use it, consider isolating the environment where it is installed and monitoring for any suspicious activity.
Conclusion
The wisecloudsecrets package has a critical vulnerability that can lead to the exfiltration of sensitive information and remote command execution. Users are advised to update the package immediately and monitor their environments for any suspicious activity. Utilizing tools like Vulert can help in identifying vulnerabilities in open-source packages.
See every vulnerability recorded for wisecloudsecrets →
FAQ
The wisecloudsecrets package is a Python library designed to manage and store sensitive cloud-related secrets securely.
The vulnerability allows malicious code to exfiltrate sensitive information and execute remote commands, potentially compromising your environment.
Immediately update the package to the latest version using pip install --upgrade wisecloudsecrets.
Yes, you can use Vulert to monitor and alert in real-time for open-source vulnerabilities in your software without requiring access to the code or installation.
You can use the Vulert playground at Vulert Scanner to check if your application is affected by this vulnerability without any signup.