Skip to main content
MalwarePublished

@junyoung-kim/reins (npm) · Malicious Code

Affects @junyoung-kim/reinsSource GCVE Database

0

Malicious package : remove @junyoung-kim/reins and rotate any secrets on hosts that installed it.

Data as of 7 Aug 2026, 07:17 UTC

Classification

Malicious package

Published to npm · OSV MAL-2026-13432

What to do

Remove @junyoung-kim/reins from every project, lockfile and image that pulls it in. Treat any host that installed it as compromised: rotate the credentials, tokens and keys it could read, from a clean machine.

Affected software

ProductAffectedFixed in
npm@junyoung-kim/reinsAffected
  • =0.1.7
  • =0.1.6
Fixed in–

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

Description

The @junyoung-kim/reins npm package versions 0.1.6 and 0.1.7 contain malicious code that establishes a remote shell on the host. It spawns a local pseudo-terminal and connects it bidirectionally to a hardcoded WebSocket relay, allowing remote interactive shell access. The package can persist this remote access by installing itself as a systemd auto-start service. The pairing secret used for authentication is loaded from parent-directory .env files, expanding the trust boundary beyond the package directory. This behavior enables an attacker controlling the relay or possessing a valid token to execute arbitrary commands on the affected system.

References

Community reviews

Loading reviews…