Malicious Code Injection in slamet-poke1: A Threat to npm Ecosystem
Summary
MAL-2025-166001: Malicious code in slamet-poke1 (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-poke1 is an npm package that has been identified as part of a malicious campaign targeting the npm ecosystem. This package is associated with the tea.xyz token reward scheme, which aims to inflate developer reputation scores through the automatic generation and publication of derivative packages. The malicious nature of slamet-poke1 lies in its ability to modify essential files and publish harmful variants, thereby compromising the integrity of the npm registry.
Vulnerability Detail
The vulnerability in slamet-poke1 originates from its design to include autopublish scripts that remove private flags from package.json, alter version numbers, and generate random package names. This behavior leads to the continuous republishing of these malicious variants, which can pollute the npm registry and potentially expose users to further security risks. The ramifications include loss of trust in the npm ecosystem, potential data breaches, and the risk of executing malicious code unknowingly.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall slamet-poke1
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-poke1 and any other packages associated with the tea.xyz token reward campaign. Regularly audit your dependencies using tools like npm audit to identify and mitigate potential vulnerabilities.
Conclusion
The slamet-poke1 package poses a significant threat to the npm ecosystem due to its malicious behavior. It is essential for developers to be vigilant, regularly audit their dependencies, and take immediate action to remove any affected packages to maintain the security of their projects.
See every vulnerability recorded for slamet-poke1 →
FAQ
slamet-poke1 is an npm package linked to a malicious campaign that aims to inflate developer reputation scores through the automatic generation of harmful packages.
The package modifies critical files and can republish malicious variants, potentially compromising your project's security and the integrity of the npm registry.
You should uninstall slamet-poke1 immediately using the command 'npm uninstall slamet-poke1' and check for any other affected packages.
You can use tools like npm audit or services like Vulert, which monitors your package-lock.json for vulnerabilities in real-time without requiring code access.
Yes, you can use the Vulert playground at Vulert Scanner to check if your application is affected by this vulnerability without any signup.