# MAL-2026-10626: Malicious code in @react-case/option (npm)


- **Type:** Malicious package
- **Package:** `@react-case/option` (npm)
- **Published:** 15 Jul 2026

## What is MAL-2026-10626?

MAL-2026-10626 is a malicious package in @react-case/option, published on 15 Jul 2026. 

### Official description

The package's main entrypoint (index.js) is heavily obfuscated with a string-array + RC4-style decoder that reconstructs all API names and the target URL at runtime. On module load it requires fs, os, path, crypto, and child_process, performs an HTTP GET against the runtime-reconstructed remote host, splits the response on ':', decrypts the parts with createDecipheriv using a hardcoded key/IV, writes the resulting bytes to a file under os.homedir(), and executes that file via child_process with cwd set to the user's home directory and windowsHide:true. The package ships no README, has an empty description and empty author metadata, and there is no legitimate library functionality — the only effect of requiring it is fetch-decrypt-write-exec of attacker-controlled code on the installer's machine.

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

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-10626 is a malicious package: @react-case/option (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-10626/ (Markdown: https://insights.sbomify.com/MAL-2026-10626/index.md)
```

## Sources

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

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