Malicious Code Injection in syahlan-poke7: A Threat to npm Packages
Summary
MAL-2025-166572: Malicious code in syahlan-poke7 (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-poke7 is an npm package that is part of a broader campaign aimed at manipulating the npm registry for token rewards. This package, like others in the campaign, is designed to automatically generate and publish derivative packages with randomized names, which can inflate developer reputation scores. The malicious nature of this package poses significant risks to developers and users who rely on npm for package management.
Vulnerability Detail
The vulnerability in syahlan-poke7 originates from its association with the tea.xyz token reward campaign. The package contains scripts that modify the package.json file to remove private flags, change 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 other packages. The ramifications include loss of trust in the npm ecosystem and possible exploitation of users who inadvertently install these malicious packages.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall syahlan-poke7
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 syahlan-poke7 and any other packages associated with the tea.xyz campaign. Additionally, you can implement a script to audit your package-lock.json file for any malicious dependencies.
Conclusion
The syahlan-poke7 package poses a significant threat due to its malicious code designed to manipulate the npm registry. It is crucial for developers to be vigilant and remove any affected packages while utilizing tools like Vulert to monitor for vulnerabilities in their projects.
See every vulnerability recorded for syahlan-poke7 →
FAQ
syahlan-poke7 is an npm package involved in a malicious campaign that aims to manipulate the npm registry for token rewards.
The vulnerability can lead to the installation of malicious packages, compromising the integrity of your project and potentially exposing it to security risks.
You should remove the syahlan-poke7 package from your project immediately and check for any other affected packages.
You can use Vulert, which monitors your package-lock.json file for open-source vulnerabilities in real-time. You can check your application for vulnerabilities using the Vulert playground without any signup.
Yes, tools like Vulert can help you identify and monitor for malicious packages in your project by analyzing your package-lock.json.