Malicious Code Injection in citra-gaplek80-pore Package - npm Vulnerability
Summary
MAL-2025-97663: Malicious code in citra-gaplek80-pore (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 citra-gaplek80-pore package is part of the npm ecosystem, which is widely used for JavaScript package management. This package is associated with the tea.xyz token reward campaign, which has been known to flood the npm registry with malicious packages. The primary function of this package is to facilitate the automatic generation and publication of derivative packages, which can inflate developer reputation scores for token rewards. However, this functionality has been exploited, leading to significant security concerns.
Vulnerability Detail
The vulnerability in the citra-gaplek80-pore package arises from its malicious payload that modifies the package.json file. It removes private flags, alters version numbers, and generates random package names, often themed around Indonesian culture. This behavior is part of a broader scheme to pollute the npm registry by continuously republishing these variants. The origin of this vulnerability is linked to the tea.xyz token reward campaign, which employs autopublish scripts to automate the creation of these malicious packages. The ramifications include potential exposure of sensitive data, compromised developer accounts, and a polluted npm registry that can affect other legitimate packages.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall citra-gaplek80-pore
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 remove the citra-gaplek80-pore package from your project by executing the following command: npm uninstall citra-gaplek80-pore. Additionally, you can monitor your project for vulnerabilities using tools like Vulert, which can analyze your package-lock.json file for real-time alerts on open-source vulnerabilities.
Conclusion
The citra-gaplek80-pore 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 take immediate action by updating or removing the package and utilizing tools like Vulert for ongoing vulnerability monitoring.
See every vulnerability recorded for citra-gaplek80-pore →
FAQ
The citra-gaplek80-pore package is an npm package associated with the tea.xyz token reward campaign, designed to automate the generation and publication of derivative packages.
This vulnerability can lead to the modification of your package.json file, potentially exposing sensitive information and compromising your project's integrity.
If you are using the citra-gaplek80-pore package, you should update it to the latest patched version or remove it from your project to avoid security risks.
You can use Vulert to monitor your project for vulnerabilities by analyzing your package-lock.json file. This tool provides real-time alerts without requiring code access or installation.
You can check if your application is affected by this vulnerability using the Vulert playground at Vulert Scanner, which allows you to analyze your project without any signup.