Malicious Code Injection in syahlan-poke48: A Threat to npm Ecosystem
Summary
MAL-2025-166548: Malicious code in syahlan-poke48 (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-poke48' 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 linked to a series of malicious packages flooding the npm registry. These packages are designed to manipulate developer reputation scores by automatically generating and publishing derivative packages with randomized names, thus posing a significant risk to the integrity of the npm ecosystem.
Vulnerability Detail
The vulnerability in 'syahlan-poke48' originates from its malicious code, which modifies the package.json file to remove private flags and alters version numbers. It generates random package names, often themed around Indonesian culture, and continuously republishes these variants to pollute the npm registry. This behavior not only compromises the security of the affected package but also affects the overall npm ecosystem by inflating developer reputation scores fraudulently.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall syahlan-poke48
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-poke48' package from your project by executing the command: 'npm uninstall syahlan-poke48'. This will prevent any malicious code from executing while you seek a secure alternative.
Conclusion
The 'syahlan-poke48' package poses a significant threat due to its malicious code that manipulates the npm registry. It is crucial for developers to update their packages and monitor for vulnerabilities to maintain the integrity of their applications and the broader npm ecosystem.
See every vulnerability recorded for syahlan-poke48 →
FAQ
The vulnerability involves malicious code that modifies package.json and republishes variants to manipulate npm registry integrity.
You can use Vulert's playground at Vulert Scanner to check if your application is affected by this vulnerability without any signup.
The risks include compromised package integrity, potential security breaches, and the inflation of developer reputation scores through fraudulent means.
Yes, Vulert can monitor and alert you in real-time for open-source vulnerabilities using just your package-lock.json.
If immediate updates are not possible, consider uninstalling the package as a temporary measure to mitigate risks.