Malicious Code Injection in yuda-11 Package: A Threat to npm Users
Summary
MAL-2025-170578: Malicious code in yuda-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 yuda-11 package is part of the npm ecosystem, often used for various JavaScript applications. It is associated with the tea.xyz token reward campaign, which has been known to flood the npm registry with malicious packages. These packages typically contain scripts that manipulate package metadata and publish numerous variants to inflate developer reputation scores.
Vulnerability Detail
The vulnerability in the yuda-11 package stems from its malicious code, which modifies the package.json file to remove private flags and alters version numbers. It generates random package names, primarily themed around Indonesian culture, and continuously republishes these variants. This behavior can lead to pollution of the npm registry, making it difficult for developers to find legitimate packages and potentially compromising the security of applications that depend on this package.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall yuda-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 workaround, you can avoid using the yuda-11 package and look for alternative packages that provide similar functionality without the associated risks. Additionally, consider using tools like Vulert to monitor your package dependencies for vulnerabilities.
Conclusion
The yuda-11 package poses a significant risk to npm users due to its malicious code that alters package metadata and floods the npm registry. It is crucial to remove this package from your projects and monitor your dependencies for vulnerabilities using tools like Vulert.
See every vulnerability recorded for yuda-11 →
FAQ
The yuda-11 package is an npm package that has been identified as malicious, associated with a token reward campaign that floods the npm registry.
The malicious code modifies your package.json file, potentially leading to security vulnerabilities and making it difficult to manage legitimate package dependencies.
You should uninstall the yuda-11 package immediately using 'npm uninstall yuda-11' and check for any other affected packages.
Yes, you can use tools like Vulert to monitor your package-lock.json file for vulnerabilities in real-time, ensuring you are alerted to any issues as they arise.
Yes, you can use the Vulert playground at Vulert Scanner to check if your application is affected by this vulnerability without requiring any signup.