Skip to main content
MalwarePublished

ref-slot (npm) · Malicious Code

Affects ref-slotSource GCVE Database

0

Malicious package : remove ref-slot and rotate any secrets on hosts that installed it.

Data as of 26 Jun 2026, 22:35 UTC

Classification

Malicious package

Published to npm · OSV MAL-2026-6474

What to do

Remove ref-slot 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
npmref-slotAffected
  • =1.0.9
Fixed in–

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

Description

The npm package 'ref-slot' version 1.0.9 contains malicious code executed during installation. It harvests sensitive files from the user's system, uploads them to an attacker-controlled server, installs a persistent SSH backdoor on Linux systems with passwordless sudo, and dynamically updates its targeting patterns from a remote server. Systems with this package installed should be considered fully compromised, and all secrets should be rotated immediately.

References

Community reviews

Loading reviews…