Malicious Code Injection in syahlan-poke58: A Threat to npm Packages
Summary
MAL-2025-166559: Malicious code in syahlan-poke58 (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-poke58' is part of the npm ecosystem, which is widely used for JavaScript package management. This package is associated with the tea.xyz token reward campaign, which has been known to flood npm with malicious packages. These packages often contain scripts designed to manipulate the npm registry by generating and publishing numerous derivative packages, thereby inflating developer reputation scores for token rewards.
Vulnerability Detail
The vulnerability in 'syahlan-poke58' originates from its malicious payload that modifies the package.json file. It removes private flags, alters version numbers, and generates random package names, which can lead to the pollution of the npm registry. This behavior not only compromises the integrity of the npm ecosystem but also poses risks to developers who may unknowingly install these malicious packages, potentially leading to further exploitation.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall syahlan-poke58
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-poke58' package and monitor your dependencies for any malicious activity. Additionally, consider using tools like Vulert to monitor your package-lock.json for vulnerabilities in real-time. You can access the Vulert playground at https://vulert.com/scanner to check if your application is affected by this vulnerability without any signup.
Conclusion
The 'syahlan-poke58' package poses a significant threat due to its malicious code that manipulates the npm registry. It is essential to take immediate action to remove this package and monitor your dependencies for any further vulnerabilities. Utilizing tools like Vulert can help maintain the security of your projects.
See every vulnerability recorded for syahlan-poke58 →
FAQ
'syahlan-poke58' is an npm package that is part of a malicious campaign aimed at inflating developer reputation scores through the publication of numerous derivative packages.
The vulnerability can lead to the installation of malicious packages that may compromise your project's integrity and security, potentially allowing for further exploitation.
You should uninstall the package immediately using 'npm uninstall syahlan-poke58' and check for any other affected packages in your project.
Regularly audit your dependencies, use tools like Vulert for real-time monitoring, and stay informed about known vulnerabilities in the npm ecosystem.
Yes, you can use the Vulert playground at Vulert Scanner to check your application for vulnerabilities using just your package-lock.json file.