Malicious Code Injection in polymedarnan-nut-banta Package
Summary
MAL-2025-164406: Malicious code in polymedarnan-nut-banta (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 polymedarnan-nut-banta package is part of the npm ecosystem, typically used for various JavaScript functionalities. However, it has been identified as part of a malicious campaign that aims to inflate developer reputation scores through the creation of derivative packages. This package is particularly vulnerable due to its involvement in automated publishing scripts that compromise its integrity.
Vulnerability Detail
The vulnerability originates from the package being part of a malicious campaign associated with the tea.xyz token reward system. It contains scripts that automatically modify the package.json file to remove private flags, alter version numbers, and generate random package names. This results in the continuous republishing of these variants, leading to pollution of the npm registry and potential security risks for developers who unknowingly use these packages.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall polymedarnan-nut-banta
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 polymedarnan-nut-banta package and look for alternative packages that provide similar functionality without the associated risks. Additionally, regularly audit your npm packages using tools like npm audit to identify and address vulnerabilities.
Conclusion
The polymedarnan-nut-banta package poses a significant security risk due to its involvement in a malicious campaign. It is crucial for developers to remove this package and monitor their projects for vulnerabilities to maintain the integrity of their applications.
See every vulnerability recorded for polymedarnan-nut-banta →
FAQ
It is an npm package that has been identified as part of a malicious campaign aimed at inflating developer reputation scores.
Using this package can lead to security risks, including the potential for your project to be compromised or polluted with malicious code.
You should uninstall the polymedarnan-nut-banta package immediately and check for any other potentially malicious packages.
You can use tools like Vulert, which monitors your package-lock.json file to alert you in real-time for open-source vulnerabilities.
Yes, you can use the Vulert playground at Vulert Scanner to check if your application is affected by this vulnerability without requiring any signup.