Malicious Code Injection in inal-poke87: A Threat to npm Ecosystem
Summary
MAL-2025-156478: Malicious code in inal-poke87 (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-poke87' is part of the npm ecosystem, which is widely used for JavaScript package management. This package is associated with the tea.xyz token reward campaign, which has been known to flood the npm registry with malicious packages. These packages often contain scripts designed to manipulate package metadata and inflate developer reputation scores, posing a significant risk to developers and users relying on npm for secure package management.
Vulnerability Detail
The vulnerability in 'inal-poke87' stems from its malicious code that modifies the package.json file to remove private flags and alters version numbers. It generates random package names, primarily themed around Indonesian culture, and continuously republishes these variants to pollute the npm registry. This behavior can lead to a compromised development environment, where developers may unknowingly use malicious packages, potentially leading to data breaches or system vulnerabilities.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall inal-poke87
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-poke87' package and consider using alternative packages that provide similar functionality without the associated risks. Always verify the integrity and source of packages before installation.
Conclusion
The 'inal-poke87' package poses a significant threat due to its malicious code that alters package metadata and floods the npm registry. It is essential for developers to be vigilant about the packages they use, regularly update their dependencies, and utilize tools like Vulert to monitor for vulnerabilities. By taking these precautions, developers can safeguard their projects from potential threats.
See every vulnerability recorded for inal-poke87 →
FAQ
The inal-poke87 package contains malicious code that modifies package metadata and floods the npm registry with harmful variants.
You can use Vulert's playground at Vulert Scanner to check if your application is affected by this vulnerability without needing to sign up.
If you have installed inal-poke87, you should uninstall it immediately using 'npm uninstall inal-poke87' and review your project's dependencies for any other potentially harmful packages.
Yes, consider using well-established and trusted packages that offer similar functionality without the risks associated with malicious packages.
Regularly audit your project's dependencies, use tools like Vulert for monitoring vulnerabilities, and ensure that you only install packages from reputable sources.