Malicious Code Injection in ameenmunir Package: A Threat to npm Ecosystem
Summary
MAL-2025-170804: Malicious code in ameenmunir (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 ameenmunir package is part of the npm ecosystem, which is widely used for JavaScript package management. This package is associated with the tea.xyz token reward campaign, which has been known to flood the npm registry with malicious packages. These packages often contain scripts designed to manipulate the npm registry and inflate developer reputation scores through deceptive practices.
Vulnerability Detail
The vulnerability in the ameenmunir package stems from its inclusion in a malicious campaign that modifies the package.json file to remove private flags, alters version numbers, and generates random package names. This behavior leads to the continuous republishing of variants that can pollute the npm registry, potentially compromising the integrity of other packages and affecting developers relying on npm for legitimate software.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall ameenmunir
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, avoid using the ameenmunir package and monitor your dependencies for any malicious activity. You can also use tools like Vulert to check your package-lock.json for vulnerabilities without needing to install any software.
Conclusion
The ameenmunir package poses a significant threat to the npm ecosystem due to its malicious behavior. It is essential for developers to be vigilant and remove any affected packages while utilizing tools like Vulert to monitor for vulnerabilities in their projects.
See every vulnerability recorded for ameenmunir →
FAQ
The ameenmunir package is an npm package that has been identified as part of a malicious campaign aimed at manipulating the npm registry.
This vulnerability can lead to the pollution of the npm registry, potentially compromising the integrity of your project's dependencies and affecting your application's security.
You should uninstall the ameenmunir package immediately and check for any other affected packages in your project.
You can use Vulert to monitor your package-lock.json file for vulnerabilities in real-time without requiring any installation.
Yes, you can use the Vulert playground at Vulert Scanner to check if your application is affected by this vulnerability without signing up.