Malicious Code Injection in async-pm2-subscription-vuepress Package
Summary
MAL-2025-139635: Malicious code in async-pm2-subscription-vuepress (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 async-pm2-subscription-vuepress package is a Node.js library that serves as a subscription manager for VuePress applications. It is designed to facilitate asynchronous operations and enhance the performance of VuePress sites. However, this package has been compromised, making it susceptible to malicious code injection, which can lead to severe security risks.
Vulnerability Detail
The vulnerability originates from a malicious payload embedded within the async-pm2-subscription-vuepress package. This package is part of a broader campaign that floods the npm registry with harmful packages. The malicious code modifies the package.json file to remove private flags, alters version numbers, and generates random package names, which can lead to the pollution of the npm registry. This not only affects the integrity of the package but also poses a risk to developers who may unknowingly use these compromised packages in their applications.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall async-pm2-subscription-vuepress
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, you can remove the async-pm2-subscription-vuepress package from your project by executing 'npm uninstall async-pm2-subscription-vuepress'. This will prevent any malicious code from executing until a secure version is available.
Conclusion
The async-pm2-subscription-vuepress package has been compromised, leading to significant security vulnerabilities. It is crucial to take immediate action by updating or removing the package to protect your application from potential threats. Utilizing tools like Vulert can help in monitoring and managing open-source vulnerabilities effectively.
See every vulnerability recorded for async-pm2-subscription-vuepress →
FAQ
It is a Node.js library used for managing subscriptions in VuePress applications.
The malicious code can modify your package.json, remove private flags, and generate random package names, leading to potential security breaches.
You should immediately uninstall the package and monitor for any updates or patches that address the vulnerability.
Yes, you can use Vulert, which monitors and alerts in real-time for open-source vulnerabilities using just your package-lock.json file.
You can use the Vulert playground at Vulert Scanner to check for vulnerabilities without needing to sign up.
Follow Vulert in Google
Get more Vulert vulnerability and dependency-security updates in Google Search and AI results.