Malicious Code Injection in eoinreilly Package: npm Vulnerability Summary
Summary
MAL-2025-171168: Malicious code in eoinreilly (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 eoinreilly package is part of the npm ecosystem and is associated with the tea.xyz token reward campaign. This package is designed to facilitate various functionalities within the npm registry but has been compromised to serve malicious purposes. It is primarily used for managing dependencies in JavaScript applications, but its integrity has been undermined by the introduction of harmful scripts that manipulate package metadata.
Vulnerability Detail
The vulnerability originates from a malicious payload embedded within the eoinreilly package. This payload modifies the package.json file by removing private flags, altering version numbers, and generating random package names, which leads to the automatic publication of derivative packages. The intent behind this is to inflate developer reputation scores for token rewards, ultimately polluting the npm registry and potentially compromising other applications that depend on these packages.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall eoinreilly
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 eoinreilly package in your project. Additionally, consider using alternative packages that provide similar functionality without the associated risks.
Conclusion
The eoinreilly package has been identified as a vector for malicious code injection, posing significant risks to applications relying on it. It is crucial to remove this package and stay vigilant about the security of your dependencies. Utilizing tools like Vulert can help in monitoring and managing vulnerabilities effectively.
See every vulnerability recorded for eoinreilly →
FAQ
The eoinreilly package is an npm package that has been compromised to include malicious code, primarily associated with the tea.xyz token reward campaign.
This vulnerability can lead to unauthorized modifications of your package.json file, potentially compromising your application's integrity and security.
You should remove the eoinreilly package from your project immediately and monitor for any updates or patches that may be released.
You can use tools like Vulert, which monitors your package-lock.json file to alert you in real-time for open-source vulnerabilities. You can check your application using the Vulert playground without any signup.
Regularly audit your dependencies, use trusted sources for packages, and consider implementing automated tools to monitor for vulnerabilities.