Malicious Code Injection in wulan-11: A Threat to npm Users
Summary
MAL-2025-170535: Malicious code in wulan-11 (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 package 'wulan-11' is part of the npm ecosystem, which is widely used for JavaScript package management. It is often utilized in various applications to enhance functionality through third-party libraries. However, 'wulan-11' has been identified as part of a malicious campaign that aims to manipulate the npm registry and inflate developer reputation scores through the creation of derivative packages.
Vulnerability Detail
The vulnerability in 'wulan-11' stems from its association with a malicious campaign that modifies the package.json file to remove private flags, alters version numbers, and generates random package names. This behavior leads to the continuous republishing of these variants, polluting the npm registry and potentially compromising the integrity of applications that depend on these packages. The malicious payload is designed to exploit the npm ecosystem by automating the creation and publication of harmful packages.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall wulan-11
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 measure, avoid using 'wulan-11' and any packages that may depend on it. Regularly audit your project's dependencies to identify and remove any potentially harmful packages.
Conclusion
The wulan-11 package poses a significant threat to the npm ecosystem due to its malicious behavior. Users are advised to uninstall this package and remain vigilant about their dependencies. Utilizing tools like Vulert can help in monitoring and managing vulnerabilities effectively.
See every vulnerability recorded for wulan-11 →
FAQ
The wulan-11 package contains malicious code that modifies package.json files and republish variants to the npm registry, which can compromise application integrity.
You can use Vulert's playground at Vulert Scanner to check if your application is affected by this vulnerability without needing to sign up.
If you have installed wulan-11, you should uninstall it immediately using 'npm uninstall wulan-11' and audit your dependencies for any other malicious packages.
Currently, there is no specific patched version of wulan-11 available. It is recommended to remove the package entirely.
To prevent similar vulnerabilities, regularly audit your dependencies, use trusted packages, and monitor your project with tools like Vulert to receive real-time alerts for open-source vulnerabilities.