Malicious Code Injection in udin-tempe37-riris Package - npm Vulnerability
Summary
MAL-2025-91423: Malicious code in udin-tempe37-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 udin-tempe37-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 for token rewards. However, it has been identified as containing malicious code that compromises its integrity and the security of the npm registry.
Vulnerability Detail
The vulnerability originates from the package's malicious payload, which modifies the package.json file to remove private flags, alters version numbers, and generates random names for Indonesian-themed packages. This behavior leads to the continuous republishing of variants that pollute the npm registry, potentially affecting other developers and users by compromising the integrity of the ecosystem. The malicious scripts (auto.js, autopublish.js, etc.) are designed to automate this process, making it difficult to track and mitigate the impact.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall udin-tempe37-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 avoid using the udin-tempe37-riris package and any other packages associated with the tea.xyz token reward campaign. Monitor your project for any dependencies that may have been affected by this malicious activity.
Conclusion
The udin-tempe37-riris package poses a significant security risk due to its malicious code that alters package configurations and repopulates the npm registry with harmful variants. It is crucial to remove this package and monitor your dependencies for similar vulnerabilities to maintain the integrity of your projects.
See every vulnerability recorded for udin-tempe37-riris →
FAQ
The udin-tempe37-riris package is an npm package that is part of a campaign to generate and publish derivative packages for token rewards, but it has been identified as containing malicious code.
This vulnerability can compromise the integrity of your project by introducing malicious code that modifies your package.json and republishing variants that pollute the npm registry.
You can use Vulert, a tool that monitors and alerts for open-source vulnerabilities in real-time. You can check your application for vulnerabilities using the Vulert playground at Vulert Scanner without any signup.
If you have used the udin-tempe37-riris package, you should uninstall it immediately and check your project for any other affected dependencies.
There are no patches available for the udin-tempe37-riris package, as it is recommended to remove the package entirely from your project.