Malicious Code Injection in lutfi-sate2-ruro Package - npm Vulnerability
Summary
MAL-2025-105423: Malicious code in lutfi-sate2-ruro (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-sate2-ruro package is part of the npm ecosystem, primarily used for JavaScript development. It is associated with the tea.xyz token reward campaign, which has been known to flood the npm registry with malicious packages. This package, like others in the campaign, is designed to manipulate the npm registry by generating and publishing derivative packages with altered names and metadata.
Vulnerability Detail
The vulnerability in the lutfi-sate2-ruro package stems from its malicious code that modifies the package.json file to remove private flags, alters version numbers, and generates random package names. This behavior is intended to inflate developer reputation scores for token rewards while polluting the npm registry with numerous variants of the package. The origin of this vulnerability is linked to the tea.xyz token reward campaign, which exploits npm's publishing mechanisms.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall lutfi-sate2-ruro
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 package by using npm's package-lock.json file to monitor dependencies. Ensure that your project does not include lutfi-sate2-ruro by checking your package.json and removing any references to it.
Conclusion
The lutfi-sate2-ruro package poses a significant risk due to its malicious code that alters package metadata and floods the npm registry. It is crucial for developers to remove this package and monitor their dependencies for vulnerabilities to maintain the integrity of their applications.
See every vulnerability recorded for lutfi-sate2-ruro →
FAQ
lutfi-sate2-ruro is an npm package that is part of a malicious campaign aimed at manipulating the npm registry for token rewards.
This vulnerability can lead to your project being associated with malicious activity, potentially harming your reputation and affecting the integrity of your application.
You should immediately remove the lutfi-sate2-ruro package from your project to mitigate any risks associated with its malicious behavior.
Yes, you can use tools like Vulert, which monitors and alerts for open-source vulnerabilities in your software using just the package-lock.json file.
You can use the Vulert playground at Vulert Scanner to check if your application is affected by this vulnerability without needing to sign up.