# MAL-2026-12054: Malicious code in uibabai (npm)


- **Type:** Malicious package
- **Package:** `uibabai` (npm)
- **Published:** 5 Aug 2026

## What is MAL-2026-12054?

MAL-2026-12054 is a malicious package in uibabai, published on 5 Aug 2026. 

### Official description

index.js has malicious code appended after a legitimate Tailwind plugin export. On any require()/import of the package, the appended block queries the public Ethereum RPC eth.drpc.org for a transaction from the hardcoded address 0xa322e5f3d311d3080e6f0121063e9adc2490ef1a, derives an IPv4 C2 endpoint from the first 4 bytes of the transaction's `to` field, fetches XOR-encrypted payloads over plain HTTP from paths /0x/cls and /0x/ls, and executes the decrypted bytes via `eval` and a spawned `node -e` child process. Identifiers such as `require`, `http`, `https`, `child_process`, `POST`, `application/json`, `base64`, and the `eth_blockNumber`/`eth_getBlockByNumber` RPC method names are hidden behind `\uXXXX` unicode escapes, and server responses are XOR-decoded before execution. The blockchain lookup functions as a dead-drop resolver so the C2 IP can be rotated by publishing a new Ethereum transaction without modifying the package.

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

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-12054 is a malicious package: uibabai (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-12054/ (Markdown: https://insights.sbomify.com/MAL-2026-12054/index.md)
```

## Sources

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

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