Malicious Code Injection in muklis-20 Package: npm Vulnerability Overview
Summary
MAL-2025-160804: Malicious code in muklis-20 (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 muklis-20 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 various packages. These packages often contain scripts designed to manipulate the npm registry and developer reputation scores, making them a target for malicious activities.
Vulnerability Detail
The vulnerability in the muklis-20 package stems from its inclusion in a campaign that utilizes autopublish scripts to generate and publish derivative packages with randomized names. This malicious code modifies the package.json file by removing private flags, altering version numbers, and continuously republishing variants, which can lead to pollution of the npm registry and potential exploitation of developers' reputation scores.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall muklis-20
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 remove the muklis-20 package from your project by executing 'npm uninstall muklis-20'. This will prevent any malicious code from executing until a secure version is available.
Conclusion
The muklis-20 package poses a significant risk due to its malicious code that modifies package metadata and repopulates the npm registry with harmful variants. It is crucial for developers to stay informed about such vulnerabilities and take proactive measures to secure their projects.
See every vulnerability recorded for muklis-20 →
FAQ
The muklis-20 package is part of the npm ecosystem and is associated with the tea.xyz token reward campaign, which aims to inflate developer reputation scores.
The vulnerability can lead to the pollution of the npm registry, potentially affecting your project's dependencies and reputation if malicious packages are inadvertently used.
If you have installed muklis-20, it is advisable to uninstall it immediately and monitor for any updates or patches from the package maintainers.
You can use tools like Vulert, which monitors your package-lock.json file to alert you in real-time for open-source vulnerabilities. You can check your application against known vulnerabilities using the Vulert playground.
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.