Malicious Code Injection in ucok-poke33: A Threat to npm Ecosystem
Summary
MAL-2025-169653: Malicious code in ucok-poke33 (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-poke33 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 through the automatic generation and publication of derivative packages. The malicious nature of this package poses significant risks to developers and users relying on npm for package management.
Vulnerability Detail
The vulnerability in ucok-poke33 originates from its design to include 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 variants. This behavior not only pollutes the npm registry but also compromises the integrity of the packages, potentially leading to security breaches and loss of 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-poke33
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, avoid using the ucok-poke33 package and monitor your project for any dependencies that may have been affected by this malicious package. Regularly audit your npm packages using tools like npm audit to identify vulnerabilities.
Conclusion
The ucok-poke33 package poses a significant threat to the npm ecosystem due to its malicious behavior. It is crucial for developers to be vigilant and take immediate action to remove this package and monitor their projects for vulnerabilities. Utilizing tools like Vulert can enhance your security posture by providing real-time alerts on open-source vulnerabilities.
See every vulnerability recorded for ucok-poke33 →
FAQ
ucok-poke33 is an npm package identified as part of a malicious campaign that modifies package.json files and repopulates the npm registry with harmful variants.
The vulnerability can lead to the introduction of malicious code in your project, compromising its security and integrity.
You should uninstall the package immediately using 'npm uninstall ucok-poke33' and check for any dependencies that may have been affected.
You can use tools like npm audit to regularly check for vulnerabilities in your npm packages. Additionally, Vulert can monitor your package-lock.json for real-time alerts on open-source vulnerabilities.
Yes, you can use the Vulert playground at Vulert Scanner to check if your application is affected by this vulnerability without requiring any signup.