Malicious Code Injection in homely_platypus_0xrequest Package
Summary
MAL-2025-103769: Malicious code in homely_platypus_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 homely_platypus_0xrequest 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. However, it has been identified as containing malicious scripts that compromise its integrity and the integrity of the npm registry.
Vulnerability Detail
The vulnerability originates from the malicious code embedded within the homely_platypus_0xrequest package. This code modifies the package.json file to remove private flags, alters version numbers, and generates random package names, leading to the continuous republishing of these variants. This behavior not only pollutes the npm registry but also poses a risk to developers who may unknowingly use these compromised packages, potentially leading to security breaches in their applications.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall homely_platypus_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
As a temporary workaround, you can remove the homely_platypus_0xrequest package from your project by executing the command: npm uninstall homely_platypus_0xrequest. This will prevent any malicious code from executing until a secure version is available.
Conclusion
The homely_platypus_0xrequest package has been identified as containing malicious code that compromises its integrity and the npm registry. It is crucial for developers to take immediate action by uninstalling the package and monitoring their projects for vulnerabilities using tools like Vulert.
See every vulnerability recorded for homely_platypus_0xrequest →
FAQ
It is an npm package associated with the tea.xyz token reward campaign, designed to automate the generation and publication of packages.
The malicious code modifies your package.json, removes private flags, and can lead to the pollution of the npm registry, potentially compromising your project.
You should uninstall the package immediately and check for any updates or patches that may be available.
You can use Vulert, which monitors and alerts for open-source vulnerabilities in real-time using just your package-lock.json file. You can check your application for vulnerabilities using the Vulert playground at Vulert Scanner.
Regularly updating your packages, using tools like Vulert for monitoring, and conducting security audits can help prevent vulnerabilities.