Malicious Code Injection in slamet-poke47: A Threat to npm Users
Summary
MAL-2025-166063: Malicious code in slamet-poke47 (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-poke47 is an npm package that appears to be part of a larger scheme involving the tea.xyz token reward campaign. This campaign has been known to flood the npm registry with packages that contain malicious scripts. The primary function of slamet-poke47 is to act as a derivative package that can inflate developer reputation scores for token rewards, but it has been compromised to include harmful code.
Vulnerability Detail
The vulnerability in slamet-poke47 originates from its design to automatically generate and publish derivative packages with randomized names. This is achieved through malicious scripts that modify the package.json file by removing private flags, altering version numbers, and creating random package names. The continuous republishing of these variants leads to pollution of the npm registry, potentially affecting developers who rely on the integrity of npm packages.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall slamet-poke47
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 measure, you can avoid using slamet-poke47 and any other packages associated with the tea.xyz token reward campaign. Regularly audit your package dependencies using tools like npm audit to identify and mitigate risks.
Conclusion
The slamet-poke47 package poses a significant risk due to its malicious code designed to manipulate the npm registry. It is crucial for developers to remove this package from their projects and stay vigilant about the integrity of their dependencies. Utilizing tools like Vulert can aid in monitoring for such vulnerabilities effectively.
See every vulnerability recorded for slamet-poke47 →
FAQ
slamet-poke47 is an npm package that has been identified as part of a malicious campaign to inflate developer reputation scores through the creation of derivative packages.
The vulnerability can lead to the pollution of the npm registry, potentially introducing harmful code into your project and compromising its security.
You should uninstall slamet-poke47 immediately using 'npm uninstall slamet-poke47' and check for any other affected packages.
You can use tools like Vulert, which monitors and alerts in real-time for open-source vulnerabilities using just your package-lock.json file. You can also check your application for vulnerabilities using the Vulert playground without any signup.
Yes, tools like npm audit and Vulert can help identify and alert you to malicious packages in your project dependencies.