Malicious Code Injection in abbishal-poc2 Package
Summary
MAL-2026-17654: Malicious code in abbishal-poc2 (npm). Affects abbishal-poc2 versions 1.2.0. 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 abbishal-poc2 package is an npm package that is intended for use in JavaScript applications. It is designed to provide specific functionalities to developers. However, it has been found to contain malicious code that executes during the installation process, compromising user security and privacy. This vulnerability allows the package to send sensitive information, such as the installer's source IP address, to an external server.
Vulnerability Detail
The vulnerability originates from a preinstall script defined in the package.json file of the abbishal-poc2 package. This script executes a shell script (test.sh) that obfuscates the command to invoke 'curl' and sends the output of the 'uptime' command, along with the installer's IP address, to an external server (abbishal.com). This behavior contradicts the package's README, which claims no network activity. The obfuscation technique used aims to evade detection by static analysis tools, making it a significant security risk.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall abbishal-poc2
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, you can avoid using the abbishal-poc2 package until the vulnerability is addressed. Additionally, consider using a package-lock.json file to lock your dependencies to known safe versions.
Conclusion
The abbishal-poc2 package contains a serious vulnerability that allows malicious code to execute during installation, compromising user security. It is essential to update or remove this package to protect your application from potential threats.
See every vulnerability recorded for abbishal-poc2 →
FAQ
The abbishal-poc2 package is an npm package used in JavaScript applications, but it has been found to contain malicious code.
The vulnerability allows the package to send sensitive information, such as your IP address, to an external server during installation.
If you have installed the abbishal-poc2 package, it is crucial to remove it immediately and update your dependencies to eliminate the risk.
You can use tools like Vulert, which monitors and alerts for open-source vulnerabilities in your software using just the package-lock.json file.
Yes, you can use the Vulert playground at Vulert Scanner to check if your application is affected by this vulnerability without requiring any signup.