Malicious Code Injection in inal-poke4: A Threat to npm Ecosystem
Summary
MAL-2025-156426: Malicious code in inal-poke4 (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-poke4' is part of the npm ecosystem, which is widely used for JavaScript package management. It is designed 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 manipulate the npm registry by generating and publishing numerous derivative packages with altered metadata. This behavior not only affects the integrity of the npm ecosystem but also poses a risk to developers who may unknowingly use these compromised packages.
Vulnerability Detail
The vulnerability in 'inal-poke4' stems from its association with a malicious campaign that modifies the package.json file to remove private flags and change version numbers. It generates random package names, primarily themed around Indonesian culture, and continuously republishes these variants to pollute the npm registry. This can lead to developers inadvertently using compromised packages, which may contain harmful code or lead to security breaches in their applications.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall inal-poke4
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, avoid using the 'inal-poke4' package and consider using alternative packages that provide similar functionality without the associated risks. Regularly audit your dependencies to ensure they are secure.
Conclusion
The 'inal-poke4' package poses a significant risk due to its malicious behavior of modifying package metadata and republishing compromised versions. It is crucial for developers to remove this package and monitor their dependencies for vulnerabilities to maintain the integrity of their applications.
See every vulnerability recorded for inal-poke4 →
FAQ
'inal-poke4' is an npm package that has been identified as part of a malicious campaign to manipulate the npm registry.
You can use tools like Vulert to monitor your project for vulnerabilities. Vulert analyzes your package-lock.json file to identify any affected packages.
You should uninstall the package immediately using the command 'npm uninstall inal-poke4' and check for any other affected packages.
Yes, consider using other npm packages that provide similar functionality without the associated risks. Always check the package's reputation and reviews.
Regularly audit your dependencies, keep your packages updated, and use tools like Vulert to monitor for vulnerabilities in real-time.