Malicious Code Injection in ogi-gembus1-apidev: A Threat to npm Packages
Summary
MAL-2025-89059: Malicious code in ogi-gembus1-apidev (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 package ogi-gembus1-apidev is part of a broader campaign targeting npm, primarily associated with the tea.xyz token reward initiative. This package is designed to facilitate the automatic generation and publication of derivative packages, which can inflate developer reputation scores. Its functionality is compromised by malicious scripts that manipulate package metadata.
Vulnerability Detail
The vulnerability in ogi-gembus1-apidev arises from malicious code embedded within the package, 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 clutter the npm registry. This behavior not only undermines the integrity of the npm ecosystem but also poses risks 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 ogi-gembus1-apidev
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, avoid using the ogi-gembus1-apidev package and consider 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 ogi-gembus1-apidev package poses a significant risk due to its malicious code that alters package metadata and floods the npm registry with compromised packages. It is essential to remove this package from your project and monitor your dependencies for vulnerabilities to maintain the integrity of your software.
See every vulnerability recorded for ogi-gembus1-apidev →
FAQ
ogi-gembus1-apidev is an npm package that has been identified as part of a malicious campaign to inflate developer reputation scores through the automatic generation of derivative packages.
The vulnerability can lead to the pollution of your project's dependency tree, potentially introducing security risks and instability due to the presence of malicious code.
If you have installed ogi-gembus1-apidev, it is recommended to uninstall it immediately and review your project's dependencies for any other potentially compromised packages.
You can use tools like npm audit to check for vulnerabilities in your dependencies. Additionally, Vulert can monitor your package-lock.json file to alert you in real-time for any open-source vulnerabilities.
Yes, you can use the Vulert playground at Vulert Scanner to check if your application is affected by this vulnerability without requiring any signup.