Malicious Code Injection in indah-moci3-breki: A Threat to npm Ecosystem
Summary
MAL-2025-73489: Malicious code in indah-moci3-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 'indah-moci3-breki' is part of a series of npm packages that emerged during 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. The primary function of these packages is to engage in token reward schemes, but they have been exploited to introduce malicious code into the npm ecosystem.
Vulnerability Detail
The vulnerability stems from the presence of malicious code within the 'indah-moci3-breki' package. This code modifies the package.json file to remove private flags, alters version numbers, and generates random package names, which are then continuously republished to pollute the npm registry. The origin of this malicious activity is linked to the tea.xyz token reward campaign, which has been known to flood the npm registry with such harmful packages. The ramifications include potential security risks for developers who unknowingly integrate these packages into their projects, leading to compromised systems and reputations.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall indah-moci3-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 'indah-moci3-breki' package and any other packages associated with the tea.xyz token reward campaign. Regularly audit your package-lock.json file to identify and remove any suspicious packages.
Conclusion
The 'indah-moci3-breki' package poses a significant threat to the npm ecosystem due to its malicious code designed to manipulate package publishing. It is crucial for developers to remove this package and monitor their dependencies to safeguard their projects from potential security risks.
See every vulnerability recorded for indah-moci3-breki →
FAQ
It is an npm package that has been identified as containing malicious code aimed at inflating developer reputation scores through automated publishing.
You can use tools like Vulert, which monitors your package-lock.json for open-source vulnerabilities. You can check your application for this specific vulnerability using the Vulert playground at Vulert Scanner.
You should uninstall the 'indah-moci3-breki' package immediately and audit your dependencies for any other potentially harmful packages.
Yes, the impacts include potential security breaches, compromised systems, and damage to developer reputations due to the malicious activities of the package.
Regularly audit your dependencies, use tools like Vulert for real-time monitoring, and stay informed about known vulnerabilities in the npm ecosystem.