Malicious Code Injection in beautiful_roadrunner_z3n Package
Summary
MAL-2025-99880: Malicious code in beautiful_roadrunner_z3n (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 beautiful_roadrunner_z3n package is part of the npm ecosystem, which is widely used for JavaScript development. This package is associated with the tea.xyz token reward campaign, which has been known to flood the npm registry with numerous packages. The primary functionality of this package is to serve as a token reward mechanism, but it has been compromised to include malicious scripts that can harm developers and the integrity of the npm registry.
Vulnerability Detail
The vulnerability in the beautiful_roadrunner_z3n package stems from its inclusion in a malicious campaign that generates and publishes derivative packages with randomized names. These packages contain scripts that modify the package.json file to remove private flags, change version numbers, and continuously republish variants to pollute the npm registry. This can lead to a significant increase in spam packages, affecting the reputation of legitimate developers and potentially introducing security risks into applications that depend on these packages.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall beautiful_roadrunner_z3n
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 workaround, you can prevent the installation of this package by using npm's package-lock.json to monitor dependencies. If you are using Vulert, you can check for vulnerabilities in your application without any installation by visiting the Vulert playground at https://vulert.com/scanner.
Conclusion
The beautiful_roadrunner_z3n package has been identified as containing malicious code that can compromise the integrity of the npm registry and affect developers. Immediate action is required to remove this package from any projects to prevent potential security risks.
See every vulnerability recorded for beautiful_roadrunner_z3n →
FAQ
It is an npm package associated with the tea.xyz token reward campaign, which has been compromised to include malicious code.
The vulnerability can lead to the introduction of spam packages and potential security risks, affecting the integrity and reputation of your application.
It is recommended to uninstall the beautiful_roadrunner_z3n package immediately to mitigate any risks.
Currently, there is no patched version available. The best course of action is to remove the package entirely.
You can use Vulert to monitor your project for open-source vulnerabilities in real-time by analyzing your package-lock.json file.