# MAL-2026-13432: Malicious code in @junyoung-kim/reins (npm)


- **Type:** Malicious package
- **Package:** `@junyoung-kim/reins` (npm)
- **Published:** 6 Aug 2026

## What is MAL-2026-13432?

MAL-2026-13432 is a malicious package in @junyoung-kim/reins, published on 6 Aug 2026. 

### Official description

The `reins` CLI spawns a local pseudo-terminal via node-pty (default `/bin/bash` or `cmd.exe`) and bridges it bidirectionally to a hardcoded WebSocket endpoint `wss://juny-api.kr/relay`, with pairing coordinated through `https://arv.juny-api.kr`. Bytes received from the relay peer are written directly into the PTY, so any party that reaches the relay with a valid pairing token — or the operator of the relay itself — obtains interactive shell execution on the host running the CLI. The pairing secret is loaded from parent-directory `.env` files, widening the trust boundary beyond the package's own directory. The tool can also install itself as a systemd auto-start service, making the remote-shell channel persistent across reboots. Static analysis additionally flagged PATH modifications in `dist/cli.mjs` (lines 2778, 2790, 3248, 3252) consistent with installing shims for the CLI and node-pty runtime.

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

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-13432 is a malicious package: @junyoung-kim/reins (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-13432/ (Markdown: https://insights.sbomify.com/MAL-2026-13432/index.md)
```

## Sources

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

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