Malicious Code Injection in tomi-semur92-riris Package
Summary
MAL-2025-91196: Malicious code in tomi-semur92-riris (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 tomi-semur92-riris package is part of the npm ecosystem and is associated with the tea.xyz token reward campaign. This package is designed to facilitate the automatic generation and publication of derivative packages, which can inflate developer reputation scores in exchange for token rewards. However, its functionality has been compromised, leading to significant security concerns.
Vulnerability Detail
The vulnerability originates from the malicious code embedded in the tomi-semur92-riris package. This code modifies the package.json file by removing private flags, altering version numbers, and generating random package names. The malicious payload continuously republishes these variants to pollute the npm registry, potentially leading to reputation damage for developers and security risks for users who inadvertently install these compromised packages.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall tomi-semur92-riris
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, avoid using the tomi-semur92-riris package and monitor your project for any dependencies that may rely on it. Regularly check your package-lock.json file for any signs of this package and remove it if found.
Conclusion
The tomi-semur92-riris package contains malicious code that poses a significant risk to developers and users alike. It is crucial to remove this package from your project and monitor for any dependencies that may be affected. Utilizing tools like Vulert can help in maintaining the security of your software.
See every vulnerability recorded for tomi-semur92-riris →
FAQ
The tomi-semur92-riris package is an npm package that is part of a token reward campaign, designed to generate and publish derivative packages automatically.
The malicious code modifies your package.json file, removes private flags, and can lead to the installation of compromised packages, which may harm your project's integrity.
You should uninstall the tomi-semur92-riris package immediately using 'npm uninstall tomi-semur92-riris' and check for any other affected packages.
Yes, you can use Vulert, which monitors and alerts for open-source vulnerabilities in real-time using your package-lock.json file. You can also check your application for vulnerabilities using the Vulert playground without any signup.
Regularly audit your dependencies, use tools like Vulert for real-time monitoring, and stay updated with the latest security patches for all packages.