Malicious Code Injection in melted_puma_requirement Package
Summary
MAL-2025-95442: Malicious code in melted_puma_requirement (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 melted_puma_requirement 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 publishing 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 the integrity of the npm registry.
Vulnerability Detail
The vulnerability originates from the malicious code embedded within the melted_puma_requirement 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. The ramifications include pollution of the npm registry, potential security risks for developers using these packages, and a compromised ecosystem that undermines trust in package integrity.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall melted_puma_requirement
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 melted_puma_requirement package from your project by executing: npm uninstall melted_puma_requirement. This will prevent any malicious code from executing until a secure version is available.
Conclusion
The melted_puma_requirement package has been identified as containing malicious code that compromises its integrity and the npm ecosystem. It is crucial for developers to take immediate action by updating or removing the package to safeguard their projects.
See every vulnerability recorded for melted_puma_requirement →
FAQ
It is an npm package associated with the tea.xyz token reward campaign, designed to generate and publish derivative packages.
The malicious code modifies your package.json, removes private flags, and can lead to the pollution of the npm registry, posing security risks.
You can use the Vulert playground at Vulert Scanner to check if your application is affected by this vulnerability without needing to sign up.
As a temporary measure, uninstall the melted_puma_requirement package to mitigate the risk until a secure version is available.
Detailed information can be found in the vulnerability report and on platforms like Vulert, which monitors open-source vulnerabilities.