Malicious Code Injection in zain-moci24-pore: A Threat to npm Packages
Summary
MAL-2025-98566: Malicious code in zain-moci24-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 package zain-moci24-pore 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 such packages is to inflate developer reputation scores through the automatic generation and publication of derivative packages.
Vulnerability Detail
The vulnerability in zain-moci24-pore arises from its malicious payload that modifies the package.json file. It removes private flags, alters version numbers, and generates random package names, primarily themed around Indonesian culture. This behavior leads to the continuous republishing of these variants, polluting the npm registry and potentially compromising the integrity of other packages. The origin of this vulnerability is linked to the tea.xyz token reward campaign, which employs these tactics to manipulate the npm ecosystem.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall zain-moci24-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 avoid using the zain-moci24-pore package and monitor your project for any dependencies that may inadvertently include it. Additionally, consider using tools like Vulert to monitor your package-lock.json for vulnerabilities in real-time.
Conclusion
The zain-moci24-pore package poses a significant threat due to its malicious behavior, which can compromise the integrity of the npm registry and your projects. Immediate action is required to remove this package and monitor your dependencies for similar vulnerabilities.
See every vulnerability recorded for zain-moci24-pore →
FAQ
zain-moci24-pore is an npm package that has been identified as malicious, primarily associated with the tea.xyz token reward campaign.
The vulnerability can lead to the pollution of the npm registry and may compromise the integrity of your project's dependencies, potentially introducing further security risks.
You should uninstall the zain-moci24-pore package immediately using the command npm uninstall zain-moci24-pore.
Yes, tools like Vulert can help monitor your package-lock.json for open-source vulnerabilities in real-time without requiring code access or installation.
You can use the Vulert playground at Vulert Scanner to check if your application is affected by this vulnerability without needing to sign up.