Malicious Code Injection in siregar-poke7: A Threat to npm Ecosystem
Summary
MAL-2025-165991: Malicious code in siregar-poke7 (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
siregar-poke7 is an npm package that appears to be part of a broader campaign aimed at exploiting the npm registry. This package is designed to facilitate token reward schemes, but it has been found to contain malicious code that compromises its integrity. The package's functionality is overshadowed by its vulnerability, which allows it to manipulate package metadata and proliferate harmful variants.
Vulnerability Detail
The vulnerability in siregar-poke7 originates from its association with the tea.xyz token reward campaign, which has led to the creation of numerous malicious npm packages. These packages include scripts that automatically generate and publish derivative packages with altered names and metadata. The malicious payload modifies the package.json file to remove private flags, changes version numbers, and generates random names, leading to pollution of the npm registry and potential reputational damage for developers.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall siregar-poke7
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 avoid using the siregar-poke7 package and monitor your dependencies for any malicious activity. Additionally, consider using tools like Vulert to keep track of vulnerabilities in your project. You can check if your application is affected by visiting the Vulert playground at https://vulert.com/scanner.
Conclusion
The siregar-poke7 package poses a significant risk due to its malicious code that alters package metadata and proliferates harmful variants. It is crucial for developers to remove this package and monitor their dependencies for vulnerabilities. Utilizing tools like Vulert can aid in maintaining the security of your projects.
See every vulnerability recorded for siregar-poke7 →
FAQ
siregar-poke7 is an npm package associated with a token reward campaign that has been found to contain malicious code.
The vulnerability can lead to the modification of your package.json file, potentially compromising your project's integrity and reputation.
You should remove the siregar-poke7 package from your project and monitor for any updates or patches.
You can use tools like Vulert, which monitors your package-lock.json for vulnerabilities in real-time without requiring code access.
Yes, you can use the Vulert playground at Vulert Scanner to check if your application is affected without needing to sign up.