Malicious Code Injection in wulan-29 Package: A Threat to npm Ecosystem
Summary
MAL-2025-170553: Malicious code in wulan-29 (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 wulan-29 package is part of the npm ecosystem and has been identified as a component of the tea.xyz token reward campaign. This package is designed to facilitate the automatic generation and publication of derivative packages, which are often used to inflate developer reputation scores for token rewards. However, it has been compromised to include malicious scripts that can significantly disrupt the npm registry.
Vulnerability Detail
The vulnerability in the wulan-29 package stems from its inclusion in a malicious campaign that modifies the package.json file to remove private flags and change version numbers. This allows the package to generate random names for derivative packages, which are then republished to pollute the npm registry. The malicious payload can lead to a loss of integrity in the npm ecosystem, as it floods the registry with potentially harmful packages.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall wulan-29
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 wulan-29 package from your project by executing the command: 'npm uninstall wulan-29'. This will prevent any malicious scripts from executing while you seek a permanent fix.
Conclusion
The wulan-29 package poses a significant threat to the npm ecosystem due to its malicious code that modifies package files and floods the registry with harmful packages. It is crucial for developers to take immediate action by uninstalling the package and monitoring their projects for vulnerabilities.
See every vulnerability recorded for wulan-29 →
FAQ
The wulan-29 package is a part of the npm ecosystem, primarily associated with the tea.xyz token reward campaign, which has been compromised to include malicious code.
The malicious code modifies your package.json file, removes private flags, and generates random package names, potentially flooding your project with unwanted and harmful packages.
You should uninstall the wulan-29 package immediately and check for any updates or patches that address the vulnerability.
You can use tools like Vulert, which monitors your package-lock.json file to alert you in real-time for open-source vulnerabilities without requiring code access or installation.
Yes, you can use the Vulert playground at Vulert Scanner to check if your application is affected by this vulnerability without needing to sign up.