Malicious Code Injection in shilang-poke66: A Threat to npm Users
Summary
MAL-2025-165887: Malicious code in shilang-poke66 (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
shilang-poke66 is an npm package that is part of the tea.xyz token reward campaign. This package is designed to facilitate the distribution of derivative packages, which are generated automatically to inflate developer reputation scores for token rewards. The package's functionality is compromised by malicious code that modifies its configuration files.
Vulnerability Detail
The vulnerability originates from the malicious code embedded within the shilang-poke66 package. This code is designed to alter the package.json file by removing private flags, changing version numbers, and generating random package names, which can lead to pollution of the npm registry. The ramifications include potential security risks for developers who may unknowingly install these compromised packages, as well as damage to the integrity of the npm ecosystem.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall shilang-poke66
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 the shilang-poke66 package until a fix is released. Additionally, you can monitor your package-lock.json file for any unauthorized changes or installations.
Conclusion
The shilang-poke66 package poses a significant risk due to the malicious code that alters its configuration and can lead to broader security issues within the npm ecosystem. It is crucial for developers to monitor their dependencies and take necessary actions to protect their projects.
See every vulnerability recorded for shilang-poke66 →
FAQ
shilang-poke66 is an npm package associated with the tea.xyz token reward campaign, designed to generate and publish derivative packages.
The malicious code modifies your package.json file, potentially leading to unauthorized package installations and pollution of the npm registry.
You should update the package to a patched version or remove it from your project to mitigate the risk.
You can use tools like Vulert, which monitors your package-lock.json file for open-source vulnerabilities in real-time without requiring installation.
Yes, you can use the Vulert playground at Vulert Scanner to check if your application is affected by this vulnerability without any signup.