Malicious Code Injection in syahlan-poke19: A Threat to npm Ecosystem
Summary
MAL-2025-166516: Malicious code in syahlan-poke19 (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-poke19' is part of the npm ecosystem, which is widely used for JavaScript package management. It is associated with the tea.xyz token reward campaign, which has been known to flood the npm registry with malicious packages. These packages often contain scripts that automate the generation and publication of derivative packages, compromising the integrity of the npm ecosystem.
Vulnerability Detail
The vulnerability in 'syahlan-poke19' originates from its involvement in a malicious campaign that modifies the package.json file to remove private flags and alters version numbers. It generates random package names, primarily themed around Indonesian culture, and continuously republishes these variants to pollute the npm registry. This behavior can lead to a significant increase in the number of malicious packages, affecting developers' reputations and potentially introducing security risks into applications that depend on these packages.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall syahlan-poke19
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 'syahlan-poke19' package from your project by executing the command: 'npm uninstall syahlan-poke19'. Additionally, consider using tools like Vulert to monitor your package-lock.json for vulnerabilities in real-time.
Conclusion
The 'syahlan-poke19' package poses a significant risk to the npm ecosystem due to its malicious behavior. It is crucial for developers to remain vigilant, regularly update their dependencies, and utilize tools like Vulert to monitor for vulnerabilities. By taking proactive measures, developers can safeguard their applications from potential threats.
See every vulnerability recorded for syahlan-poke19 →
FAQ
The main issue is that it contains malicious code that modifies package.json files and floods the npm registry with derivative packages.
You can use the Vulert playground at Vulert Scanner to check if your application is affected by this vulnerability without any signup.
If you have installed syahlan-poke19, it is advisable to uninstall it immediately and check for any other affected packages.
Yes, tools like Vulert can help monitor your package-lock.json for open-source vulnerabilities in real-time.
Using compromised packages can lead to security breaches, data leaks, and damage to your application's reputation.