Malicious Code Injection in alaran-notthedevs Package: A Threat to npm Users
Summary
MAL-2025-99340: Malicious code in alaran-notthedevs (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 alaran-notthedevs 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 aims to exploit the npm registry by flooding it with derivative packages. These packages are designed to inflate developer reputation scores through automated publishing scripts, which can lead to significant security risks for users who unknowingly install them.
Vulnerability Detail
The vulnerability in the alaran-notthedevs package stems from its malicious code that modifies the package.json file to remove private flags, alters version numbers, and generates random package names. This behavior allows the package to continuously republish variants, polluting the npm registry and potentially compromising the integrity of other packages. The origin of this vulnerability is linked to a campaign that incentivizes developers to publish numerous packages for token rewards, leading to the proliferation of malicious software.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall alaran-notthedevs
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, users can avoid using the alaran-notthedevs package and any other packages that are part of the tea.xyz token reward campaign. Additionally, consider using npm audit to identify and address vulnerabilities in your project.
Conclusion
The alaran-notthedevs package poses a significant security risk due to its malicious code designed to manipulate the npm registry. Users are advised to remove this package and monitor their projects for vulnerabilities. Utilizing tools like Vulert can aid in maintaining the security of your software.
See every vulnerability recorded for alaran-notthedevs →
FAQ
The alaran-notthedevs package is an npm package that has been identified as part of a malicious campaign aimed at flooding the npm registry with derivative packages.
If your project uses the alaran-notthedevs package, it may be at risk of having its integrity compromised due to the malicious code that modifies package configurations and republish variants.
If you have installed the alaran-notthedevs package, it is recommended to remove it from your project and check for any other affected packages.
Yes, you can use Vulert, a tool that monitors and alerts in real-time for open-source vulnerabilities in your software. You can check your application for vulnerabilities using the Vulert playground without any signup.
To prevent similar vulnerabilities, regularly audit your dependencies using tools like npm audit, and stay informed about the packages you use by checking their reputations and update histories.