Malicious Code Injection in riana-getas56-breki: A Threat to npm Packages
Summary
MAL-2025-75135: Malicious code in riana-getas56-breki (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 riana-getas56-breki is part of the npm ecosystem and is associated with the tea.xyz token reward campaign. This package is designed to manipulate the npm registry by creating and publishing numerous derivative packages with randomized names. Its primary function is to inflate developer reputation scores for token rewards, but this leads to significant pollution of the npm registry and poses a risk to developers relying on legitimate packages.
Vulnerability Detail
The vulnerability in riana-getas56-breki stems from its malicious code that modifies the package.json file by removing private flags and altering version numbers. It generates random package names, primarily themed around Indonesian culture, and continuously republishes these variants. This behavior not only compromises the integrity of the npm registry but also exposes developers to potential security risks as they may inadvertently install these malicious packages.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall riana-getas56-breki
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 manually check your package-lock.json file for any references to riana-getas56-breki and remove it. You can also use the following command to uninstall the package: npm uninstall riana-getas56-breki.
Conclusion
The riana-getas56-breki package poses a significant risk due to its malicious code designed to manipulate the npm registry. Developers should take immediate action to remove this package and monitor their projects for any signs of compromise. Utilizing tools like Vulert can help in identifying vulnerabilities in real-time.
See every vulnerability recorded for riana-getas56-breki →
FAQ
riana-getas56-breki is an npm package associated with a token reward campaign that generates and publishes malicious packages.
The vulnerability can lead to the installation of malicious packages that may compromise your project's security and integrity.
You can use Vulert, which monitors and alerts for open-source vulnerabilities in real-time. You can check your application using the Vulert playground at Vulert Scanner without any signup.
If you have installed riana-getas56-breki, you should uninstall it immediately using the command: npm uninstall riana-getas56-breki.
Currently, there are no patches available for riana-getas56-breki. It is best to avoid using this package.