Malicious Code Injection in shilang-poke81: A Threat to npm Packages
Summary
MAL-2025-165904: Malicious code in shilang-poke81 (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-poke81 is an npm package that is part of the tea.xyz token reward campaign. This package is designed to facilitate certain functionalities related to the tea protocol, but it has been compromised. The vulnerability allows malicious actors to exploit the package by embedding harmful scripts that can manipulate package metadata and flood the npm registry with unwanted packages.
Vulnerability Detail
The vulnerability in shilang-poke81 originates from its association with a malicious campaign that aims to inflate developer reputation scores through the automatic generation and publication of derivative packages. The malicious payload modifies the package.json file by removing private flags, altering version numbers, and generating random package names, which leads to pollution of the npm registry. This can result in significant ramifications, including reputational damage for developers and potential security risks for users who inadvertently install these compromised packages.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall shilang-poke81
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, avoid using shilang-poke81 and any other packages associated with the tea.xyz token reward campaign. Regularly monitor your dependencies for any signs of malicious activity and consider using tools like Vulert to keep track of vulnerabilities in your project.
Conclusion
The shilang-poke81 package poses a significant threat due to its malicious code that can manipulate package metadata and flood the npm registry. It is crucial for developers to take immediate action by removing the package and monitoring their dependencies for security risks. Utilizing tools like Vulert can aid in maintaining the integrity of your applications.
See every vulnerability recorded for shilang-poke81 →
FAQ
shilang-poke81 is an npm package that is part of a token reward campaign, but it has been compromised to include malicious code.
The vulnerability can lead to the installation of unwanted packages, potentially compromising your project's security and reputation.
You should uninstall the package immediately using npm uninstall shilang-poke81 and monitor your project for any further issues.
Regularly audit your dependencies, use tools like Vulert to monitor for vulnerabilities, and avoid using packages from untrusted sources.
Yes, you can use the Vulert playground at Vulert Scanner to check your application for vulnerabilities without any signup.