Malicious Code Injection in shilang-poke28: A Threat to npm Users
Summary
MAL-2025-165845: Malicious code in shilang-poke28 (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-poke28 is an npm package that has been implicated in a malicious campaign associated with the tea.xyz token reward system. This package is designed to automate the generation and publication of derivative packages, which can inflate developer reputation scores in exchange for token rewards. The malicious nature of this package poses a significant risk to the integrity of the npm registry and its users.
Vulnerability Detail
The vulnerability in shilang-poke28 stems from its inclusion in a malicious campaign that modifies the package.json file to remove private flags, alters version numbers, and generates random package names. This behavior leads to the continuous republishing of variants, which pollutes the npm registry and can compromise the security of applications relying on these packages. The origin of this issue is linked to the tea.xyz token reward campaign, which exploits npm's publishing mechanisms.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall shilang-poke28
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 workaround, you can manually remove the shilang-poke28 package from your project by running the command: npm uninstall shilang-poke28. Additionally, consider using tools like Vulert to monitor your package-lock.json for vulnerabilities.
Conclusion
The shilang-poke28 package poses a significant risk due to its malicious code injection capabilities. It is crucial for developers to be vigilant and remove any affected packages from their projects. Utilizing tools like Vulert can help in monitoring and managing vulnerabilities effectively.
See every vulnerability recorded for shilang-poke28 →
FAQ
shilang-poke28 is an npm package that has been identified as part of a malicious campaign aimed at manipulating the npm registry.
The vulnerability can lead to the injection of malicious code into your application, potentially compromising its security and integrity.
You should uninstall the shilang-poke28 package immediately and monitor your project for any other vulnerable dependencies.
You can use tools like Vulert, which analyzes your package-lock.json to alert you in real-time about open-source vulnerabilities.
Yes, you can use the Vulert playground at Vulert Scanner to check for vulnerabilities in your application without needing to sign up.