Malicious Code Injection in muklis-5: npm Package Vulnerability
Summary
MAL-2025-160835: Malicious code in muklis-5 (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-5 package is part of the npm ecosystem and is associated with the tea.xyz token reward campaign. This package is designed to facilitate token rewards by generating and publishing derivative packages. However, it has been identified as containing malicious scripts that can compromise the integrity of the npm registry.
Vulnerability Detail
The vulnerability in muklis-5 originates from its malicious code that modifies the package.json file to remove private flags and changes version numbers. It generates random package names, primarily themed around Indonesian culture, and continuously republishes these variants to pollute the npm registry. This behavior not only inflates developer reputation scores but also poses a significant risk of introducing harmful packages into the ecosystem.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall muklis-5
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 muklis-5 package altogether and monitor your dependencies for any malicious activity. Additionally, consider using tools like Vulert to check your package-lock.json for vulnerabilities.
Conclusion
The muklis-5 package poses a significant security risk due to its malicious code that alters package metadata and floods the npm registry with harmful variants. It is crucial to remove this package from your projects and utilize monitoring tools to safeguard against future vulnerabilities.
See every vulnerability recorded for muklis-5 →
FAQ
muklis-5 is an npm package associated with the tea.xyz token reward campaign, designed to generate and publish derivative packages.
The vulnerability can lead to the introduction of malicious packages into your project, compromising its security and integrity.
You should uninstall the muklis-5 package immediately and monitor your project for any unusual behavior.
Yes, you can use Vulert's playground at Vulert Scanner to check your application for vulnerabilities without needing to sign up.
Regularly monitor your dependencies using tools like Vulert and keep your packages updated to the latest secure versions.