Skip to main content
MalwarePublished

secretkey-2fa (npm) · Malicious Code

Affects secretkey-2faSource GCVE Database

0

Malicious package : remove secretkey-2fa and rotate any secrets on hosts that installed it.

Data as of 10 Sep 2026, 19:17 UTC

Classification

Malicious package

Published to npm · OSV MAL-2026-14485

What to do

Remove secretkey-2fa 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
npmsecretkey-2faAffected
  • =1.0.0
  • =1.0.1
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 secretkey-2fa (versions 1.0.0 and 1.0.1) contains malicious code that executes during installation and usage. It steals Minecraft launcher credentials, Discord tokens, and Chromium-based browser tokens by decrypting stored credentials and exfiltrates them to an attacker-controlled webhook. Additionally, it installs a malicious Minecraft mod JAR to persist the payload on subsequent game launches.

References

Community reviews

Loading reviews…