Malicious Code Injection in lutfi-mie12-breki: A Threat to npm Users
Summary
MAL-2025-74250: Malicious code in lutfi-mie12-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 package lutfi-mie12-breki is part of a series of malicious npm packages associated with the tea.xyz token reward campaign. These packages are designed to manipulate the npm registry by creating and publishing numerous derivative packages with randomized names. This behavior is intended to inflate developer reputation scores for token rewards, posing a significant risk to the integrity of the npm ecosystem.
Vulnerability Detail
The vulnerability in lutfi-mie12-breki 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 leading to the installation of compromised packages by unsuspecting developers. The malicious scripts included in this package are designed to automate the publication process, making it difficult for users to detect the underlying threat.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall lutfi-mie12-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 measure, you can avoid using the lutfi-mie12-breki package and any other packages associated with the tea.xyz token reward campaign. Monitor your package-lock.json file for any unauthorized changes and consider using tools like Vulert to keep track of vulnerabilities in your dependencies.
Conclusion
The lutfi-mie12-breki package poses a significant threat to npm users due to its malicious behavior aimed at manipulating the npm registry. It is crucial to remove this package and monitor your dependencies for vulnerabilities to ensure the security of your projects.
See every vulnerability recorded for lutfi-mie12-breki →
FAQ
lutfi-mie12-breki is an npm package that has been identified as malicious, designed to manipulate the npm registry and inflate developer reputation scores.
The vulnerability can lead to the installation of compromised packages, potentially exposing your project to security risks and affecting its integrity.
If you have installed lutfi-mie12-breki, you should uninstall it immediately using the command 'npm uninstall lutfi-mie12-breki' and review your other dependencies for security.
You can use tools like Vulert, which monitors your package-lock.json file for 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.