Malicious Code Injection in slamet-poke25: A Threat to npm Ecosystem
Summary
MAL-2025-166039: Malicious code in slamet-poke25 (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-poke25 is an npm package that appears to be part of a broader malicious campaign targeting the npm registry. This package is designed to manipulate developer reputation scores through the automatic generation and publication of derivative packages. It modifies essential files and continuously republishes variants, leading to pollution of the npm registry.
Vulnerability Detail
The vulnerability in slamet-poke25 originates from its inclusion in a malicious campaign associated with the tea.xyz token reward initiative. The package contains scripts that automatically alter the package.json file by removing private flags and changing version numbers. It generates random package names, primarily themed around Indonesian culture, and repackages them to inflate developer reputation scores. This behavior not only compromises the integrity of the npm registry but also poses a risk to developers who may unknowingly use these tainted packages.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall slamet-poke25
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-poke25 by using npm's package-lock.json file to lock your dependencies. Ensure that your project does not include slamet-poke25 in its dependencies or devDependencies sections.
Conclusion
The slamet-poke25 package poses a significant threat to the npm ecosystem due to its malicious behavior aimed at manipulating developer reputation scores. It is crucial for developers to remove this package and monitor their projects for vulnerabilities to maintain the integrity of their applications.
See every vulnerability recorded for slamet-poke25 →
FAQ
slamet-poke25 is an npm package that has been identified as part of a malicious campaign aimed at manipulating developer reputation scores.
The vulnerability can lead to the pollution of the npm registry and may compromise the integrity of your project's dependencies.
You should remove slamet-poke25 from your project immediately and check for any other affected packages.
You can use Vulert, which monitors and alerts for open-source vulnerabilities in real-time using just your package-lock.json file. You can check your application for vulnerabilities without any signup at the Vulert playground.
Regularly audit your dependencies, use tools like Vulert for monitoring, and stay informed about the latest security advisories related to your packages.