Malicious Code Injection in reyna-teadev Package: A Threat to npm Ecosystem
Summary
MAL-2025-108003: Malicious code in reyna-teadev (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 reyna-teadev package is part of the npm ecosystem, which is widely used for JavaScript development. It is typically involved in various development tasks, including package management and deployment. However, this package has been identified as part of a malicious campaign that aims to exploit npm's publishing capabilities, leading to potential security risks for developers and their applications.
Vulnerability Detail
The vulnerability in the reyna-teadev package stems from its association with the tea.xyz token reward campaign. This package contains scripts designed to automatically generate and publish derivative packages with randomized names, which can inflate developer reputation scores. The malicious payload modifies the package.json file to remove private flags, alters version numbers, and continuously republishes variants, thereby polluting the npm registry. This can lead to compromised applications and a degraded trust in the npm ecosystem.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall reyna-teadev
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 reyna-teadev package from your project by executing the command: 'npm uninstall reyna-teadev'. This will prevent any malicious code from executing until a secure version is available.
Conclusion
The reyna-teadev package poses a significant security risk due to its malicious code injection capabilities. Developers should take immediate action to update or remove this package from their projects to safeguard their applications. Utilizing tools like Vulert can help in monitoring and managing vulnerabilities effectively.
See every vulnerability recorded for reyna-teadev →
FAQ
The reyna-teadev package is an npm package used in JavaScript development, but it has been identified as part of a malicious campaign that exploits npm's publishing features.
The vulnerability can lead to the injection of malicious code into your application, potentially compromising its security and integrity.
You should immediately update or uninstall the reyna-teadev package to prevent any potential security risks.
You can use tools like Vulert, which monitors your package-lock.json file for open-source vulnerabilities in real-time 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 any signup.