Malicious Code Vulnerability in sinta-lapis51-riris Package
Summary
MAL-2025-90538: Malicious code in sinta-lapis51-riris (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-lapis51-riris package is part of the npm ecosystem and is associated with the tea.xyz token reward campaign. It is designed to facilitate the generation and publication of derivative packages. However, this package has been identified as malicious, containing scripts that manipulate package metadata and flood the npm registry with unwanted variants.
Vulnerability Detail
The vulnerability originates from the sinta-lapis51-riris package, which includes malicious scripts that modify the package.json file by removing private flags and changing version numbers. It generates random package names, primarily themed around Indonesian culture, and continuously republishes these variants to inflate developer reputation scores for token rewards. This behavior not only pollutes the npm registry but also poses a risk of dependency confusion and potential exploitation of applications relying on this package.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall sinta-lapis51-riris
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 package by adding it to your project's .npmrc file with the following line: 'package-lock=false'. This will stop npm from installing any packages listed in your package-lock.json that are known to be malicious.
Conclusion
The sinta-lapis51-riris package poses a significant security risk due to its malicious code that alters package metadata and floods the npm registry. Immediate action is required to remove this package and safeguard your application from potential exploitation.
See every vulnerability recorded for sinta-lapis51-riris →
FAQ
The sinta-lapis51-riris package is an npm package involved in the tea.xyz token reward campaign, designed to generate and publish derivative packages.
This vulnerability can lead to the pollution of your npm registry and may introduce malicious code into your application, potentially compromising its security.
You should immediately remove the sinta-lapis51-riris package from your project and check for any malicious activity in your application.
Yes, you can use Vulert, which monitors your package-lock.json for open-source vulnerabilities in real-time. You can check your application using the Vulert playground without any signup.
Regularly update your dependencies, monitor for vulnerabilities using tools like Vulert, and review your package-lock.json for any suspicious packages.