Malicious Code Injection in lutfi-ruwet2-breki Package - npm Vulnerability
Summary
MAL-2025-74255: Malicious code in lutfi-ruwet2-breki (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 lutfi-ruwet2-breki 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 linked to a series of malicious activities aimed at inflating developer reputation scores. The package's functionality is compromised by malicious scripts that manipulate its metadata and behavior.
Vulnerability Detail
The vulnerability in the lutfi-ruwet2-breki package stems from its inclusion in a malicious campaign that generates and publishes derivative packages with randomized names. The malicious payload modifies the package.json file to remove private flags, alters version numbers, and continuously republishes variants to pollute the npm registry. This can lead to significant security risks, including the potential for dependency confusion and the spread of malicious code across projects that rely on this package.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall lutfi-ruwet2-breki
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 lutfi-ruwet2-breki package and replace it with a trusted alternative. Additionally, ensure that your package-lock.json file is monitored for any unauthorized changes, which can be done using tools like Vulert.
Conclusion
The lutfi-ruwet2-breki package has been identified as a vector for malicious code injection, posing significant risks to projects that utilize it. It is crucial to remove this package and monitor your dependencies for vulnerabilities. Utilizing tools like Vulert can help maintain the security of your applications.
See every vulnerability recorded for lutfi-ruwet2-breki →
FAQ
lutfi-ruwet2-breki is an npm package that has been identified as part of a malicious campaign aimed at inflating developer reputation scores.
The vulnerability can lead to the introduction of malicious code into your project, potentially compromising its security and integrity.
You should immediately remove the lutfi-ruwet2-breki package from your project and monitor your dependencies 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 needing to sign up.