Malicious Code Detected in aliimran Package: npm Vulnerability Alert
Summary
MAL-2025-170790: Malicious code in aliimran (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 aliimran 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 exploits npm's publishing capabilities. The vulnerability stems from the package's involvement in generating and publishing derivative packages with randomized names to manipulate developer reputation scores for token rewards.
Vulnerability Detail
The vulnerability in the aliimran 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 other packages.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall aliimran
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 aliimran package and look for alternative packages that provide similar functionality without the associated risks. Additionally, you can monitor your project dependencies using tools like Vulert to receive real-time alerts for any open-source vulnerabilities.
Conclusion
The aliimran package has been identified as a malicious entity within the npm ecosystem, posing significant risks to developers and their projects. Immediate action is required to remove this package and monitor for any further vulnerabilities. Utilizing tools like Vulert can help maintain the security of your software.
See every vulnerability recorded for aliimran →
FAQ
The aliimran package is an npm package that has been identified as part of a malicious campaign targeting the npm registry.
The vulnerability can lead to the pollution of your project's dependencies and compromise the integrity of the npm registry, potentially affecting other packages you rely on.
You should uninstall the aliimran package immediately and check your package-lock.json file for any references to it.
You can use Vulert to monitor your project for open-source vulnerabilities in real-time without needing to access the code or installation.
Yes, you can use the Vulert playground at Vulert Scanner to check if your application is affected by this vulnerability without any signup.