Malicious Code Injection in polymedr-minus-buipe Package - npm Vulnerability
Summary
MAL-2025-164435: Malicious code in polymedr-minus-buipe (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-buipe package is part of the npm ecosystem, which is widely used for JavaScript package management. This package, like many others, is intended to facilitate the development of applications by providing reusable code. However, it has been identified as part of a malicious campaign that aims to manipulate the npm registry and inflate developer reputation scores through automated scripts.
Vulnerability Detail
The vulnerability originates from the package being associated with the tea.xyz token reward campaign, which has been flooding npm with malicious packages. These packages contain scripts that modify the package.json file to remove private flags, alter version numbers, and generate random package names. This behavior not only compromises the integrity of the npm registry but also poses risks to developers who may unknowingly use these malicious packages, leading to potential security breaches in their applications.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall polymedr-minus-buipe
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-buipe package and look for alternative packages that provide similar functionality without the associated risks. Regularly audit your package dependencies to ensure they are secure.
Conclusion
The polymedr-minus-buipe package poses a significant security risk due to its malicious code that alters project files and manipulates the npm registry. It is crucial for developers to remove this package from their projects and to regularly audit their dependencies for vulnerabilities. Utilizing tools like Vulert can help in monitoring and maintaining the security of your applications.
See every vulnerability recorded for polymedr-minus-buipe →
FAQ
It is an npm package that has been identified as part of a malicious campaign to manipulate the npm registry.
Using this package can compromise your application's security by introducing malicious code that alters your project files and potentially exposes sensitive data.
You should uninstall the polymedr-minus-buipe package immediately and audit your project for any other potentially malicious dependencies.
You can use tools like Vulert, which monitors your package-lock.json file for vulnerabilities in real-time without requiring code access or installation.
Yes, you can use the Vulert playground at Vulert Scanner to check if your application is affected by this vulnerability without any signup.