Malicious Code Detected in admin-scripts Package - Security Alert
Summary
MAL-2025-14097: Malicious code in admin-scripts (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 admin-scripts package is a utility designed for managing administrative tasks in Node.js applications. It provides a range of scripts that help developers automate various processes, enhancing productivity and efficiency. However, recent findings have revealed that this package contains malicious code, posing a significant security risk to users who rely on it.
Vulnerability Detail
The vulnerability originates from the inclusion of malicious code within the admin-scripts package. This code can potentially compromise the security of applications utilizing the package, leading to unauthorized access, data breaches, or other malicious activities. The issue affects all versions of the package starting from version 0, making it critical for users to take immediate action to mitigate the risks associated with this vulnerability.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall admin-scripts
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 remove the admin-scripts package from their project until a secure version is released. This can be done with the following command: npm uninstall admin-scripts. Consider using alternative packages that provide similar functionality without the associated risks.
Conclusion
The discovery of malicious code in the admin-scripts package highlights the importance of vigilance in managing open-source dependencies. Users must take proactive steps to secure their applications by updating or removing affected packages and utilizing tools like Vulert for ongoing monitoring.
See every vulnerability recorded for admin-scripts →
FAQ
admin-scripts is a Node.js package designed to help developers automate administrative tasks within their applications.
The specific nature of the malicious code has not been disclosed, but it poses a risk of unauthorized access and potential data breaches.
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 any signup.
Immediately update or uninstall the package to mitigate the risks associated with the vulnerability.
As of now, a patched version has not been released. Users should monitor the package repository for updates.