Malicious Code Injection in slamet-poke61: A Threat to npm Ecosystem
Summary
MAL-2025-166081: Malicious code in slamet-poke61 (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-poke61 is an npm package that appears to be part of a broader campaign aimed at exploiting the npm registry. It is associated with the tea.xyz token reward initiative, which has been known to flood the npm ecosystem with malicious packages. These packages often contain scripts designed to manipulate package metadata and inflate developer reputation scores for token rewards.
Vulnerability Detail
The vulnerability in slamet-poke61 stems from its malicious code that modifies the package.json file. This code removes private flags, alters version numbers, and generates random package names, which are then republished to the npm registry. This behavior not only compromises the integrity of the affected package but also pollutes the npm ecosystem, potentially affecting other developers and their projects.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall slamet-poke61
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-poke61 by using npm's package-lock.json file to monitor dependencies. If you are using Vulert, you can check your application for vulnerabilities without any installation by visiting the Vulert playground at https://vulert.com/scanner.
Conclusion
The slamet-poke61 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 essential for developers to be vigilant and remove such packages from their projects to maintain the integrity of their applications.
See every vulnerability recorded for slamet-poke61 →
FAQ
slamet-poke61 is an npm package that is part of a malicious campaign targeting the npm registry, designed to inflate developer reputation scores.
The vulnerability can compromise your project's integrity by modifying package metadata and republishing malicious variants, potentially affecting other dependencies.
You should uninstall slamet-poke61 immediately using the command npm uninstall slamet-poke61 and check for any dependencies that may be affected.
Yes, you can use Vulert to monitor your project for open-source vulnerabilities in real-time by analyzing your package-lock.json file.
Yes, you can use the Vulert playground at Vulert Scanner to check your application for vulnerabilities without requiring any signup.