Malicious Code Injection in shilang-poke14: A Threat to npm Ecosystem
Summary
MAL-2025-165830: Malicious code in shilang-poke14 (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-poke14 is an npm package that is part of a broader campaign aimed at exploiting the npm registry. It is designed to facilitate token rewards for the tea.xyz protocol by generating and publishing numerous derivative packages. This package, like others in the campaign, is characterized by its ability to modify package metadata and create numerous variants, which can lead to pollution of the npm ecosystem.
Vulnerability Detail
The vulnerability in shilang-poke14 arises from the inclusion of malicious code that modifies the package.json file. This code removes private flags, alters version numbers, and generates random package names, which are often themed around Indonesian culture. The malicious payload continuously republishes these variants, leading to a significant risk of reputation inflation for developers and potential security issues 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-poke14
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 remove the shilang-poke14 package from your project by executing the command: npm uninstall shilang-poke14. This will prevent any potential exploitation until a secure version is available.
Conclusion
The shilang-poke14 package poses a significant risk due to its malicious code that alters package metadata and floods the npm registry with compromised variants. It is crucial for developers to take immediate action by updating or removing the package and utilizing tools like Vulert to monitor for vulnerabilities.
See every vulnerability recorded for shilang-poke14 →
FAQ
shilang-poke14 is an npm package involved in a token reward campaign that exploits the npm registry by publishing numerous derivative packages.
The malicious code modifies your package.json file, potentially leading to security vulnerabilities and pollution of the npm ecosystem.
You should uninstall the package immediately and monitor for any updates or patches that address the vulnerability.
You can use tools like Vulert, which monitors your package-lock.json file for open-source vulnerabilities in real-time without requiring code access.
Yes, you can use the Vulert playground at Vulert Scanner to check if your application is affected by this vulnerability without needing to sign up.