Malicious Code Injection in darraghmurphy Package: npm Vulnerability Overview
Summary
MAL-2025-171090: Malicious code in darraghmurphy (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 darraghmurphy package is part of the npm ecosystem, which is widely used for managing JavaScript packages. This package has been identified as part of a malicious campaign that aims to exploit the npm registry by flooding it with derivative packages. The primary functionality of this package is to serve as a token reward mechanism, but it has been compromised to perform harmful actions.
Vulnerability Detail
The vulnerability in the darraghmurphy package originates from its association with the tea.xyz token reward campaign. This package contains malicious scripts that modify the package.json file by removing private flags, altering version numbers, and generating random package names. These actions are intended to inflate developer reputation scores and pollute the npm registry with numerous derivative packages, which can lead to security risks and instability in the ecosystem.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall darraghmurphy
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 darraghmurphy package altogether and look for alternative packages that provide similar functionality without the associated risks.
Conclusion
The darraghmurphy package poses a significant risk due to its malicious code that alters package configurations and floods the npm registry. It is crucial to remove this package and monitor your applications for vulnerabilities. Utilizing tools like Vulert can help maintain the security of your software.
See every vulnerability recorded for darraghmurphy →
FAQ
The darraghmurphy package is an npm package that has been identified as part of a malicious campaign to exploit the npm registry.
The vulnerability can lead to the injection of malicious code, which may compromise your application's integrity and security.
You should uninstall the darraghmurphy package immediately and monitor your application for any unusual behavior.
Yes, Vulert can monitor your application for open-source vulnerabilities in real-time using just the package-lock.json file.
You can use the Vulert playground at Vulert Scanner to check if your application is affected without requiring any signup.