Malicious Code Injection in slamet-poke87: A Threat to npm Users
Summary
MAL-2025-166109: Malicious code in slamet-poke87 (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-poke87 is an npm package that has been identified as part of a malicious campaign targeting the npm registry. This package is associated with the tea.xyz token reward initiative, which aims to inflate developer reputation scores through the automatic generation and publication of derivative packages. The malicious nature of slamet-poke87 lies in its ability to modify package metadata and republish variants, leading to potential security risks for users and developers relying on npm packages.
Vulnerability Detail
The vulnerability in slamet-poke87 originates from its design to execute autopublish scripts that alter the package.json file. This includes removing private flags, changing version numbers, and generating random package names, which can lead to the pollution of the npm registry. The ramifications of this vulnerability include compromised package integrity, potential exposure to malicious code, and a degraded trust in the npm ecosystem. The technical aspects involve the manipulation of package metadata and the continuous republishing of variants, which can overwhelm the registry and obscure legitimate packages.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall slamet-poke87
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 prevent the installation of slamet-poke87 by using npm's package-lock.json file to lock your dependencies to known safe versions. If slamet-poke87 is already installed, remove it and avoid using any packages that depend on it.
Conclusion
The slamet-poke87 package poses a significant threat to npm users due to its malicious code that modifies package metadata and republish variants. It is essential to remove this package and monitor your dependencies for vulnerabilities to maintain the integrity and security of your projects.
See every vulnerability recorded for slamet-poke87 →
FAQ
slamet-poke87 is an npm package identified as part of a malicious campaign that modifies package metadata and republish variants to inflate developer reputation scores.
The vulnerability can compromise the integrity of your project by introducing malicious code and polluting the npm registry, which may lead to security risks.
You should uninstall slamet-poke87 immediately using 'npm uninstall slamet-poke87' and check your other dependencies for any related vulnerabilities.
You can use tools like Vulert, which monitors your package-lock.json file to alert you in real-time for open-source vulnerabilities in your software.
Yes, you can use the Vulert playground at Vulert Scanner to check if your application is affected by this vulnerability without requiring any signup.