Malicious Code Injection in lutfi-bika52-riris: A Threat to npm Packages
Summary
MAL-2025-88008: Malicious code in lutfi-bika52-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-bika52-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 significant risk to the integrity of the npm registry and the security of applications relying on these packages.
Vulnerability Detail
The vulnerability originates from the malicious intent behind the 'lutfi-bika52-riris' package, which includes scripts that modify the package.json file to remove private flags and change version numbers. It generates random package names, often themed around Indonesian culture, and continuously republishes variants to pollute the npm registry. This not only compromises the security of the npm ecosystem but also affects developers' reputations and the reliability of their applications.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall lutfi-bika52-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 'lutfi-bika52-riris' package and replace it with a trusted alternative. Ensure that your package-lock.json file is monitored for any unauthorized changes, and consider using tools like Vulert to keep track of vulnerabilities in your dependencies.
Conclusion
The 'lutfi-bika52-riris' package poses a significant threat to the npm ecosystem due to its malicious behavior aimed at inflating developer reputation scores. It is crucial for developers to be vigilant, remove such packages, and utilize tools like Vulert to monitor for vulnerabilities in their projects.
See every vulnerability recorded for lutfi-bika52-riris →
FAQ
It 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 inclusion of malicious code in your application, compromising its security and potentially affecting your reputation as a developer.
You should uninstall the package immediately using 'npm uninstall lutfi-bika52-riris' and check your application for any unauthorized changes.
You can use tools like Vulert, which monitors your package-lock.json file for open-source vulnerabilities in real-time without requiring code access or installation.
Yes, you can use the Vulert playground at Vulert Scanner to check if your application is affected by this vulnerability without any signup.