Malicious Code Injection in munir-terd-terb Package: A Threat to npm Ecosystem
Summary
MAL-2025-160937: Malicious code in munir-terd-terb (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-terb package is part of the npm ecosystem, which is widely used for JavaScript package management. This package has been identified as part of a malicious campaign that aims to exploit the npm registry by flooding it with derivative packages. These packages are designed to inflate developer reputation scores for token rewards, posing a significant risk to developers and the integrity of the npm ecosystem.
Vulnerability Detail
The vulnerability originates from the malicious code embedded within the munir-terd-terb package. This code modifies the package.json file to remove private flags, alters version numbers, and generates random package names, leading to the continuous republishing of variants. The ramifications include pollution of the npm registry, potential security risks for applications using these packages, and a compromised developer reputation system.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall munir-terd-terb
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 munir-terd-terb package and any other packages that may have been published as part of this malicious campaign. Regularly audit your package.json and package-lock.json files for any suspicious entries.
Conclusion
The munir-terd-terb package poses a significant threat to the npm ecosystem due to its malicious code designed to manipulate package information and inflate developer reputation scores. It is crucial for developers to remove this package and monitor their dependencies for any vulnerabilities to maintain the integrity of their applications.
See every vulnerability recorded for munir-terd-terb →
FAQ
The munir-terd-terb package is a malicious npm package that is part of a campaign to inflate developer reputation scores through the creation of derivative packages.
You can use tools like Vulert, which monitors and alerts for open-source vulnerabilities in your software. You can check your application for vulnerabilities using the Vulert playground without any signup.
The risks include the pollution of the npm registry, potential security threats to applications using these packages, and damage to developer reputation.
There is no specific patch for the munir-terd-terb package itself, but it is recommended to uninstall it and monitor your dependencies for updates.
Regularly audit your dependencies, use tools like Vulert to monitor for vulnerabilities, and ensure that you only install packages from trusted sources.