Malicious Code Injection in syahlan-poke4: A Threat to npm Ecosystem
Summary
MAL-2025-166539: Malicious code in syahlan-poke4 (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
The package 'syahlan-poke4' is part of the npm ecosystem, which is widely used for JavaScript package management. It is often utilized in various applications to enhance functionality through third-party libraries. However, this package has been identified as malicious, specifically linked to a token reward campaign that exploits npm's publishing capabilities to inflate developer reputation scores.
Vulnerability Detail
The vulnerability in 'syahlan-poke4' originates from its association with the tea.xyz token reward campaign, which floods the npm registry with malicious packages. These packages contain scripts that automatically modify the package.json file to remove private flags, alter version numbers, and generate random package names. This behavior leads to the continuous republishing of variants, polluting the npm registry and potentially compromising the integrity of dependent applications.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall syahlan-poke4
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 the 'syahlan-poke4' package and look for alternative packages that provide similar functionality without the associated risks. Always verify the source and reputation of any package before integrating it into your project.
Conclusion
The 'syahlan-poke4' package poses a significant threat to the npm ecosystem due to its malicious behavior aimed at manipulating the registry. It is essential for developers to remain vigilant, regularly audit their dependencies, and utilize tools like Vulert to monitor for vulnerabilities. Taking proactive steps to remove compromised packages and seek alternatives will help maintain the integrity of your applications.
See every vulnerability recorded for syahlan-poke4 →
FAQ
The main issue is that it contains malicious code designed to manipulate the npm registry and inflate developer reputation scores through automated publishing.
You can use Vulert, which monitors and alerts for open-source vulnerabilities in real-time. By utilizing the Vulert playground, you can check if your application is affected without needing to sign up.
If you have installed syahlan-poke4, you should uninstall it immediately using 'npm uninstall syahlan-poke4' and review your dependencies for any other potentially malicious packages.
Yes, there are many alternative packages available in the npm registry that provide similar functionalities. Always ensure to review their credibility and user feedback.
To prevent similar vulnerabilities, regularly audit your dependencies, use tools like Vulert for monitoring, and only install packages from trusted sources.