Malicious Code Injection in syahmuda-poke22: npm Package Vulnerability
Summary
MAL-2025-166619: Malicious code in syahmuda-poke22 (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 syahmuda-poke22 package is part of the npm ecosystem, which is widely used for JavaScript package management. This package has been identified as part of a malicious campaign that aims to exploit the npm registry by flooding it with derivative packages. These packages often contain scripts designed to manipulate package metadata, thereby inflating developer reputation scores for token rewards. The vulnerability stems from the package's ability to alter its own package.json file, making it susceptible to abuse.
Vulnerability Detail
The vulnerability in syahmuda-poke22 originates from its association with the tea.xyz token reward campaign, which has led to the creation of numerous malicious packages. The malicious payload modifies the package.json file by removing private flags, changing version numbers, and generating random package names. This behavior can lead to the pollution of the npm registry, making it difficult for developers to find legitimate packages and potentially compromising the integrity of their applications.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall syahmuda-poke22
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 prevent the installation of the syahmuda-poke22 package by using the following command to uninstall it: npm uninstall syahmuda-poke22. Additionally, you can monitor your project for vulnerabilities using tools like Vulert, which can alert you to open-source vulnerabilities in real-time by analyzing your package-lock.json file.
Conclusion
The syahmuda-poke22 package poses a significant risk due to its malicious code that alters package metadata. It is crucial for developers to take immediate action by updating or removing the package to protect their applications. Utilizing tools like Vulert can help in monitoring for such vulnerabilities effectively.
See every vulnerability recorded for syahmuda-poke22 →
FAQ
syahmuda-poke22 is an npm package that has been identified as part of a malicious campaign to exploit the npm registry.
The vulnerability can lead to the pollution of the npm registry, making it difficult to find legitimate packages and potentially compromising your application's integrity.
You should update the package to a patched version if available or uninstall it to mitigate the risk.
You can use Vulert to monitor your application for open-source vulnerabilities in real-time by analyzing your package-lock.json file.
Yes, you can use the Vulert playground at Vulert Scanner to check if your application is affected by this vulnerability without requiring any signup.