Malicious Code Injection in sari-naget13-wekto Package
Summary
MAL-2025-90390: Malicious code in sari-naget13-wekto (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-naget13-wekto package is part of the npm ecosystem and is associated with the tea.xyz token reward campaign. This package is designed to facilitate the automatic generation and publication of derivative packages, which can inflate developer reputation scores for token rewards. However, it has been identified as containing malicious code that compromises its integrity.
Vulnerability Detail
The vulnerability originates from the package's malicious payload, which modifies the package.json file by removing private flags and altering version numbers. It generates random package names, primarily themed around Indonesian culture, and continuously republishes these variants to pollute the npm registry. This behavior can lead to significant security risks, including the potential for dependency confusion and the spread of malicious software within the developer community.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall sari-naget13-wekto
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 sari-naget13-wekto package altogether and look for alternative packages that provide similar functionality without the associated risks. Additionally, regularly audit your project's dependencies using tools like npm audit to identify and mitigate vulnerabilities.
Conclusion
The sari-naget13-wekto package poses a significant security risk due to its malicious code that alters package metadata and floods the npm registry. It is crucial for developers to remove this package from their projects and monitor their dependencies for vulnerabilities. Utilizing tools like Vulert can help maintain the security of your software.
See every vulnerability recorded for sari-naget13-wekto →
FAQ
sari-naget13-wekto is an npm package that is part of a token reward campaign, designed to generate and publish derivative packages automatically.
The package modifies the package.json file to remove private flags, changes version numbers, and generates random package names, leading to pollution of the npm registry.
You can use Vulert, a tool that monitors open-source vulnerabilities in your software. By simply using your package-lock.json file, Vulert can alert you in real-time. You can also check your application using the Vulert playground without any signup.
If you have installed the sari-naget13-wekto package, you should uninstall it immediately using 'npm uninstall sari-naget13-wekto' to mitigate any potential risks.
Yes, you should look for alternative packages that provide similar functionality without the associated risks. Always verify the integrity and reputation of packages before installation.