Malicious Code Injection in permanent_xerinae-excellentdev Package
Summary
MAL-2025-107033: Malicious code in permanent_xerinae-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 permanent_xerinae-excellentdev package is part of the npm ecosystem, often associated with the tea.xyz token reward campaign. This package is designed to facilitate the automatic generation and publication of derivative packages, which can inflate developer reputation scores. However, it has been compromised to include malicious scripts that manipulate package metadata.
Vulnerability Detail
The vulnerability originates from the package's malicious code that modifies the package.json file by removing private flags, altering version numbers, and generating random package names. This behavior leads to the continuous republishing of variants, polluting the npm registry and potentially harming developers' reputations and project integrity.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall permanent_xerinae-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 remove the permanent_xerinae-excellentdev package from your project by running: npm uninstall permanent_xerinae-excellentdev. This will prevent any malicious code from executing until a safe version is available.
Conclusion
The permanent_xerinae-excellentdev package has been identified as containing malicious code that compromises the integrity of the npm registry. It is crucial for developers to take immediate action by updating or removing the package to safeguard their applications and reputations.
See every vulnerability recorded for permanent_xerinae-excellentdev →
FAQ
The malicious code modifies package metadata and repackages it under random names, which can lead to reputation inflation and registry pollution.
You can use Vulert to monitor and alert for open-source vulnerabilities in your software. Visit Vulert Scanner to check your application without any signup.
Using compromised packages can lead to security vulnerabilities, loss of reputation, and potential exploitation of your application by malicious actors.
Regularly updating packages, using tools like Vulert for monitoring, and conducting security audits can help prevent vulnerabilities.
If immediate updates are not possible, consider removing the package or isolating it from critical parts of your application until a safe version is released.