Malicious Code Injection in polymedr-minus-buipenajar Package
Summary
MAL-2025-164440: Malicious code in polymedr-minus-buipenajar (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 polymedr-minus-buipenajar 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 in exchange for token rewards. However, its functionality has been compromised by malicious scripts that manipulate package metadata.
Vulnerability Detail
The vulnerability stems from malicious code embedded within the polymedr-minus-buipenajar package. This code modifies the package.json file by removing private flags, altering version numbers, and generating random package names, primarily themed around Indonesian culture. The scripts are designed to continuously republish these variants, leading to pollution of the npm registry and potential security risks for developers relying on this package.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall polymedr-minus-buipenajar
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 polymedr-minus-buipenajar package altogether. If it is already in use, consider replacing it with an alternative package that provides similar functionality without the associated risks.
Conclusion
The polymedr-minus-buipenajar package contains malicious code that poses significant risks to developers and their projects. Immediate action is required to uninstall the package and mitigate potential impacts. Utilizing tools like Vulert can help monitor for such vulnerabilities in the future.
See every vulnerability recorded for polymedr-minus-buipenajar →
FAQ
It is an npm package associated with the tea.xyz token reward campaign, designed to generate and publish derivative packages.
The malicious code can compromise your project's integrity by altering package metadata and flooding the npm registry with unwanted packages.
You should uninstall the polymedr-minus-buipenajar package immediately and check for any dependencies that may be affected.
Yes, Vulert can monitor and alert 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 for vulnerabilities in your application without requiring any signup.