Critical Malicious Code Vulnerability in neptune-cli Package
Summary
MAL-2025-6557: Malicious code in neptune-cli (PyPI). Affects neptune-cli versions 0.0.1. 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 neptune-cli package is a command-line interface tool designed for interacting with the Neptune platform, which is used for managing machine learning experiments. This package allows users to log and visualize their experiments efficiently. However, a recent vulnerability has been identified that exposes users to potential security risks due to malicious code embedded in the package.
Vulnerability Detail
The vulnerability, identified as MAL-2025-6557, originates from a malicious code injection in version 0.0.1 of the neptune-cli package. This code can compromise user systems, potentially leading to unauthorized access, data theft, or other malicious activities. The issue was discovered by ReversingLabs and is documented in their malicious packages database. Users of this package are at risk if they have installed the affected version.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
pip uninstall neptune-cli
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, users can uninstall the affected version of neptune-cli by running: pip uninstall neptune-cli. This will prevent the execution of any malicious code until a secure version is installed.
Conclusion
The neptune-cli package has a critical vulnerability due to malicious code in version 0.0.1. Users are advised to update to a secure version immediately or uninstall the package to mitigate risks. Utilizing tools like Vulert can help monitor for such vulnerabilities in real-time.
See every vulnerability recorded for neptune-cli →
FAQ
neptune-cli is a command-line interface tool for managing machine learning experiments on the Neptune platform.
The vulnerability involves malicious code that can compromise user systems, leading to unauthorized access and data theft.
You can use Vulert to monitor and alert for open-source vulnerabilities in your software. Check your application's status using the Vulert playground at Vulert Scanner.
Yes, users should update to the latest version of the neptune-cli package to ensure they are protected against this vulnerability.
As a temporary measure, uninstall the affected version of neptune-cli to prevent any potential exploitation until you can update.