Malicious Code Injection in shilang-poke9: A Threat to npm Packages
Summary
MAL-2025-165913: Malicious code in shilang-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
shilang-poke9 is an npm package that is part of a broader campaign targeting the npm registry. It is designed to facilitate token rewards for the tea.xyz protocol. The package's functionality is compromised by malicious scripts that manipulate its metadata and behavior, leading to potential exploitation within the npm ecosystem.
Vulnerability Detail
The vulnerability originates from a malicious payload embedded within the shilang-poke9 package. This payload modifies the package.json file by removing private flags, altering version numbers, and generating random package names. The intent is to inflate developer reputation scores through the automatic generation and publication of derivative packages, which can lead to registry pollution and increased risk of dependency confusion attacks.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall shilang-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 prevent the installation of shilang-poke9 by adding it to your npm ignore list or by using a package manager that allows you to lock down your dependencies to known safe versions.
Conclusion
The shilang-poke9 package poses a significant risk due to its embedded malicious code, which can compromise the integrity of projects relying on it. Immediate action is required to remove the package and mitigate potential impacts. Utilizing tools like Vulert can help in monitoring and preventing future vulnerabilities.
See every vulnerability recorded for shilang-poke9 →
FAQ
shilang-poke9 is an npm package involved in a token reward campaign that has been identified as containing malicious code.
The malicious code modifies your package.json file, potentially leading to the publication of unwanted packages and compromising your project's integrity.
You should uninstall the package immediately using 'npm uninstall shilang-poke9' and check your project for any dependencies that may be affected.
Yes, you can use Vulert to monitor and alert for open-source vulnerabilities in your software. Visit Vulert Scanner to check your application without needing to sign up.
Regularly audit your dependencies and use tools like Vulert to monitor for vulnerabilities in real-time, ensuring that you are alerted to any potential risks.