Malicious Code Injection in ucok-poke71: A Threat to npm Packages
Summary
MAL-2025-169695: Malicious code in ucok-poke71 (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 ucok-poke71 is part of the npm ecosystem and is associated with the tea.xyz token reward campaign. This campaign has been known to flood the npm registry with malicious packages that contain scripts designed to manipulate package metadata and inflate developer reputation scores. The primary functionality of ucok-poke71 is to serve as a token reward mechanism, but it has been compromised to perform harmful actions.
Vulnerability Detail
The vulnerability in ucok-poke71 originates from its association with malicious scripts that modify the package.json file. These scripts remove private flags, alter version numbers, and generate random package names, leading to the continuous republishing of these variants. This behavior not only pollutes the npm registry but also poses a risk to developers who may unknowingly use these compromised packages, potentially leading to security breaches in their applications.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall ucok-poke71
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 ucok-poke71 and any other packages associated with the tea.xyz token reward campaign. Regularly audit your package dependencies to identify and remove any potentially harmful packages.
Conclusion
The ucok-poke71 package poses a significant risk due to its malicious code designed to manipulate package metadata and pollute the npm registry. It is crucial for developers to remove this package and regularly audit their dependencies to maintain the security of their applications.
See every vulnerability recorded for ucok-poke71 →
FAQ
ucok-poke71 is an npm package that is part of a malicious campaign aimed at inflating developer reputation scores through the creation of derivative packages.
The vulnerability can lead to the introduction of malicious code in your application, potentially compromising its security and integrity.
You can use tools like Vulert, which monitors your package-lock.json for vulnerabilities in real-time. Visit Vulert Scanner to check if your application is affected without any signup.
Immediately remove the ucok-poke71 package from your project and audit your dependencies for any other malicious packages.
Yes, tools like Vulert can help monitor and alert you to open-source vulnerabilities in your software, ensuring you stay informed about potential risks.