Malicious Code Injection in slamet-poke22: A Threat to npm Ecosystem
Summary
MAL-2025-166036: Malicious code in slamet-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
slamet-poke22 is an npm package that is part of a broader campaign involving the tea.xyz token reward system. This package is designed to facilitate the distribution of software in the npm ecosystem. However, it has been identified as containing malicious code that compromises its integrity and the security of applications that depend on it.
Vulnerability Detail
The vulnerability in slamet-poke22 originates from its association with a malicious campaign that floods the npm registry with derivative packages. The malicious payload alters the package.json file by removing private flags, changing version numbers, and generating random package names. This behavior not only inflates developer reputation scores but also pollutes the npm registry, leading to potential security risks for users who inadvertently install these compromised packages.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall slamet-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 measure, you can avoid using slamet-poke22 and any packages that depend on it. If you have already installed it, remove it from your project and check your package-lock.json for any other potentially affected packages.
Conclusion
The slamet-poke22 package poses a significant threat due to its malicious code that alters package metadata and floods the npm registry. It is crucial for developers to remain vigilant, regularly update their dependencies, and utilize tools like Vulert to monitor for vulnerabilities in their applications.
See every vulnerability recorded for slamet-poke22 →
FAQ
slamet-poke22 is an npm package that has been identified as part of a malicious campaign targeting the npm ecosystem.
The vulnerability can lead to the installation of compromised packages, which may introduce security risks and affect the integrity of your application.
You should uninstall slamet-poke22 immediately using 'npm uninstall slamet-poke22' and review your dependencies for any other affected packages.
You can use tools like Vulert, which monitors your package-lock.json for open-source vulnerabilities in real-time without requiring code access or installation.
Yes, you can use the Vulert playground at Vulert Scanner to check if your application is affected by this vulnerability without any signup.