Malicious Code Injection in aimanmunir Package: npm Vulnerability Overview
Summary
MAL-2025-170730: Malicious code in aimanmunir (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 aimanmunir package is part of the npm ecosystem, which is widely used for managing JavaScript packages. 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 through automated scripts that generate and publish numerous variants of the original package, often with altered names and metadata.
Vulnerability Detail
The vulnerability in the aimanmunir package originates from its association with the tea.xyz token reward campaign. It contains malicious scripts that modify the package.json file by removing private flags, altering version numbers, and generating random package names. This behavior leads to the continuous republishing of variants, which pollutes the npm registry and can compromise the integrity of the ecosystem. The ramifications include potential security risks for developers who unknowingly use these compromised packages, as well as damage to the reputation of the npm registry.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall aimanmunir
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 aimanmunir package from your project to prevent any potential exploitation. Use the following command: 'npm uninstall aimanmunir'. Additionally, consider using tools like Vulert to monitor your project for vulnerabilities without needing to access the code directly.
Conclusion
The aimanmunir package poses a significant risk due to its malicious code designed to exploit the npm registry. Developers should take immediate action to remove this package and monitor their projects for vulnerabilities. Utilizing tools like Vulert can help maintain the security of your applications.
See every vulnerability recorded for aimanmunir →
FAQ
The aimanmunir package is an npm package that has been identified as part of a malicious campaign to inflate developer reputation scores through automated publishing of derivative packages.
The vulnerability can lead to the inclusion of malicious code in your project, potentially compromising its security and integrity.
If you have installed aimanmunir, it is crucial to uninstall it immediately and monitor your project for any signs of compromise.
Yes, you can use Vulert's playground at Vulert Scanner to check if your application is affected by this vulnerability without needing to sign up.
To prevent similar vulnerabilities, regularly update your dependencies, use tools like Vulert for monitoring, and review package sources before installation.