Malicious Code Vulnerability in @sudobility/indexer_client Package
Summary
MAL-2026-18127: Malicious code in @sudobility/indexer_client (npm). Affects @sudobility/indexer_client versions 0.0.146. 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 @sudobility/indexer_client package is an npm library designed for indexing operations within applications. It is utilized for its efficiency in managing and processing data. However, this package has been found to contain malicious code that can compromise system security, particularly when executed with elevated privileges.
Vulnerability Detail
The vulnerability originates from the package's postinstall hook, which executes a script (scripts/miner.sh) that downloads and runs a gzipped payload from a presigned S3 URL. This payload can install a persistent agent on the system, potentially leading to unauthorized access and control. The script is designed to operate stealthily, with references to cron jobs and Tor components, indicating a sophisticated approach to maintaining persistence and evading detection. The presence of hardcoded Monero pool configurations further suggests that the malicious code is intended for cryptocurrency mining.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall @sudobility/indexer_client
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 remove the @sudobility/indexer_client package from your project until a secure version is confirmed. Use the following command:
npm uninstall @sudobility/indexer_client
Conclusion
The @sudobility/indexer_client package has a critical vulnerability due to the presence of malicious code that can compromise system security. It is essential to update or remove the package to mitigate risks. Regular monitoring for vulnerabilities using tools like Vulert can help maintain application security.
See every vulnerability recorded for @sudobility/indexer_client →
FAQ
The malicious code is designed to download and execute a payload that installs a persistent agent on the system, potentially allowing unauthorized access.
Check for the presence of the @sudobility/indexer_client package in your project and review any running processes for unusual activity.
Immediately uninstall the package and monitor your system for any signs of compromise.
Yes, you can use Vulert, which monitors and alerts for open-source vulnerabilities in real-time using your package-lock.json file.
Yes, you can use the Vulert playground at Vulert Scanner to check for vulnerabilities without needing to sign up.