Malicious Code Injection in bayu-tempe12-remi Package - npm Vulnerability
Summary
MAL-2025-99867: Malicious code in bayu-tempe12-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 bayu-tempe12-remi package 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, posing significant risks to users and the integrity of the npm registry.
Vulnerability Detail
The vulnerability in the bayu-tempe12-remi package originates from its inclusion in a malicious campaign that employs scripts to modify package.json files. These scripts remove private flags, alter version numbers, and generate random package names, leading to the continuous republishing of these variants. This behavior not only pollutes the npm registry but also compromises the security of applications relying on this package, potentially leading to unauthorized access or data breaches.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall bayu-tempe12-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 measure, you can avoid using the bayu-tempe12-remi package and look for alternative packages that provide similar functionality without the associated risks. Additionally, regularly audit your npm packages using tools like npm audit to identify and address vulnerabilities.
Conclusion
The bayu-tempe12-remi package poses a significant security risk due to its malicious code that alters package metadata. It is crucial for developers to remove this package from their projects and utilize tools like Vulert for ongoing monitoring of vulnerabilities in their dependencies.
See every vulnerability recorded for bayu-tempe12-remi →
FAQ
The bayu-tempe12-remi package is an npm package that has been identified as part of a malicious campaign aimed at manipulating package metadata for token rewards.
This vulnerability can lead to unauthorized modifications in your application's dependencies, potentially compromising its security and integrity.
If you have installed the bayu-tempe12-remi package, you should uninstall it immediately and check for any other affected packages in your project.
Yes, tools like Vulert can monitor your package-lock.json file for open-source vulnerabilities in real-time, alerting you to any issues without requiring code access.
You can use the Vulert playground at Vulert Scanner to check if your application is affected by this vulnerability without needing to sign up.