Malicious Code Injection in syahlan-poke80: A Threat to npm Users
Summary
MAL-2025-166584: Malicious code in syahlan-poke80 (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-poke80' is part of a series of npm packages associated with the tea.xyz token reward campaign. These packages are designed to inflate developer reputation scores by automatically generating and publishing derivative packages with randomized names. The malicious nature of this package lies in its ability to modify critical files and republish variants, thus polluting the npm registry.
Vulnerability Detail
The vulnerability in 'syahlan-poke80' originates from its malicious payload, which alters the package.json file by removing private flags and changing version numbers. It generates random package names, primarily themed around Indonesian culture, and continuously republishes these variants. This behavior not only compromises the integrity of the npm registry but also poses a risk to developers who may unknowingly use these compromised packages, leading to potential security breaches in their applications.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall syahlan-poke80
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-poke80' package from your project by executing the command: 'npm uninstall syahlan-poke80'. This will prevent any malicious code from executing in your environment until a patch is available.
Conclusion
The 'syahlan-poke80' package poses a significant threat due to its malicious code that alters package files and repopulates the npm registry with compromised variants. It is crucial for developers to regularly monitor their dependencies and take necessary actions to mitigate such vulnerabilities.
See every vulnerability recorded for syahlan-poke80 →
FAQ
The main issue is that it contains malicious code that modifies package.json files and republish variants to inflate developer reputation scores.
You can use Vulert, which monitors and alerts for open-source vulnerabilities in your software. Visit Vulert Scanner to check if your application is affected without requiring any signup.
Using this package can lead to security breaches, as it modifies critical files and can introduce other malicious packages into your project.
Regularly audit your dependencies and use tools like Vulert to monitor for vulnerabilities in your open-source packages.
If an immediate update is not possible, consider removing the package from your project as a temporary measure to mitigate risks.