Malicious Code Injection in ameerjamal Package: npm Vulnerability Overview
Summary
MAL-2025-170815: Malicious code in ameerjamal (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 ameerjamal 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. The primary functionality of ameerjamal is to serve as a tool for developers, but it has been compromised to include harmful scripts that can affect the integrity of the npm registry and developer reputation.
Vulnerability Detail
The vulnerability in the ameerjamal package stems from its inclusion in a malicious campaign 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, thereby polluting the npm registry. This not only affects the reputation of developers but also poses a risk of dependency confusion and potential exploitation of applications relying on these packages.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall ameerjamal
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 ameerjamal package from your project by executing the command: npm uninstall ameerjamal. This will prevent any malicious code from executing while you seek a secure alternative package.
Conclusion
The ameerjamal package has been identified as a vector for malicious code injection, posing significant risks to developers and their applications. It is crucial to take immediate action by updating or removing the package and utilizing tools like Vulert to monitor for vulnerabilities in your projects.
See every vulnerability recorded for ameerjamal →
FAQ
The ameerjamal package is an npm package that has been compromised to include malicious code as part of a token reward campaign.
The vulnerability can lead to the modification of your package.json file, potentially exposing your application to further attacks and dependency confusion.
You should uninstall the ameerjamal package immediately and check for any other affected packages in your project.
Yes, you can use Vulert, which monitors and alerts in real-time for open-source vulnerabilities using just your package-lock.json file.
You can use the Vulert playground at Vulert Scanner to check if your application is affected by this vulnerability without needing to sign up.