Malicious Code Injection in inal-poke30: A Threat to npm Ecosystem
Summary
MAL-2025-156416: Malicious code in inal-poke30 (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-poke30' is part of the npm ecosystem, which is widely used for JavaScript package management. This package has been identified as part of a malicious campaign that aims to exploit the npm registry by flooding it with derivative packages. The malicious nature of this package is tied to its functionality, which includes the automatic generation and publication of numerous variants to inflate developer reputation scores for token rewards.
Vulnerability Detail
The vulnerability in 'inal-poke30' stems from its malicious code that modifies the package.json file to remove private flags, alters version numbers, and generates random package names. This behavior is designed to pollute the npm registry and can lead to significant security risks, including the potential for unauthorized access to sensitive data and the compromise of other packages relying on this ecosystem. The origin of this vulnerability is linked to the tea.xyz token reward campaign, which employs autopublish scripts to automate the malicious activities.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall inal-poke30
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-poke30' package and monitor your project for any dependencies that may have indirectly included it. Regularly audit your package-lock.json file to ensure no malicious packages are present.
Conclusion
The 'inal-poke30' package poses a significant threat to the npm ecosystem due to its malicious code designed to manipulate package data and flood the registry. It is essential to take immediate action by removing the package and employing monitoring tools to safeguard your projects from similar vulnerabilities.
See every vulnerability recorded for inal-poke30 →
FAQ
The malicious code can lead to unauthorized modifications of your project, potentially compromising sensitive data and affecting the integrity of your application.
You can use Vulert, which monitors and alerts for open-source vulnerabilities in real-time. By using the Vulert playground, you can check if your application is affected without any signup.
Immediately uninstall the package using 'npm uninstall inal-poke30' and review your project for any other potentially compromised packages.
Yes, tools like Vulert can help monitor your dependencies and alert you to any vulnerabilities, including those from malicious packages.
Regularly audit your dependencies, keep your packages updated, and utilize tools like Vulert to monitor for vulnerabilities in real-time.