Skip to main content
MalwarePublished Updated

discordnv (PyPI) · Malicious Code

Affects discordnvSource GCVE Database

0

Malicious package : remove discordnv and rotate any secrets on hosts that installed it.

Data as of 10 Sep 2026, 08:08 UTC

Classification

Malicious package

Published to PyPI · OSV MAL-2026-11050

What to do

Remove discordnv 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
PyPIdiscordnvAffected
  • =0.8.0
Fixed in–

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

Description

The PyPI package 'discordnv' version 0.8.0 contains malicious code that, upon import, executes a function which hides the console window and stealthily harvests Discord authentication tokens and Roblox cookies from the victim's machine. It exfiltrates these credentials to a hardcoded Discord webhook and a Google Apps Script endpoint. The package also establishes persistence by adding itself to the Windows startup registry key to run on every user login. Its advertised functionality as a Roblox DataStore helper is a facade unrelated to its actual malicious behavior.

References

Community reviews

Loading reviews…