Malicious Code Detected in add-users Package - Security Alert
Summary
MAL-2025-14071: Malicious code in add-users (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 add-users package is an npm module designed to facilitate user management in applications. It allows developers to easily add and manage users within their software. However, this package has been found to contain malicious code, posing significant security risks to applications that utilize it.
Vulnerability Detail
The vulnerability in the add-users package originates 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 malicious activities. The specific technical details of the malicious code have not been disclosed, but its presence in the package is a serious concern for developers and users alike.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall add-users
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
If immediate updating is not feasible, consider removing the add-users package from your project until a secure version is available. You can do this by executing 'npm uninstall add-users' in your terminal.
Conclusion
The discovery of malicious code in the add-users package highlights the importance of regularly monitoring and updating dependencies in software projects. Developers should take immediate action to update or remove the affected package to safeguard their applications.
See every vulnerability recorded for add-users →
FAQ
The add-users package is an npm module that helps developers manage user accounts within their applications.
The specific details of the malicious code have not been disclosed, but it poses significant security risks, including potential unauthorized access.
You can use Vulert, which monitors and alerts for open-source vulnerabilities in your software. Simply upload your package-lock.json file to check for vulnerabilities.
Yes, you can temporarily remove the add-users package from your project until a secure version is released.
Utilize tools like Vulert to monitor your dependencies for vulnerabilities in real-time without needing to access the code.