Malicious Code Injection in riana-semur100-breki: A Threat to npm Packages
Summary
MAL-2025-75174: Malicious code in riana-semur100-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-semur100-breki is part of the npm ecosystem and is associated with the tea.xyz token reward campaign. This campaign has been known to flood the npm registry with packages that contain malicious scripts. These scripts are designed to manipulate package metadata and inflate developer reputation scores through the automatic generation and publication of derivative packages.
Vulnerability Detail
The vulnerability in riana-semur100-breki stems from its inclusion in a malicious campaign that modifies the package.json file to remove private flags, alters version numbers, and generates random package names. This behavior not only compromises the integrity of the npm registry but also poses a risk to developers who may unknowingly use these compromised packages. The malicious payload continuously republishes variants, leading to pollution of the npm registry and potential exploitation of unsuspecting users.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall riana-semur100-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 remove the riana-semur100-breki package from your project by executing the command: npm uninstall riana-semur100-breki. This will prevent any potential exploitation until a fix is applied.
Conclusion
The riana-semur100-breki package poses a significant security risk due to its malicious code that alters package metadata. It is crucial for developers to stay vigilant, update their dependencies, and utilize tools like Vulert to monitor for vulnerabilities in their projects.
See every vulnerability recorded for riana-semur100-breki →
FAQ
riana-semur100-breki is an npm package that is part of a malicious campaign aimed at manipulating package metadata for token rewards.
The vulnerability can lead to the introduction of malicious code into your project, potentially compromising its security and integrity.
If you have installed riana-semur100-breki, it is recommended to uninstall it immediately and check for any other affected packages.
Yes, you can use Vulert to monitor your project for open-source vulnerabilities in real-time. It analyzes your package-lock.json file without requiring code access.
You can use the Vulert playground at Vulert Scanner to check if your application is affected by this vulnerability without any signup.