Malicious Code Injection in syahlan-poke24: A Threat to npm Users
Summary
MAL-2025-166522: Malicious code in syahlan-poke24 (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
syahlan-poke24 is an npm package that is part of the tea.xyz token reward campaign, which has been associated with the proliferation of malicious packages in the npm ecosystem. This package is designed to interact with the npm registry and may be used by developers to enhance their reputation scores through token rewards. However, it has been compromised to include malicious scripts that can alter its own metadata and republish itself under various names, leading to potential security risks for users.
Vulnerability Detail
The vulnerability in syahlan-poke24 stems from its inclusion in a malicious campaign that modifies the package.json file to remove private flags and change version numbers. This allows the package to generate and publish numerous derivative packages with randomized names, effectively polluting the npm registry. The malicious payload can lead to unauthorized access to user data, reputation damage for developers, and an overall compromise of the npm ecosystem.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall syahlan-poke24
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 syahlan-poke24 by using npm's package-lock.json to lock your dependencies. Additionally, consider using the following command to uninstall the package: npm uninstall syahlan-poke24.
Conclusion
The syahlan-poke24 package has been identified as a malicious entity within the npm ecosystem, capable of altering its metadata and republishing itself. It is crucial for developers to remove this package and monitor their dependencies for any signs of compromise. Utilizing tools like Vulert can help in maintaining the security of your applications.
See every vulnerability recorded for syahlan-poke24 →
FAQ
syahlan-poke24 is an npm package associated with the tea.xyz token reward campaign, which has been identified as containing malicious code.
The vulnerability can lead to unauthorized modifications of your project's dependencies, potentially compromising your application's security and integrity.
You should immediately uninstall the package using npm uninstall syahlan-poke24 and monitor your project for any unusual behavior.
You can use tools like Vulert, which monitors your package-lock.json for open-source 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 any signup.