Malicious Code Injection in shilang-poke1: A Threat to npm Users
Summary
MAL-2025-165814: Malicious code in shilang-poke1 (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-poke1 is an npm package that is part of the tea.xyz token reward campaign. It is designed to facilitate the distribution of token rewards through various scripts. However, it has been identified as containing malicious code that can compromise the integrity of the npm registry and the projects that depend on it.
Vulnerability Detail
The vulnerability in shilang-poke1 originates from its inclusion in a campaign that floods the npm registry with derivative packages. These packages contain scripts that automatically modify the package.json file, removing private flags and changing version numbers. The malicious payload generates random package names and continuously republishes variants, leading to pollution of the npm registry and potential security risks for developers using these packages.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall shilang-poke1
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 shilang-poke1 and any packages that may depend on it. Additionally, consider using npm audit to identify and address vulnerabilities in your project's dependencies.
Conclusion
The shilang-poke1 package poses a significant risk due to its malicious code that alters package configurations and pollutes the npm registry. It is crucial for developers to remove this package and monitor their dependencies for vulnerabilities to maintain the security of their projects.
See every vulnerability recorded for shilang-poke1 →
FAQ
shilang-poke1 is an npm package involved in the tea.xyz token reward campaign, which has been identified as containing malicious code.
The malicious code modifies your package.json file, removes private flags, and can lead to the pollution of the npm registry, affecting the integrity of your project.
You should remove the shilang-poke1 package from your project and monitor for any updates or patches.
Yes, you can use Vulert, which monitors and alerts for open-source vulnerabilities in your software. You can check your application using the Vulert playground without any signup.
Regularly audit your dependencies using tools like npm audit and stay informed about vulnerabilities in the packages you use.