Malicious Code Injection in pale_horse-gooddev Package
Summary
MAL-2025-106885: Malicious code in pale_horse-gooddev (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 pale_horse-gooddev package is part of the npm ecosystem, which is widely used for JavaScript development. This package is associated with a token reward campaign that has led to the proliferation of malicious packages on npm. Its primary function is to facilitate the development and distribution of JavaScript applications, but it has been compromised to serve malicious purposes.
Vulnerability Detail
The vulnerability in the pale_horse-gooddev package stems from its involvement in the tea.xyz token reward campaign. This package contains malicious scripts that modify the package.json file to remove private flags, alter version numbers, and generate random package names. These actions are intended to inflate developer reputation scores and pollute the npm registry with derivative packages. The malicious payload can lead to security risks, including unauthorized access to sensitive information and the potential for further exploitation of affected systems.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall pale_horse-gooddev
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, consider removing the pale_horse-gooddev package from your project until a secure version is released. You can do this by executing the following command: npm uninstall pale_horse-gooddev.
Conclusion
The pale_horse-gooddev package has been identified as containing malicious code that can compromise the integrity of applications using it. It is crucial to take immediate action by updating or removing the package to mitigate potential risks. Regular monitoring of dependencies is recommended to ensure the security of your applications.
See every vulnerability recorded for pale_horse-gooddev →
FAQ
The pale_horse-gooddev package is an npm package used in JavaScript development, but it has been compromised to include malicious code.
The vulnerability can lead to unauthorized modifications of your package.json file, potentially exposing your application to further security risks.
If you have installed the pale_horse-gooddev package, it is recommended to uninstall it immediately and monitor your application for any unusual behavior.
Yes, 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 use the Vulert playground at Vulert Scanner to check if your application is affected by this vulnerability without requiring any signup.