Malicious Code Injection in ashamed_mammal-excellentdev Package
Summary
MAL-2025-99629: Malicious code in ashamed_mammal-excellentdev (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 'ashamed_mammal-excellentdev' package is part of the npm ecosystem, often used in JavaScript projects for various functionalities. However, it has been identified as part of a malicious campaign that floods the npm registry with harmful packages. This package is designed to manipulate developer reputation scores through automated publishing scripts, leading to potential security risks for applications that depend on it.
Vulnerability Detail
The vulnerability in the 'ashamed_mammal-excellentdev' package stems from its malicious code that modifies the package.json file. It removes private flags, alters version numbers, and generates random package names, which can lead to the proliferation of derivative packages in the npm registry. This behavior not only compromises the integrity of the affected applications but also poses a risk of dependency confusion and potential exploitation by attackers.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall ashamed_mammal-excellentdev
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 prevent the installation of this malicious package by using npm's package-lock.json to monitor dependencies. Ensure that your project does not include 'ashamed_mammal-excellentdev' in its dependencies. Additionally, consider using Vulert to monitor your project for vulnerabilities without requiring code access.
Conclusion
The 'ashamed_mammal-excellentdev' package poses a significant security risk due to its malicious code designed to manipulate npm registry behaviors. It is crucial for developers to remove this package and monitor their projects for vulnerabilities to maintain application security.
See every vulnerability recorded for ashamed_mammal-excellentdev →
FAQ
It is an npm package that has been identified as part of a malicious campaign to inflate developer reputation scores through automated publishing.
The vulnerability can lead to the proliferation of malicious packages in your application, compromising its security and integrity.
You should uninstall the package immediately and check for any other affected dependencies in your project.
Yes, you can use Vulert, which monitors your package-lock.json for vulnerabilities in real-time without requiring code access.
Regularly audit your dependencies, use tools like Vulert for monitoring, and stay updated on known vulnerabilities in the npm ecosystem.