Malicious Code Detected in dotenv-safe-neutrino-commitizen-supervisor Package
Summary
MAL-2025-18670: Malicious code in dotenv-safe-neutrino-commitizen-supervisor (npm). 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 dotenv-safe-neutrino-commitizen-supervisor package is an npm module designed to enhance the management of environment variables in Node.js applications. It combines dotenv-safe functionality with Neutrino, Commitizen, and Supervisor to streamline development workflows. However, this package has been identified to contain malicious code, posing significant risks to users who integrate it into their projects.
Vulnerability Detail
The vulnerability in the dotenv-safe-neutrino-commitizen-supervisor package stems from the inclusion of malicious code that can compromise the security of applications using this package. This code may lead to unauthorized access, data breaches, or other harmful actions within the affected systems. The malicious code was introduced in version 0 and affects all subsequent versions, making it critical for users to address this issue promptly.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall dotenv-safe-neutrino-commitizen-supervisor
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 avoid using the dotenv-safe-neutrino-commitizen-supervisor package and instead manage environment variables using the dotenv package directly, which is known to be secure. Here is an example of how to use dotenv:
const dotenv = require('dotenv');
dotenv.config();
This code loads environment variables from a .env file into process.env.
Conclusion
The dotenv-safe-neutrino-commitizen-supervisor package has been found to contain malicious code that poses a significant security risk. Users are advised to remove the package and monitor their applications for vulnerabilities using tools like Vulert. Taking proactive measures is essential to safeguard your projects.
See every vulnerability recorded for dotenv-safe-neutrino-commitizen-supervisor →
FAQ
It is an npm module that helps manage environment variables in Node.js applications, combining various tools for enhanced development workflows.
The malicious code can lead to unauthorized access and potential data breaches, compromising the security of applications using the package.
You can use the Vulert platform to monitor and alert for open-source vulnerabilities in your software. Visit Vulert Scanner to check your application without any signup.
Currently, there is no patched version available for the dotenv-safe-neutrino-commitizen-supervisor package. The recommended action is to remove the package.
You should remove the dotenv-safe-neutrino-commitizen-supervisor package from your project and consider using secure alternatives for managing environment variables.