Malicious Code Injection in urygox-devapptea: A Threat to npm Packages
Summary
MAL-2025-110239: Malicious code in urygox-devapptea (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
urygox-devapptea is an npm package that is part of the tea.xyz token reward campaign. This package is designed to facilitate interactions within the tea protocol ecosystem, which aims to incentivize developers through token rewards. However, it has been identified as containing malicious code that compromises its integrity and the security of the npm registry.
Vulnerability Detail
The vulnerability in urygox-devapptea stems from its inclusion in a series of malicious packages that flood the npm ecosystem. These packages contain scripts that automatically modify package.json files to remove private flags, alter version numbers, and generate random package names. This behavior not only inflates developer reputation scores but also pollutes the npm registry with potentially harmful packages. The malicious payload can lead to unauthorized access and manipulation of projects that depend on this package.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall urygox-devapptea
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 the urygox-devapptea package in your projects. Regularly monitor your dependencies and consider using tools like Vulert to check for vulnerabilities in your package-lock.json file. You can access the Vulert playground at https://vulert.com/scanner to check if your application is affected by this vulnerability without any signup.
Conclusion
The discovery of malicious code in the urygox-devapptea package highlights the importance of vigilance in managing npm dependencies. By understanding the nature of this vulnerability and taking proactive steps to mitigate risks, developers can better protect their projects and maintain the integrity of their software environments.
See every vulnerability recorded for urygox-devapptea →
FAQ
urygox-devapptea is an npm package associated with the tea.xyz token reward campaign, aimed at incentivizing developers.
The vulnerability can lead to unauthorized modifications in your project's dependencies, potentially compromising security and stability.
You should uninstall the package immediately using npm uninstall urygox-devapptea and monitor your project for any unusual behavior.
Yes, you can use Vulert, which monitors and alerts for open-source vulnerabilities in your software using just package-lock.json.
Regularly audit your dependencies, use tools like Vulert for real-time monitoring, and stay updated on security advisories for the packages you use.