Malicious Code Injection in unexpected_macaw_orange-25 Package
Summary
MAL-2025-110095: Malicious code in unexpected_macaw_orange-25 (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 unexpected_macaw_orange-25 package is part of the npm ecosystem and is 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 for token rewards. However, it has been identified as containing malicious scripts that compromise its integrity and security.
Vulnerability Detail
The vulnerability originates from the package's inclusion in a campaign that floods the npm registry with malicious code. The malicious payload 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 compromising other packages and applications that depend on it.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall unexpected_macaw_orange-25
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 unexpected_macaw_orange-25 package altogether and look for alternative packages that provide similar functionality without the associated risks.
Conclusion
The unexpected_macaw_orange-25 package poses a significant security risk due to its malicious code. It is crucial for developers to remove this package from their projects and monitor their dependencies for vulnerabilities. Utilizing tools like Vulert can aid in maintaining the security of your applications.
See every vulnerability recorded for unexpected_macaw_orange-25 →
FAQ
It is an npm package associated with a token reward campaign that has been identified to contain malicious code.
The vulnerability can lead to the pollution of the npm registry and may compromise the security of applications that depend on this package.
You should uninstall the package immediately and look for secure alternatives.
Yes, you can use Vulert, which monitors and alerts for open-source vulnerabilities in your software using just package-lock.json.
You can use the Vulert playground at Vulert Scanner to check if your application is affected without requiring any signup.