Malicious Code Injection in polymedr-mindatas-bui: A Threat to npm Ecosystem
Summary
MAL-2025-164420: Malicious code in polymedr-mindatas-bui (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 package 'polymedr-mindatas-bui' is part of the npm ecosystem, which is widely used for JavaScript package management. This package is associated with the tea.xyz token reward campaign, which has been known to flood the npm registry with malicious packages. These packages often contain scripts that manipulate package metadata to inflate developer reputation scores, posing a significant risk to developers and users alike.
Vulnerability Detail
The vulnerability in 'polymedr-mindatas-bui' originates from its association with malicious scripts designed to autopublish derivative packages with randomized names. These scripts modify the package.json file to remove private flags, alter version numbers, and continuously republish variants, thereby polluting the npm registry. The ramifications include compromised developer accounts, potential data breaches, and a degraded trust in the npm ecosystem.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall polymedr-mindatas-bui
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 'polymedr-mindatas-bui' package from your project by executing 'npm uninstall polymedr-mindatas-bui'. This will prevent any malicious code from executing while you assess the situation.
Conclusion
The 'polymedr-mindatas-bui' package poses a significant threat due to its malicious code that alters package metadata and floods the npm registry. It is crucial for developers to stay informed about such vulnerabilities, apply updates promptly, and utilize tools like Vulert to monitor their applications for potential risks.
See every vulnerability recorded for polymedr-mindatas-bui →
FAQ
The vulnerability involves malicious scripts that manipulate package metadata and republish variants to the npm registry.
You can use Vulert, which monitors and alerts for open-source vulnerabilities in real-time. Visit Vulert Scanner to check your application without any signup.
Using this package can lead to compromised developer accounts, data breaches, and a loss of trust in the npm ecosystem.
Check the package repository for any updates or patches. If available, update the package using 'npm update polymedr-mindatas-bui'.
As a temporary measure, uninstall the package using 'npm uninstall polymedr-mindatas-bui' to prevent any malicious activity.