Malicious Code Injection in minor_ptarmigan-excellentdev Package
Summary
MAL-2025-105871: Malicious code in minor_ptarmigan-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 minor_ptarmigan-excellentdev package is part of the npm ecosystem, which is widely used for JavaScript development. This package is associated with the tea.xyz token reward campaign, which has been known to flood the npm registry with malicious packages. These packages often contain scripts designed to manipulate package metadata and inflate developer reputation scores, posing a significant risk to developers and their projects.
Vulnerability Detail
The vulnerability in the minor_ptarmigan-excellentdev package stems from its malicious code that modifies the package.json file. This code removes private flags, alters version numbers, and generates random package names, leading to the continuous republishing of variants that pollute the npm registry. The origin of this vulnerability is linked to the tea.xyz token reward campaign, which aims to exploit the npm ecosystem for token rewards. The ramifications include compromised package integrity, potential security risks for applications relying on this package, and a polluted npm registry that can affect other developers.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall minor_ptarmigan-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 avoid using the minor_ptarmigan-excellentdev package and look for alternative packages that provide similar functionality without the associated risks. Additionally, you can monitor your package-lock.json file for any unauthorized changes.
Conclusion
The minor_ptarmigan-excellentdev package poses a significant security risk due to its malicious code that alters package metadata. It is crucial for developers to uninstall this package and monitor their projects for vulnerabilities. Utilizing tools like Vulert can help maintain the security of your applications.
See every vulnerability recorded for minor_ptarmigan-excellentdev →
FAQ
It is an npm package that has been linked to a malicious campaign aimed at manipulating package metadata for token rewards.
The vulnerability can compromise your application's integrity by introducing malicious code that alters package metadata and potentially exposes your project to further risks.
You should uninstall the minor_ptarmigan-excellentdev package immediately and monitor your project for any unauthorized changes.
Yes, you can use Vulert, which monitors and alerts you in real-time for open-source vulnerabilities in your software using just your package-lock.json file.
Yes, you can use the Vulert playground at Vulert Scanner to check for vulnerabilities in your application without any signup.