Malicious Code Injection in inal-poke46: A Threat to npm Ecosystem
Summary
MAL-2025-156433: Malicious code in inal-poke46 (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-poke46' is part of the npm ecosystem and is associated with the tea.xyz token reward campaign. This package is designed to automate the generation and publication of derivative packages, which can lead to inflated developer reputation scores. However, its malicious nature poses significant risks to users and the integrity of the npm registry.
Vulnerability Detail
The vulnerability in 'inal-poke46' originates from its design to include malicious scripts that modify the package.json file. These scripts remove private flags, alter version numbers, and create random package names, which are then continuously republished. This behavior not only pollutes the npm registry but also compromises the security of applications relying on this package, potentially leading to unauthorized access or data breaches.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall inal-poke46
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, avoid using the 'inal-poke46' package and monitor your project for any dependencies that may inadvertently include it. You can also use tools like Vulert to scan your package-lock.json for vulnerabilities.
Conclusion
The 'inal-poke46' package presents a significant security threat due to its malicious code that alters package metadata and floods the npm registry. Users are advised to uninstall the package and monitor their projects for vulnerabilities using tools like Vulert. Staying informed and proactive is essential to maintaining the security of your applications.
See every vulnerability recorded for inal-poke46 →
FAQ
The inal-poke46 package contains malicious code that modifies package.json files and republish variants to the npm registry, compromising security.
You can use Vulert to monitor your package-lock.json for vulnerabilities. Visit the Vulert playground at Vulert Scanner to check for affected packages.
Immediately uninstall the package using 'npm uninstall inal-poke46' and check for any dependencies that may rely on it.
While specific exploits have not been detailed, the malicious behavior of the package poses a risk of unauthorized access and data breaches.
Currently, there is no patched version available. It is recommended to remove the package and monitor for updates.