Malicious Code Injection in yuda-14: A Threat to npm Ecosystem
Summary
MAL-2025-170581: Malicious code in yuda-14 (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 yuda-14 is part of the npm ecosystem, which is widely used for JavaScript package management. It is often utilized in various applications to enhance functionality and streamline development processes. However, yuda-14 has been identified as part of a malicious campaign that aims to exploit the npm registry by flooding it with derivative packages, thereby compromising the integrity of the ecosystem.
Vulnerability Detail
The vulnerability in yuda-14 stems from its association with the tea.xyz token reward campaign, which employs malicious scripts to manipulate package metadata. Specifically, the malicious payload alters the package.json file by removing private flags, changing version numbers, and generating random package names. This behavior not only inflates developer reputation scores but also leads to the pollution of the npm registry with potentially harmful packages. The origin of this vulnerability is linked to automated scripts designed to exploit the npm ecosystem for token rewards, posing significant risks to developers and users alike.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall yuda-14
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 yuda-14 package from your project by executing the command: 'npm uninstall yuda-14'. This will prevent any malicious code from executing while you assess your options for a secure replacement package.
Conclusion
The yuda-14 package poses a significant security risk due to its malicious code injection capabilities. It is crucial for developers to take immediate action by updating or removing the package to safeguard their applications. Utilizing tools like Vulert can help in monitoring and identifying vulnerabilities in real-time.
See every vulnerability recorded for yuda-14 →
FAQ
yuda-14 is an npm package that has been identified as part of a malicious campaign targeting the npm registry.
The vulnerability can lead to the injection of malicious code, compromising the security and integrity of your application.
You should uninstall yuda-14 immediately and check for any updates or patches for your other dependencies.
Yes, you can use Vulert to monitor your application for open-source vulnerabilities in real-time using just your package-lock.json file.
You can use the Vulert playground at Vulert Scanner to check if your application is affected by this vulnerability without needing to sign up.