Malicious Code Injection in ogi-lengko16-wekto Package
Summary
MAL-2025-89083: Malicious code in ogi-lengko16-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 ogi-lengko16-wekto 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 mechanisms. It is designed to generate and publish derivative packages with randomized names, thereby inflating developer reputation scores for token rewards in the tea.xyz protocol. The package's functionality is compromised, making it a significant risk to developers and users relying on its integrity.
Vulnerability Detail
The vulnerability originates from a malicious payload embedded within the ogi-lengko16-wekto package. This payload modifies the package.json file by removing private flags, altering version numbers, and generating random package names that are often themed around Indonesian culture. The malicious scripts (auto.js, autopublish.js, etc.) continuously republish these variants to pollute the npm registry, leading to potential security risks and integrity issues for developers who may unknowingly use these packages.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall ogi-lengko16-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 ogi-lengko16-wekto package and look for alternative packages that provide similar functionality without the associated risks. Additionally, you can monitor your project's dependencies using tools like Vulert, which can alert you to vulnerabilities in real-time without requiring code access or installation.
Conclusion
The ogi-lengko16-wekto package poses a significant risk due to its malicious code designed to manipulate npm's publishing system. It is crucial for developers to remove this package and monitor their dependencies for vulnerabilities to maintain the integrity and security of their projects.
See every vulnerability recorded for ogi-lengko16-wekto →
FAQ
The ogi-lengko16-wekto package is an npm package that has been identified as part of a malicious campaign targeting the npm registry.
The vulnerability can lead to the introduction of malicious code into your project, potentially compromising its security and integrity.
You should uninstall the ogi-lengko16-wekto package immediately and check for any alternative packages that can fulfill your requirements.
You can use tools like Vulert, which allows you to monitor and receive alerts for open-source vulnerabilities in your software by analyzing your package-lock.json file.
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.