Malicious Code Injection in ucok-poke10: A Threat to npm Users
Summary
MAL-2025-169628: Malicious code in ucok-poke10 (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
ucok-poke10 is an npm package that has been identified as part of a malicious campaign targeting the npm registry. This package is associated with the tea.xyz token reward initiative, which aims to inflate developer reputation scores by flooding the registry with derivative packages. The malicious nature of ucok-poke10 lies in its ability to modify package configurations and republish variants, thus compromising the integrity of the npm ecosystem.
Vulnerability Detail
The vulnerability in ucok-poke10 originates from its design to execute autopublish scripts that alter the package.json file. This includes removing private flags, changing version numbers, and generating random package names, which leads to the pollution of the npm registry. The ramifications of this vulnerability include potential exposure of sensitive information, increased risk of dependency confusion attacks, and degradation of the overall trust in the npm ecosystem.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall ucok-poke10
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 measure, you can avoid using the ucok-poke10 package and monitor your project for any dependencies that may have been affected by this malicious code. Regularly audit your package-lock.json file to identify any suspicious packages.
Conclusion
The ucok-poke10 package poses a significant threat to npm users due to its malicious code that alters package configurations and floods the npm registry. It is crucial to remove this package and monitor your dependencies to maintain the integrity of your projects.
See every vulnerability recorded for ucok-poke10 →
FAQ
ucok-poke10 is an npm package involved in a malicious campaign to inflate developer reputation scores by flooding the npm registry with derivative packages.
The vulnerability can lead to the exposure of sensitive information, dependency confusion, and a compromised npm registry, which can affect the integrity of your project.
You can use the Vulert platform to monitor and alert for open-source vulnerabilities in your software. Visit Vulert Scanner to check your application without any signup.
If you have installed ucok-poke10, you should uninstall it immediately using the command 'npm uninstall ucok-poke10' and review your dependencies for any other malicious packages.
There are no patches available for ucok-poke10 as it is a malicious package. The best course of action is to remove it from your project.