Malicious Code Injection in ocha-sate21-pore: A Threat to npm Users
Summary
MAL-2025-98201: Malicious code in ocha-sate21-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
ocha-sate21-pore is an npm package that has been identified as part of a malicious campaign targeting developers within the npm ecosystem. This package is associated with the tea.xyz token reward initiative, which aims to inflate developer reputation scores through the automatic generation and publication of derivative packages. The malicious nature of this package compromises its integrity and poses significant risks to users and their projects.
Vulnerability Detail
The vulnerability in ocha-sate21-pore originates from its design to include autopublish scripts that modify the package.json file. These modifications remove private flags, alter version numbers, and generate random package names, leading to the continuous republishing of variants that pollute the npm registry. This behavior can result in security risks, including the potential for unauthorized access to sensitive data and the degradation of the npm ecosystem's reliability.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall ocha-sate21-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 ocha-sate21-pore package and any other packages associated with the tea.xyz token reward campaign. Regularly audit your package dependencies using tools like npm audit to identify and address vulnerabilities promptly.
Conclusion
The ocha-sate21-pore package poses a significant threat to npm users due to its malicious code designed to manipulate package metadata and inflate developer reputation scores. It is crucial to take immediate action by uninstalling the package and monitoring your dependencies for any vulnerabilities. Utilizing tools like Vulert can help maintain the security of your projects.
See every vulnerability recorded for ocha-sate21-pore →
FAQ
ocha-sate21-pore is an npm package linked to a malicious campaign that aims to inflate developer reputation scores through automated package publishing.
The vulnerability can lead to unauthorized modifications in your package.json file, potentially exposing your project to security risks and affecting its integrity.
If you have installed ocha-sate21-pore, it is crucial to uninstall it immediately and check for any other malicious packages in your project.
You can use tools like Vulert, which monitors and alerts you in real-time for open-source vulnerabilities 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 requiring any signup.