Malicious Code Injection in riana-ubi71-breki Package - npm Vulnerability
Summary
MAL-2025-75180: Malicious code in riana-ubi71-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 riana-ubi71-breki package is part of the npm ecosystem, often utilized for various JavaScript applications. It is associated with the tea.xyz token reward campaign, which has been known to flood the npm registry with malicious packages. This package, like others in the campaign, is designed to manipulate the npm registry by generating and publishing derivative packages with altered metadata.
Vulnerability Detail
The vulnerability in the riana-ubi71-breki package stems from its malicious code that modifies the package.json file. This code removes private flags, alters version numbers, and creates random package names, leading to the pollution of the npm registry. The origin of this issue is linked to the tea.xyz token reward campaign, which incentivizes the creation of such packages to inflate developer reputation scores. The ramifications include potential security risks for applications relying on this package, as well as the degradation of the npm ecosystem due to the proliferation of these malicious variants.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall riana-ubi71-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 temporary workaround, you can avoid using the riana-ubi71-breki package and look for alternative packages that provide similar functionality without the associated risks. Additionally, consider using tools like Vulert to monitor your package dependencies for vulnerabilities.
Conclusion
The riana-ubi71-breki package poses a significant risk due to its malicious code that alters package metadata and pollutes the npm registry. It is crucial for developers to remove this package and monitor their dependencies for vulnerabilities to maintain the integrity of their applications.
See every vulnerability recorded for riana-ubi71-breki →
FAQ
The riana-ubi71-breki package is an npm package that is part of a malicious campaign aimed at inflating developer reputation scores through the creation of derivative packages.
This vulnerability can lead to the modification of your package.json file, potentially introducing security risks and causing your application to rely on compromised packages.
You should uninstall the riana-ubi71-breki package immediately and monitor your project for any other potentially malicious dependencies.
Yes, tools like Vulert can help monitor your package dependencies for vulnerabilities in real-time without requiring code access or installation.
You can use the Vulert playground at Vulert Scanner to check if your application is affected by this vulnerability without any signup.