Malicious Code Injection in shilang-poke34: A Threat to npm Users
Summary
MAL-2025-165852: Malicious code in shilang-poke34 (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-poke34 is an npm package that is part of the tea.xyz token reward campaign. This package is designed to facilitate the distribution of token rewards through various scripts. However, it has been identified as containing malicious code that compromises the integrity of the npm registry by generating and publishing derivative packages with altered metadata.
Vulnerability Detail
The vulnerability in shilang-poke34 originates from its association with a malicious campaign that floods the npm registry with derivative packages. The malicious payload modifies the package.json file by removing private flags, altering version numbers, and generating random package names. This behavior not only pollutes the npm registry but also poses a risk to developers who may unknowingly install these compromised packages, potentially leading to security breaches in their applications.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall shilang-poke34
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-poke34 and any other packages associated with the tea.xyz token reward campaign. Regularly audit your project's dependencies to ensure no malicious packages are included.
Conclusion
The discovery of malicious code in the shilang-poke34 package highlights the importance of vigilance in managing npm dependencies. By understanding the nature of this vulnerability and taking appropriate actions, developers can protect their applications from potential threats.
See every vulnerability recorded for shilang-poke34 →
FAQ
shilang-poke34 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 and can lead to the installation of compromised packages, which may introduce security vulnerabilities.
You can use Vulert, which monitors and alerts for open-source vulnerabilities in real-time. Check your application using the Vulert playground at Vulert Scanner.
You should uninstall the package immediately using 'npm uninstall shilang-poke34' and check for any other affected packages.
Yes, tools like Vulert can help monitor your dependencies for vulnerabilities without requiring code access or installation.