Malicious Code Injection in iqbal-poke6: A Threat to npm Users
Summary
MAL-2025-156868: Malicious code in iqbal-poke6 (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
iqbal-poke6 is an npm package that is part of the tea.xyz token reward campaign. This package is designed to facilitate the generation and publication of derivative packages, often with randomized names, to inflate developer reputation scores for token rewards. However, it has been compromised to include malicious scripts that can alter package configurations and publish harmful variants.
Vulnerability Detail
The vulnerability in iqbal-poke6 originates from its association with a malicious campaign that floods the npm registry with derivative packages. The malicious payload modifies the package.json file by removing private flags, changing version numbers, and generating random package names. This can lead to the pollution of the npm registry and potential exploitation of developers who unknowingly use these compromised packages.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall iqbal-poke6
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 iqbal-poke6 package until a secure version is released. Additionally, consider using alternative packages that provide similar functionality without the associated risks.
Conclusion
The iqbal-poke6 package has been identified as containing malicious code that can compromise npm projects. It is crucial for developers to update their packages and monitor for vulnerabilities to ensure the security of their applications.
See every vulnerability recorded for iqbal-poke6 →
FAQ
iqbal-poke6 is an npm package involved in a token reward campaign that has been compromised to include malicious code.
The vulnerability can lead to the modification of your package.json file, potentially exposing your project to further risks and pollution of the npm registry.
You should update the package to the latest version or remove it from your project to mitigate the risks associated with this vulnerability.
You can use Vulert, which monitors and alerts for open-source vulnerabilities in your software using just package-lock.json. You can check your application for vulnerabilities without any signup at the Vulert playground.
Regularly updating your packages, using trusted sources, and employing tools like Vulert can help you stay informed about vulnerabilities and protect your projects.