# MAL-2026-18127: Malicious code in @sudobility/indexer_client (npm)


- **Type:** Malicious package
- **Package:** `@sudobility/indexer_client` (npm)
- **Published:** 21 Oct 2026
- **Also known as:** GHSA-xfvr-39v2-q24q

## What is MAL-2026-18127?

MAL-2026-18127 is a malicious package in @sudobility/indexer_client, published on 21 Oct 2026. 

### Official description

The package's postinstall hook executes scripts/miner.sh, which uses curl to download a gzipped payload from https://amplify-gursha-dev-121835-deployment.s3.amazonaws.com/ (a presigned S3 URL embedding AWSAccessKeyId <redacted>), decompresses it to /tmp/.smi, and runs it. When executed as root or when passwordless sudo is available, it invokes `/tmp/.smi agent` with elevated privileges to perform a persistent agent install (the script's own comments reference stealth renames, cron, and tor/relay components). In the unprivileged branch it extracts an embedded XMRig binary, writes a hardcoded Monero pool configuration to $HOME/.sysmond.json, copies the binary into $HOME/.local/lib/ under a randomized system-component name drawn from a list including edid-mon, smmon, irqstatsd, and kmod-cache, and launches it via nohup in the background. A second attacker-controlled endpoint networkservicesupp.flashhub.net:8443 is referenced for relay/C2. The S3 URL also exposes a third-party AWS access key as an IOC.

Any computer that has this package installed or running should be considered fully compromised. All secrets and keys stored on that computer should be rotated immediately from a different computer. The package should be removed, but as full control of the computer may have been given to an outside entity, there is no guarantee that removing the package will remove all malicious software resulting from installing it.

## What should I do about MAL-2026-18127?

Remove the package from your dependencies and lockfiles, then rotate any secrets on machines where it was installed.

## Fix prompt for AI coding agents

```text
MAL-2026-18127 is a malicious package: @sudobility/indexer_client (npm). Every version was published to cause harm.

Task:
1. Search this repository's dependency manifests and lockfiles for the package, including transitive dependencies.
2. If it is present, remove it, regenerate the lockfile with the project's package manager, and replace whatever it was used for.
3. List any CI runners, developer machines or containers that installed it, so their secrets can be rotated.
4. If the package is not used anywhere, say so and change nothing.

Reference: https://insights.sbomify.com/MAL-2026-18127/ (Markdown: https://insights.sbomify.com/MAL-2026-18127/index.md)
```

## Sources

- OSV: https://osv.dev/vulnerability/MAL-2026-18127

---
From sbomify Insights: https://insights.sbomify.com/MAL-2026-18127/
Summaries are generated and may contain mistakes; the official description above is the record.
