Malicious Code Injection in lutfi-bubur12-riris: A Threat to npm Ecosystem
Summary
MAL-2025-88011: Malicious code in lutfi-bubur12-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 package 'lutfi-bubur12-riris' is part of a series of npm packages associated with the tea.xyz token reward campaign. These packages are designed to inflate developer reputation scores by automatically generating and publishing derivative packages with randomized names. This behavior poses a risk to the integrity of the npm registry and can lead to the proliferation of malicious code.
Vulnerability Detail
The vulnerability in 'lutfi-bubur12-riris' originates from its malicious payload, which modifies the package.json file to remove private flags, alters version numbers, and generates random package names. This allows the package to continuously republish variants, polluting the npm registry and potentially compromising other projects that depend on it. The malicious scripts included are designed to automate the process of creating and publishing these harmful packages.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall lutfi-bubur12-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 this malicious package by using npm's package-lock.json to monitor dependencies. Ensure that your project does not include 'lutfi-bubur12-riris' or any of its derivatives. You can also use Vulert to monitor your project for vulnerabilities in real-time without requiring access to the code or installation. Visit https://vulert.com/scanner to check if your application is affected by this vulnerability.
Conclusion
The 'lutfi-bubur12-riris' package poses a significant threat to the npm ecosystem due to its malicious behavior. It is crucial for developers to be vigilant, remove any affected packages, and utilize tools like Vulert to monitor for vulnerabilities. By taking these steps, you can help protect your projects from potential harm.
See every vulnerability recorded for lutfi-bubur12-riris →
FAQ
'lutfi-bubur12-riris' is an npm package associated with a malicious campaign aimed at inflating developer reputation scores through automated publishing of derivative packages.
The vulnerability can lead to the introduction of malicious code into your project, potentially compromising its security and integrity.
You should uninstall 'lutfi-bubur12-riris' immediately and check your package-lock.json for any references to it.
Yes, you can use Vulert to monitor your project for open-source vulnerabilities in real-time by analyzing your package-lock.json.
Regularly audit your dependencies, use tools like Vulert for monitoring, and stay informed about known vulnerabilities in the npm ecosystem.