Malicious Code Injection in yuni-ragi88-riris Package
Summary
MAL-2025-92731: Malicious code in yuni-ragi88-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 yuni-ragi88-riris package is part of the npm ecosystem, which is widely used for JavaScript development. This package has been identified as part of a malicious campaign that aims to exploit the npm registry by generating numerous derivative packages with altered metadata. The primary function of this package is to participate in the tea.xyz token reward campaign, which incentivizes developers to publish more packages, often leading to the proliferation of malicious code.
Vulnerability Detail
The vulnerability in the yuni-ragi88-riris package stems from its malicious code that modifies the package.json file. This code removes private flags, alters version numbers, and generates random package names, which are often themed around Indonesian culture. The malicious payload is designed to continuously republish these variants, thereby polluting the npm registry and potentially compromising the integrity of other packages. This behavior can lead to security risks for developers who unknowingly depend on these compromised packages, as it can inflate reputation scores and mislead users about the authenticity of the packages.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall yuni-ragi88-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 measure, you can avoid using the yuni-ragi88-riris package and any other packages that may be part of the tea.xyz token reward campaign. Regularly audit your dependencies using tools like npm audit or Vulert to identify and mitigate any vulnerabilities in your project.
Conclusion
The yuni-ragi88-riris package poses a significant security risk due to its malicious code that alters package metadata and floods the npm registry with compromised variants. It is crucial for developers to remove this package and monitor their dependencies for vulnerabilities to maintain the integrity of their projects.
See every vulnerability recorded for yuni-ragi88-riris →
FAQ
The yuni-ragi88-riris package is an npm package that has been identified as part of a malicious campaign to exploit the npm registry.
This vulnerability can compromise the integrity of your project by introducing malicious code that alters package metadata and republishing variants that may mislead users.
You should uninstall the yuni-ragi88-riris package immediately and check for any other potentially compromised packages in your project.
Yes, you can use tools like Vulert to monitor your project for open-source vulnerabilities in real-time without needing to install any software.
You can find detailed information about this vulnerability in the npm registry and through security advisories related to the yuni-ragi88-riris package.