Malicious Code Injection in vera-getuk48-riris Package - npm Vulnerability
Summary
MAL-2025-91684: Malicious code in vera-getuk48-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 vera-getuk48-riris package is part of the npm ecosystem, which is widely used for JavaScript package management. This package is associated with the tea.xyz token reward campaign, which has been known to flood the npm registry with malicious packages. The primary function of this package is to facilitate token rewards, but it has been exploited to include harmful scripts that can compromise the integrity of the npm registry and the applications that depend on it.
Vulnerability Detail
The vulnerability in the vera-getuk48-riris package stems from its malicious code that modifies the package.json file to remove private flags and alters version numbers. It generates random package names, primarily themed around Indonesian culture, and continuously republishes these variants to pollute the npm registry. This behavior not only inflates developer reputation scores for token rewards but also poses significant risks to users who may unknowingly install these compromised packages, leading to potential data breaches or application failures.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall vera-getuk48-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 vera-getuk48-riris package and look for alternative packages that provide similar functionality without the associated risks. Additionally, you can use the following command to audit your npm packages for vulnerabilities: npm audit.
Conclusion
The vera-getuk48-riris package presents a significant security risk due to its malicious code designed to manipulate npm registry data. It is crucial for developers to be vigilant about the packages they use and to take immediate action to remove any compromised packages. Utilizing tools like Vulert can help in monitoring for vulnerabilities and ensuring the security of your applications.
See every vulnerability recorded for vera-getuk48-riris →
FAQ
The vera-getuk48-riris package is a malicious npm package associated with the tea.xyz token reward campaign, designed to inflate developer reputation scores.
This vulnerability can compromise your application by introducing malicious code that modifies your package.json file and republishing harmful variants, potentially leading to security breaches.
You can use Vulert, which monitors and alerts for open-source vulnerabilities in real-time. By uploading your package-lock.json file, you can check for vulnerabilities without needing to install any software.
If you have installed the vera-getuk48-riris package, you should uninstall it immediately using npm uninstall vera-getuk48-riris and check for any dependencies that may be affected.
To prevent future vulnerabilities, regularly audit your npm packages using npm audit, and consider using tools like Vulert to monitor your dependencies for known vulnerabilities.