Malicious Code Injection in ucok-poke9: A Threat to npm Ecosystem
Summary
MAL-2025-169701: Malicious code in ucok-poke9 (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-poke9 is a package within the npm ecosystem, often associated with token reward campaigns. It is designed to facilitate the distribution of software packages, but it has been compromised to include malicious scripts that manipulate package metadata. This vulnerability poses a significant risk to developers and users relying on npm for package management.
Vulnerability Detail
The vulnerability in ucok-poke9 stems from its association with a malicious campaign that floods the npm registry with derivative packages. The malicious code modifies the package.json file to remove private flags and alters version numbers, generating random package names. This behavior not only inflates developer reputation scores but also pollutes the npm registry, potentially leading to the installation of compromised packages by unsuspecting users.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall ucok-poke9
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-poke9 and any packages that depend on it. Additionally, you can monitor your package-lock.json file for any unauthorized changes and remove any suspicious packages manually.
Conclusion
The ucok-poke9 package has been identified as containing malicious code that poses a significant risk to the npm ecosystem. Developers should take immediate action to remove this package and monitor their projects for any unauthorized changes. Utilizing tools like Vulert can help maintain the security of your applications.
See every vulnerability recorded for ucok-poke9 →
FAQ
ucok-poke9 is an npm package that has been found to contain malicious code designed to manipulate package metadata and inflate developer reputation scores.
The vulnerability can lead to the installation of compromised packages, which may introduce security risks and instability in your project.
You should remove the ucok-poke9 package from your project immediately and monitor your dependencies for any unauthorized changes.
Yes, you can use tools like Vulert, which monitors your package-lock.json file for open-source vulnerabilities in real-time without requiring code access or installation.
You can use the Vulert playground at Vulert Scanner to check if your application is affected by this vulnerability without needing to sign up.