Malicious Code Injection in eamonmccarthy Package: npm Vulnerability Summary
Summary
MAL-2025-171122: Malicious code in eamonmccarthy (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 eamonmccarthy package is part of the npm ecosystem, which is widely used for JavaScript package management. This package, like many others, is intended to facilitate the development of applications by providing reusable code modules. However, it has been identified as part of a malicious campaign that floods the npm registry with harmful packages, potentially compromising the integrity of applications that depend on it.
Vulnerability Detail
The vulnerability in the eamonmccarthy package originates from its association with a malicious campaign that aims to inflate developer reputation scores through the automatic generation and publication of derivative packages. The malicious payload modifies the package.json file to remove private flags, alters version numbers, and generates random package names, leading to pollution of the npm registry. This can result in security risks for developers and users who unknowingly install these compromised packages.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall eamonmccarthy
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 eamonmccarthy package until a secure version is released. Additionally, you can manually check your package-lock.json file for any instances of this package and remove it if found.
Conclusion
The eamonmccarthy package has been identified as a vector for malicious code injection, posing significant risks to applications that utilize it. Developers should take immediate action to update or remove this package and consider using monitoring tools like Vulert to stay informed about potential vulnerabilities in their projects.
See every vulnerability recorded for eamonmccarthy →
FAQ
The eamonmccarthy package is a JavaScript package available on npm, used for various development purposes. However, it has been identified as part of a malicious campaign.
If your application depends on the eamonmccarthy package, it may be at risk of being compromised due to the malicious code that alters package metadata and publishes harmful variants.
If you have installed the eamonmccarthy package, you should update it to the latest version or remove it from your project until a secure version is available.
You can use tools like Vulert, which monitors your package-lock.json file for open-source vulnerabilities in real-time without requiring code access or installation.
Yes, you can use the Vulert playground at Vulert Scanner to check if your application is affected by this vulnerability without needing to sign up.