Malicious Code Injection in sinta-sroto42-ruro Package
Summary
MAL-2025-108741: Malicious code in sinta-sroto42-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 sinta-sroto42-ruro package is part of the npm ecosystem, which is widely used for JavaScript package management. This package has been identified as part of a malicious campaign that aims to exploit npm's publishing system. The package is designed to automatically generate and publish derivative packages with randomized names, which can lead to reputation inflation for developers involved in the tea.xyz token reward campaign.
Vulnerability Detail
The vulnerability in the sinta-sroto42-ruro package originates from its malicious code, which modifies the package.json file to remove private flags and alters version numbers. It generates random package names, often themed around Indonesian culture, and continuously republishes these variants to pollute the npm registry. This behavior not only compromises the integrity of the npm ecosystem but also poses a risk to developers who may unknowingly use these compromised packages.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall sinta-sroto42-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 workaround, you can prevent the installation of this malicious package by using npm's package-lock.json file to monitor your dependencies. Ensure that your project does not include sinta-sroto42-ruro or any of its derivatives. You can also use the following command to uninstall the package: npm uninstall sinta-sroto42-ruro.
Conclusion
The sinta-sroto42-ruro package poses a significant risk due to its malicious code that alters package configurations and floods the npm registry with compromised packages. It is essential to take immediate action to remove this package and monitor your dependencies for any vulnerabilities.
See every vulnerability recorded for sinta-sroto42-ruro →
FAQ
The sinta-sroto42-ruro package is an npm package that has been identified as part of a malicious campaign to inflate developer reputation scores through automated publishing.
This vulnerability can compromise the integrity of your application by introducing malicious code that alters your package configurations and potentially leads to further exploitation.
If you have installed the sinta-sroto42-ruro package, it is crucial to uninstall it immediately and check your project for any unintended changes made by the malicious code.
You can use tools like Vulert, which monitors your package-lock.json file to alert you in real-time for open-source vulnerabilities without requiring code access or installation.
Yes, you can use the Vulert playground at Vulert Scanner to check if your application is affected by this vulnerability without needing to sign up.