Malicious Code Injection in sari-bakwan16-ruro Package - npm Vulnerability
Summary
MAL-2025-108348: Malicious code in sari-bakwan16-ruro (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 sari-bakwan16-ruro 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. The primary function of this package is to facilitate the automatic generation and publication of derivative packages, which can lead to significant reputational damage for developers and pollution of the npm registry.
Vulnerability Detail
The vulnerability in the sari-bakwan16-ruro package originates from its design to include malicious code that modifies the package.json file. This code removes private flags, alters version numbers, and generates random package names, primarily themed around Indonesian culture. The malicious payload continuously republishes these variants, thereby inflating developer reputation scores fraudulently and polluting the npm registry with unwanted packages. This poses a risk to developers who may unknowingly depend on these compromised packages, leading to potential 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 sari-bakwan16-ruro
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 sari-bakwan16-ruro package and any other packages associated with the tea.xyz token reward campaign. Regularly audit your package dependencies using tools like npm audit to identify and mitigate vulnerabilities.
Conclusion
The sari-bakwan16-ruro package presents a significant security risk due to its malicious code that alters package metadata and floods the npm registry with unwanted variants. It is crucial for developers to remove this package and monitor their dependencies regularly to maintain the integrity and security of their applications.
See every vulnerability recorded for sari-bakwan16-ruro →
FAQ
The sari-bakwan16-ruro package is an npm package that has been identified as malicious, designed to manipulate package metadata and publish unwanted variants.
This vulnerability can lead to the pollution of your project's dependencies, potentially introducing security risks and affecting the integrity of your application.
You should uninstall the sari-bakwan16-ruro package immediately using 'npm uninstall sari-bakwan16-ruro' and audit your project for any other compromised packages.
You can use tools like npm audit or Vulert, which monitors your package-lock.json file for open-source vulnerabilities in real-time.
Yes, you can use the Vulert playground at Vulert Scanner to check if your application is affected by this vulnerability without any signup.