Malicious Code Injection in syahmuda-poke27: A Threat to npm Packages
Summary
MAL-2025-166624: Malicious code in syahmuda-poke27 (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 'syahmuda-poke27' 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 are designed to inflate developer reputation scores through automated scripts, posing a significant risk to developers and users relying on npm for secure package management.
Vulnerability Detail
The vulnerability in 'syahmuda-poke27' originates from its association with the tea.xyz token reward campaign, which has been known to distribute malicious packages. The malicious payload embedded in this package modifies the package.json file by removing private flags, altering version numbers, and generating random package names. This behavior leads to the continuous republishing of variants, thereby polluting the npm registry and potentially compromising the integrity of other packages.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall syahmuda-poke27
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 the 'syahmuda-poke27' package and look for alternative packages that provide similar functionality without the associated risks. Additionally, consider using tools like Vulert to monitor your package-lock.json for vulnerabilities in real-time.
Conclusion
The 'syahmuda-poke27' package poses a significant threat due to its malicious code designed to manipulate npm packages. It is essential for developers to take immediate action by removing this package and monitoring their dependencies for vulnerabilities. Utilizing tools like Vulert can aid in maintaining the security of your projects.
See every vulnerability recorded for syahmuda-poke27 →
FAQ
The main risk is that it contains malicious code that can modify your project's package.json, leading to unauthorized changes and potential security breaches.
You can use the Vulert playground at Vulert Scanner to check if your application is affected by this vulnerability without requiring any signup.
You should uninstall the package immediately using 'npm uninstall syahmuda-poke27' and review your other dependencies for any potential vulnerabilities.
Yes, tools like Vulert can monitor your package-lock.json file for vulnerabilities in real-time, alerting you to any issues.
Using compromised packages can lead to security vulnerabilities, data breaches, and loss of trust in your software, potentially affecting your users and reputation.