Malicious Code Injection in patria-bubur12-miaww: A Threat to npm Packages
Summary
MAL-2025-89376: Malicious code in patria-bubur12-miaww (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 'patria-bubur12-miaww' is part of the npm ecosystem and is associated with the tea.xyz token reward campaign. This campaign has been known to flood the npm registry with packages that contain malicious scripts aimed at inflating developer reputation scores for token rewards. The package's functionality is compromised due to its malicious intent, which includes generating and publishing derivative packages with randomized names.
Vulnerability Detail
The vulnerability in 'patria-bubur12-miaww' originates from its malicious code that modifies the package.json file to remove private flags and alters version numbers. It generates random Indonesian-themed package names and continuously republishes variants, polluting the npm registry. This poses significant risks, including the potential for developers to unknowingly install compromised packages, leading to security breaches and loss of trust in the npm ecosystem.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall patria-bubur12-miaww
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 measure, you can avoid using the 'patria-bubur12-miaww' package and replace it with a trusted alternative. Always verify the integrity of packages before installation.
Conclusion
The 'patria-bubur12-miaww' 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 be vigilant, regularly audit their dependencies, and utilize tools like Vulert to monitor for vulnerabilities. Taking immediate action to remove affected packages can help mitigate risks.
See every vulnerability recorded for patria-bubur12-miaww →
FAQ
The main issue is that it contains malicious code designed to manipulate package metadata and flood the npm registry with derivative packages.
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 compromised packages can lead to security breaches, data loss, and damage to your application's reputation.
Regularly audit your dependencies, use tools like Vulert for monitoring, and only install packages from trusted sources.
Immediately uninstall the package using 'npm uninstall patria-bubur12-miaww' and review your project's dependencies for any other potential vulnerabilities.