Malicious Code Injection in bayu-tahu29-remi: A Threat to npm Ecosystem
Summary
MAL-2025-99858: Malicious code in bayu-tahu29-remi (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 bayu-tahu29-remi 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 designed to manipulate package metadata and inflate developer reputation scores. The presence of such malicious code poses a significant risk to developers and users relying on npm for secure package management.
Vulnerability Detail
The vulnerability in bayu-tahu29-remi originates from its association with a malicious campaign that aims to exploit the npm registry. The package contains scripts that modify the package.json file by removing private flags, altering version numbers, and generating random package names. This behavior leads to the continuous republishing of variants, which pollutes the npm registry and can compromise the integrity of applications relying on these packages. The ramifications include potential security breaches, loss of trust in the npm ecosystem, and inflated reputation scores for malicious actors.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall bayu-tahu29-remi
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 bayu-tahu29-remi package and replace it with a known safe alternative. Additionally, consider using tools like Vulert to monitor your package-lock.json for vulnerabilities. You can check if your application is affected by this vulnerability using the Vulert playground at https://vulert.com/scanner without any signup.
Conclusion
The bayu-tahu29-remi package poses a significant risk due to its malicious code designed to manipulate the npm registry. It is crucial for developers to be vigilant and remove such packages from their projects. Utilizing tools like Vulert can help monitor for vulnerabilities and maintain the security of applications.
See every vulnerability recorded for bayu-tahu29-remi →
FAQ
bayu-tahu29-remi is an npm package that has been identified as part of a malicious campaign aimed at manipulating the npm registry.
The vulnerability can lead to the injection of malicious code into your application, potentially compromising its security and integrity.
You should uninstall the package immediately using the command npm uninstall bayu-tahu29-remi and review your other dependencies for potential vulnerabilities.
Regularly audit your dependencies, use trusted packages, and consider using tools like Vulert to monitor for vulnerabilities in real-time.
There is no patch available for bayu-tahu29-remi since it is a malicious package. The best course of action is to remove it from your project.