Malicious Code Injection in slamet-poke6: A Threat to npm Users
Summary
MAL-2025-166079: Malicious code in slamet-poke6 (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-poke6 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 automatic generation and publication of derivative packages, which can lead to inflated developer reputation scores. The malicious nature of slamet-poke6 lies in its ability to modify package.json files, remove private flags, and generate random package names, thereby polluting the npm registry.
Vulnerability Detail
The vulnerability in slamet-poke6 originates from its involvement in a malicious campaign that aims to exploit the npm ecosystem. The package contains scripts that automatically republish variants of itself with altered metadata, including version numbers and 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 malicious packages, leading to potential security breaches and loss of sensitive data.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall slamet-poke6
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-poke6 and any packages that depend on it. Additionally, consider using a package manager that provides enhanced security features or monitoring tools to detect malicious packages.
Conclusion
The slamet-poke6 package poses a significant threat to npm users due to its malicious behavior of modifying project files and republishing itself. It is crucial for developers to remove this package from their projects and utilize tools like Vulert for ongoing monitoring of vulnerabilities in their dependencies.
See every vulnerability recorded for slamet-poke6 →
FAQ
slamet-poke6 is an npm package that is part of a malicious campaign aimed at exploiting the npm ecosystem for token rewards.
The package can modify your project's package.json file, remove private flags, and republish itself with altered metadata, potentially compromising your project's integrity.
You should uninstall slamet-poke6 immediately using the command 'npm uninstall slamet-poke6' and check your package-lock.json for any remaining references.
Yes, tools like Vulert can monitor your project for open-source vulnerabilities using just your package-lock.json file, alerting you in real-time.
You can use the Vulert playground at Vulert Scanner to check if your application is affected by this vulnerability without needing to sign up.