Malicious Code Injection in syahlan-poke9: A Threat to npm Packages
Summary
MAL-2025-166594: Malicious code in syahlan-poke9 (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-poke9' 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 npm with malicious packages. These packages often include scripts designed to manipulate the npm registry and inflate developer reputation scores through the automatic generation and publication of derivative packages.
Vulnerability Detail
The vulnerability in 'syahlan-poke9' originates from its association with malicious scripts that modify the package.json file. These scripts remove private flags, alter version numbers, and generate random package names, leading to the continuous republishing of variants that pollute the npm registry. This not only compromises the integrity of the npm ecosystem but also poses risks to developers who may unknowingly use these tainted packages, potentially leading to security breaches and loss of trust in the package management system.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall syahlan-poke9
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-poke9' package from your project by executing the command: 'npm uninstall syahlan-poke9'. This will prevent any malicious code from executing while you seek a secure alternative.
Conclusion
The 'syahlan-poke9' package poses a significant risk due to its malicious code designed to manipulate the npm registry. It is crucial for developers to stay vigilant, regularly update their dependencies, and utilize tools like Vulert to monitor for vulnerabilities. By taking proactive measures, you can safeguard your applications against such threats.
See every vulnerability recorded for syahlan-poke9 →
FAQ
The malicious code modifies package.json files to remove private flags and generates random package names, leading to the pollution of the npm registry.
You can use Vulert, which monitors open-source vulnerabilities in real-time. By simply uploading your package-lock.json file, you can receive alerts about any vulnerabilities, including those related to syahlan-poke9.
Using syahlan-poke9 can lead to security breaches, as the package may introduce malicious code that compromises your application and its data.
Regularly audit your dependencies and use tools like Vulert to monitor for vulnerabilities. Keeping your packages updated and removing unused ones can also help mitigate risks.
Immediately uninstall the package and review your project for any potential security issues. Consider using alternative packages that are known to be secure.