Malicious Code Injection in yanti-tomat92-riris Package
Summary
MAL-2025-92646: Malicious code in yanti-tomat92-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 yanti-tomat92-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, often with randomized names. The primary function of such packages is to inflate developer reputation scores in exchange for token rewards. However, this functionality has led to vulnerabilities that can compromise the integrity of the npm registry.
Vulnerability Detail
The vulnerability in the yanti-tomat92-riris package originates from its malicious payload, which modifies the package.json file by removing private flags and altering version numbers. It generates random package names, often themed around Indonesian culture, and continuously republishes these variants to pollute the npm registry. This behavior not only compromises the affected package but also poses a risk to the broader ecosystem by cluttering the registry with potentially harmful packages.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall yanti-tomat92-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, you can prevent the installation of the yanti-tomat92-riris package by using the following command: npm uninstall yanti-tomat92-riris. Additionally, consider using npm audit to identify and address other vulnerabilities in your project.
Conclusion
The yanti-tomat92-riris package has been identified as containing malicious code that compromises the npm registry. It is essential for developers to be aware of this vulnerability and take appropriate actions to secure their projects. Regularly updating packages and using monitoring tools like Vulert can help mitigate risks associated with open-source vulnerabilities.
See every vulnerability recorded for yanti-tomat92-riris →
FAQ
The yanti-tomat92-riris package is an npm package associated with the tea.xyz token reward campaign, designed to generate and publish derivative packages automatically.
This vulnerability can lead to the pollution of the npm registry with malicious packages, potentially compromising the integrity of your project and affecting its dependencies.
If you have installed the yanti-tomat92-riris package, it is advisable to uninstall it immediately and check for any updates or patches.
You can use tools like Vulert, which monitors your package-lock.json file to alert you in real-time for open-source vulnerabilities. You can also check your application against known vulnerabilities using the Vulert playground.
Yes, you can use the Vulert playground at Vulert Scanner to check if your application is affected by this vulnerability without requiring any signup.