Malicious Code Injection in shilang-poke82: A Threat to npm Users
Summary
MAL-2025-165905: Malicious code in shilang-poke82 (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-poke82 is an npm package that has been identified as part of a malicious campaign targeting the npm registry. This package is linked to the tea.xyz token reward initiative, which aims to inflate developer reputation scores by flooding the registry with derivative packages. The malicious nature of this package compromises its integrity and poses significant risks to users who may unknowingly incorporate it into their projects.
Vulnerability Detail
The vulnerability in shilang-poke82 originates from its design to execute autopublish scripts that modify the package.json file. This includes removing private flags, altering version numbers, and generating random package names, which leads to the continuous republishing of variants. The ramifications include potential exposure to malicious code, pollution of the npm registry, and undermining the trust in the ecosystem. This vulnerability is particularly concerning as it can affect any project that depends on this package, leading to security breaches and loss of data integrity.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall shilang-poke82
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-poke82 and replace it with a trusted alternative. Always validate the packages you intend to use by checking their source and reputation within the community.
Conclusion
The discovery of malicious code in the shilang-poke82 package highlights the importance of vigilance when using open-source packages. By understanding the nature of this vulnerability and taking appropriate actions, developers can protect their projects from potential threats. Regular monitoring and using tools like Vulert can further enhance security.
See every vulnerability recorded for shilang-poke82 →
FAQ
shilang-poke82 is an npm package associated with a malicious campaign that aims to inflate developer reputation scores through the creation of derivative packages.
The vulnerability can lead to the introduction of malicious code into your project, compromising its security and integrity.
You should immediately uninstall the package using npm uninstall shilang-poke82 and check your project for any unintended consequences.
You can use tools like Vulert, which monitors your package-lock.json for vulnerabilities in real-time without requiring code access or installation.
Yes, you can use the Vulert playground at Vulert Scanner to check if your application is affected by this vulnerability without signing up.