Malicious Code Injection in aimanzaid Package: A Threat to npm Users
Summary
MAL-2025-170737: Malicious code in aimanzaid (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 aimanzaid package is part of the npm ecosystem, primarily used for various development tasks. However, it has been identified as part of a malicious campaign that floods the npm registry with derivative packages. This package is designed to inflate developer reputation scores through automated scripts that publish numerous variants of itself with altered names and metadata.
Vulnerability Detail
The vulnerability in the aimanzaid package stems from its malicious code that modifies the package.json file to remove private flags and change version numbers. It generates random package names, primarily themed around Indonesian culture, and continuously republishes these variants, leading to pollution of the npm registry. This behavior can compromise the integrity of the npm ecosystem and potentially expose users to further risks if they inadvertently use these malicious packages.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall aimanzaid
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 aimanzaid package and monitor your project for any dependencies that may inadvertently include it. You can also utilize tools like Vulert to monitor your package-lock.json file for vulnerabilities without needing to install any software.
Conclusion
The aimanzaid package poses a significant threat to users within the npm ecosystem due to its malicious code designed to manipulate package metadata and publish unwanted variants. It is crucial to remove this package from your projects and utilize tools like Vulert for ongoing vulnerability monitoring.
See every vulnerability recorded for aimanzaid →
FAQ
The aimanzaid package is an npm package that has been identified as part of a malicious campaign to inflate developer reputation scores by flooding the npm registry with derivative packages.
The malicious code modifies your package.json file, potentially exposing your project to further vulnerabilities and cluttering the npm registry with unwanted packages.
You should uninstall the aimanzaid package immediately using the command 'npm uninstall aimanzaid' and monitor your project for any other affected dependencies.
You can use Vulert's playground at Vulert Scanner to check your application for vulnerabilities without any signup required.
Yes, Vulert can monitor your package-lock.json file for open-source vulnerabilities in real-time, providing alerts for any issues detected.