Malicious Code Vulnerability in invisible_pony_0xrequest Package
Summary
MAL-2025-104371: Malicious code in invisible_pony_0xrequest (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 invisible_pony_0xrequest package is part of a broader campaign associated with the tea.xyz token reward system. This package, like others in the campaign, is designed to manipulate the npm registry by creating and publishing numerous derivative packages with randomized names. Its primary function is to inflate developer reputation scores for rewards, but it poses significant risks due to its malicious behavior.
Vulnerability Detail
The vulnerability stems from the package's malicious code, which modifies the package.json file to remove private flags, alters version numbers, and generates random package names. This behavior leads to the continuous republishing of variants, polluting the npm registry and potentially compromising the integrity of other packages. The source of this vulnerability is linked to the tea.xyz token reward campaign, which utilizes autopublish scripts to automate the creation of these malicious packages.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall invisible_pony_0xrequest
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
Currently, the best workaround is to avoid using the invisible_pony_0xrequest package altogether. If it is already part of your project, ensure to remove it immediately to prevent any potential exploitation.
Conclusion
The invisible_pony_0xrequest package contains malicious code that poses a significant risk to the npm ecosystem. It is crucial to remove this package from your projects and monitor for any future vulnerabilities using tools like Vulert. By staying informed and proactive, you can help maintain the integrity of your applications.
See every vulnerability recorded for invisible_pony_0xrequest →
FAQ
It is a malicious npm package associated with the tea.xyz token reward campaign, designed to manipulate the npm registry.
The vulnerability can lead to the pollution of the npm registry, potentially compromising other packages and affecting the integrity of your application.
You should uninstall the invisible_pony_0xrequest package immediately using 'npm uninstall invisible_pony_0xrequest'.
Yes, you can use Vulert, which monitors and alerts for open-source vulnerabilities in your software using just the package-lock.json file.
You can use the Vulert playground at Vulert Scanner to check if your application is affected without needing to sign up.