Malicious Code Injection in ucok-poke63: A Threat to npm Packages
Summary
MAL-2025-169686: Malicious code in ucok-poke63 (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-poke63 is an npm package that appears to be part of a larger campaign aimed at exploiting the npm ecosystem for token rewards. This package, like others in the campaign, is designed to manipulate the npm registry by generating and publishing numerous derivative packages with altered metadata. The malicious nature of this package poses a significant risk to developers and users relying on npm for package management.
Vulnerability Detail
The vulnerability in ucok-poke63 originates from its association with the tea.xyz token reward campaign, which floods the npm registry with malicious packages. The package contains scripts that automatically modify the package.json file by removing private flags, changing version numbers, and generating random package names. This behavior not only inflates developer reputation scores but also pollutes the npm registry, making it difficult for users to find legitimate packages. The ramifications include potential security risks for applications that depend on this package, as well as a compromised npm ecosystem.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall ucok-poke63
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, avoid using the ucok-poke63 package and any other packages associated with the tea.xyz campaign. Regularly audit your npm packages using tools like npm audit to identify and mitigate vulnerabilities.
Conclusion
The ucok-poke63 package poses a significant threat due to its malicious code designed to exploit the npm registry. It is crucial for developers to be vigilant and remove any affected packages to maintain the integrity of their applications. Regular audits and monitoring can help mitigate risks associated with such vulnerabilities.
See every vulnerability recorded for ucok-poke63 →
FAQ
ucok-poke63 is an npm package that is part of a malicious campaign aimed at exploiting the npm registry for token rewards.
The vulnerability can lead to the installation of malicious code, which may compromise your application's security and integrity.
You should uninstall the package immediately using npm uninstall ucok-poke63 and check for any other affected packages.
You can use tools like npm audit or services like Vulert, which monitors your package-lock.json for vulnerabilities in real-time.
Yes, you can use the Vulert playground at Vulert Scanner to check if your application is affected by this vulnerability without any signup.