Malicious Code Injection in melon-notthedevs Package
Summary
MAL-2025-105780: Malicious code in melon-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 melon-notthedevs package is part of the npm ecosystem, often utilized in various JavaScript applications. It is designed to facilitate certain functionalities within the npm registry. However, this package has been identified as part of a malicious campaign that exploits npm's publishing capabilities, leading to potential security risks for developers and their applications.
Vulnerability Detail
The vulnerability originates from a malicious payload embedded within the melon-notthedevs package. This payload modifies the package.json file by removing private flags, altering version numbers, and generating random package names, which are then republished to the npm registry. This behavior not only inflates developer reputation scores fraudulently but also pollutes the npm registry, making it difficult for developers to find legitimate packages. The ramifications include potential exposure to further malicious code and the compromise of application integrity.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall melon-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 measure, you can remove the melon-notthedevs package from your project by executing: npm uninstall melon-notthedevs. This will prevent any malicious code from executing until a secure version is available.
Conclusion
The melon-notthedevs package has been identified as a vector for malicious code injection, posing significant risks to developers and their applications. It is essential to take immediate action by updating or removing the package and utilizing tools like Vulert for ongoing monitoring of vulnerabilities.
See every vulnerability recorded for melon-notthedevs →
FAQ
The melon-notthedevs 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 injection of malicious code, compromising the integrity of your application and potentially exposing it to further attacks.
If you have installed the melon-notthedevs package, it is recommended to uninstall it immediately and check for any updates or patches.
You can use tools like Vulert, which monitors your package-lock.json file to alert you in real-time for open-source vulnerabilities.
Yes, you can use the Vulert playground at Vulert Scanner to check if your application is affected by this vulnerability without any signup.