Malicious Code Injection in slamet-poke79: A Threat to npm Ecosystem
Summary
MAL-2025-166100: Malicious code in slamet-poke79 (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-poke79 is an npm package that appears to be part of a token reward campaign associated with the tea.xyz protocol. This package is designed to interact with the npm registry, allowing developers to publish and manage JavaScript packages. However, it has been identified as malicious, containing scripts that can manipulate package metadata and flood the registry with derivative packages.
Vulnerability Detail
The vulnerability in slamet-poke79 originates from its inclusion in a malicious campaign that aims to inflate developer reputation scores through automated publishing of derivative packages. The malicious code modifies the package.json file by removing private flags, altering version numbers, and generating random package names. This behavior not only compromises the integrity of the npm registry but also poses a risk to developers who may unknowingly install 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 slamet-poke79
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 slamet-poke79 and any other packages associated with the tea.xyz token reward campaign. Regularly audit your package-lock.json file to identify and remove any suspicious packages.
Conclusion
The slamet-poke79 package poses a significant threat to the npm ecosystem due to its malicious behavior of modifying package metadata and flooding the registry. It is crucial for developers to remain vigilant, regularly audit their dependencies, and utilize tools like Vulert to monitor for vulnerabilities.
See every vulnerability recorded for slamet-poke79 →
FAQ
slamet-poke79 is an npm package that has been identified as malicious, designed to manipulate package metadata and flood the npm registry.
The malicious code can alter your package.json file, remove private flags, and publish unauthorized packages, potentially compromising your project's security.
You can use Vulert, which monitors and alerts for open-source vulnerabilities in your software. Check your application against the vulnerability using the Vulert playground at Vulert Scanner.
If you have installed slamet-poke79, you should uninstall it immediately using the command npm uninstall slamet-poke79.
No patches are available for slamet-poke79 as it is a malicious package. The best course of action is to remove it from your project.