Malicious Code Injection in slamet-poke37: A Threat to npm Ecosystem
Summary
MAL-2025-166052: Malicious code in slamet-poke37 (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-poke37 is an npm package that is part of the tea.xyz token reward campaign. This package is designed to interact with the npm registry, allowing developers to publish and manage packages. However, it has been identified as containing malicious code that can compromise the integrity of the npm ecosystem by generating and publishing derivative packages with randomized names.
Vulnerability Detail
The vulnerability in slamet-poke37 originates from its inclusion in a malicious campaign aimed at inflating developer reputation scores for token rewards. The package contains scripts that modify package.json files to remove private flags, alter version numbers, and generate random package names. This behavior leads to the continuous republishing of variants, polluting the npm registry and potentially affecting other developers and projects relying on npm packages.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall slamet-poke37
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 workaround, avoid using slamet-poke37 and monitor your package dependencies for any instances of this malicious package. Regularly audit your npm packages using 'npm audit' to identify and address vulnerabilities.
Conclusion
The slamet-poke37 package poses a significant threat to the npm ecosystem due to its malicious behavior. It is crucial for developers to be vigilant and remove any instances of this package from their projects. Regular audits and the use of monitoring tools like Vulert can help maintain the integrity of your software dependencies.
See every vulnerability recorded for slamet-poke37 →
FAQ
slamet-poke37 is an npm package that has been identified as part of a malicious campaign to inflate developer reputation scores.
The vulnerability can lead to the pollution of the npm registry with malicious packages, potentially affecting the integrity of your project's dependencies.
You should uninstall slamet-poke37 immediately using the command 'npm uninstall slamet-poke37' and audit your project for any other vulnerabilities.
Yes, you can use tools like Vulert, which monitors and alerts for open-source vulnerabilities in real-time using just your package-lock.json file.
You can use the Vulert playground at Vulert Scanner to check if your application is affected by this vulnerability without requiring any signup.