Malicious Code Injection in ucok-poke13: npm Package Vulnerability
Summary
MAL-2025-169631: Malicious code in ucok-poke13 (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-poke13 is an npm package that is part of the tea.xyz token reward campaign. This package is designed to facilitate the distribution of token rewards through various scripts. However, it has been identified as containing malicious code that compromises its integrity and the security of applications that depend on it.
Vulnerability Detail
The vulnerability in ucok-poke13 stems from its inclusion in a series of malicious packages that flood the npm registry. These packages are designed to manipulate the package.json file by removing private flags, altering version numbers, and generating random package names. This behavior not only inflates developer reputation scores but also leads to the continuous republishing of variants, polluting the npm registry and potentially introducing security risks to dependent applications.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall ucok-poke13
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 ucok-poke13 and any other packages associated with the tea.xyz token reward campaign. Regularly audit your dependencies using tools like npm audit to identify and address vulnerabilities.
Conclusion
The ucok-poke13 package poses a significant security risk due to its malicious code that alters package configurations and floods the npm registry. It is crucial to remove this package from your projects and monitor your dependencies for vulnerabilities to maintain application security.
See every vulnerability recorded for ucok-poke13 →
FAQ
ucok-poke13 is an npm package that is part of a campaign designed to distribute token rewards but has been identified as containing malicious code.
The malicious code modifies your package.json file, potentially leading to security vulnerabilities and the pollution of the npm registry.
You should uninstall ucok-poke13 immediately using 'npm uninstall ucok-poke13' and check for any other affected packages.
You can use tools like Vulert, which monitors your package-lock.json for vulnerabilities in real-time. You can also check your application using the Vulert playground without any signup.
Yes, tools like npm audit can help identify vulnerabilities in your dependencies, and Vulert can provide real-time alerts for open-source vulnerabilities.