Malicious Code Injection in munir-terd-tun Package: A Threat to npm Ecosystem
Summary
MAL-2025-160943: Malicious code in munir-terd-tun (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 munir-terd-tun package is part of a broader campaign targeting the npm ecosystem, primarily associated with the tea.xyz token reward initiative. This package, like others in the campaign, is designed to manipulate developer reputation scores by automatically generating and publishing derivative packages. Its functionality is compromised by the presence of malicious code that alters package metadata and proliferates harmful variants.
Vulnerability Detail
The vulnerability in the munir-terd-tun package stems from its malicious code, which modifies the package.json file to remove private flags and alters version numbers. This code generates random package names, often themed around Indonesian culture, and continuously republishes these variants to the npm registry. The ramifications include potential pollution of the npm registry, loss of developer reputation integrity, and exposure of users to untrusted packages.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall munir-terd-tun
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, consider removing the munir-terd-tun package from your project until a secure version is released. You can do this by running the following command: npm uninstall munir-terd-tun. Additionally, monitor your package-lock.json file for any unauthorized changes.
Conclusion
The munir-terd-tun package poses a significant threat to the npm ecosystem due to its malicious code that alters package metadata and proliferates harmful variants. It is crucial for developers to stay vigilant, update their packages regularly, and utilize tools like Vulert to monitor for vulnerabilities.
See every vulnerability recorded for munir-terd-tun →
FAQ
The munir-terd-tun package is part of a malicious campaign in the npm ecosystem aimed at inflating developer reputation scores through automated package generation.
The malicious code modifies your package.json file, potentially exposing your project to security risks and affecting the integrity of your dependencies.
If you have installed the munir-terd-tun package, it is recommended to uninstall it immediately and monitor your project for any unauthorized changes.
You can use tools like Vulert, which monitors your package-lock.json file for open-source 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.