# MAL-2026-15687: Malicious code in @yuva2210/okx-poc-rce-impact (npm)


- **Type:** Malicious package
- **Package:** `@yuva2210/okx-poc-rce-impact` (npm)
- **Published:** 24 Aug 2026

## What is MAL-2026-15687?

MAL-2026-15687 is a malicious package in @yuva2210/okx-poc-rce-impact, published on 24 Aug 2026. 

### Official description

@yuva2210/okx-poc-rce-impact@2.0.0 is a dependency-confusion proof-of-concept targeting OKX's internal namespace. The package's `package.json` declares a `preinstall` script that runs on `npm install` and executes `child_process.execSync` calls for `whoami`, `hostname`, `pwd`, and `id`, collecting installer host and user identifiers and writing them to `/tmp/okx-poc-rce-proof.json`. The package has no other functional content — `index.js` is empty — so the tarball's only effect on installation is to execute the reconnaissance payload on the installer's machine. Any developer or build system that inadvertently resolves an OKX-internal name to this public package runs arbitrary code at install time. The self-labeled 'harmless PoC' framing does not change the mechanism: unsolicited command execution and host-identifier collection fire automatically on `npm install`.

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

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-15687 is a malicious package: @yuva2210/okx-poc-rce-impact (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-15687/ (Markdown: https://insights.sbomify.com/MAL-2026-15687/index.md)
```

## Sources

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

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