Malicious Code Injection in slamet-poke77: A Threat to npm Ecosystem
Summary
MAL-2025-166098: Malicious code in slamet-poke77 (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-poke77 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-poke77 lies in its ability to modify package metadata and continuously republish variants, thereby polluting the npm registry.
Vulnerability Detail
The vulnerability in slamet-poke77 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 significant pollution of the npm registry. The ramifications of this vulnerability include compromised package integrity, potential security risks for users who install these packages, and a general degradation of trust in the npm ecosystem.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall slamet-poke77
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-poke77 and any packages that may have been derived from it. Regularly audit your package-lock.json file to identify and remove any suspicious packages.
Conclusion
The slamet-poke77 package poses a significant threat to the npm ecosystem due to its malicious code that alters package metadata and repopulates the registry with harmful variants. It is crucial for developers to remain vigilant, regularly audit their dependencies, and utilize tools like Vulert to monitor for vulnerabilities.
See every vulnerability recorded for slamet-poke77 →
FAQ
slamet-poke77 is an npm package identified as part of a malicious campaign to inflate developer reputation scores through the automatic generation of derivative packages.
The vulnerability can lead to the installation of malicious packages, compromising the integrity of your project and potentially introducing security risks.
You should uninstall slamet-poke77 immediately using the command 'npm uninstall slamet-poke77' and audit your dependencies for any other malicious packages.
You can use tools like Vulert, which monitors and alerts for open-source vulnerabilities in your software by analyzing the package-lock.json file.
Yes, you can use the Vulert playground at Vulert Scanner to check if your application is affected by this vulnerability without requiring any signup.