Malicious Code Injection in inal-poke31: A Threat to npm Ecosystem
Summary
MAL-2025-156417: Malicious code in inal-poke31 (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
The package 'inal-poke31' is part of the npm ecosystem, which is widely used for JavaScript package management. It is intended to facilitate the development and sharing of code among developers. However, this package has been identified as part of a malicious campaign that aims to exploit the npm registry by flooding it with derivative packages. These packages are designed to inflate developer reputation scores through automated scripts, compromising the integrity of the npm ecosystem.
Vulnerability Detail
The vulnerability in 'inal-poke31' originates from its association with the tea.xyz token reward campaign. This package contains malicious scripts that modify the package.json file by removing private flags, altering version numbers, and generating random package names. The scripts continuously republish these variants, polluting the npm registry and potentially leading to security risks for developers who unknowingly use these compromised packages. The malicious behavior can lead to unauthorized access, data breaches, and a loss 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 inal-poke31
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 the 'inal-poke31' package and any other packages associated with the tea.xyz campaign. Instead, look for alternative packages that provide similar functionality without the associated risks.
Conclusion
The 'inal-poke31' package poses a significant threat to the npm ecosystem due to its malicious code that modifies package files and republish variants. It is essential for developers to be vigilant and remove any affected packages from their projects. Utilizing tools like Vulert can help in monitoring and managing vulnerabilities effectively.
See every vulnerability recorded for inal-poke31 →
FAQ
The 'inal-poke31' package is an npm package that has been identified as part of a malicious campaign aimed at exploiting the npm ecosystem.
The vulnerability can lead to unauthorized modifications in your project's dependencies, potentially compromising security and integrity.
You should uninstall the package immediately using 'npm uninstall inal-poke31' and check your project for any unauthorized changes.
You can use tools like Vulert, which monitors your package-lock.json file for open-source vulnerabilities in real-time without requiring code access or installation.
Yes, you can use the Vulert playground at Vulert Scanner to check if your application is affected by this vulnerability without any signup.