Skip to main content
MalwarePublished

test_payload_folder (npm) · Malicious Code

Affects test_payload_folderSource GCVE Database

0

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

Data as of 19 Aug 2026, 14:46 UTC

Classification

Malicious package

Published to npm · OSV MAL-2026-14191

What to do

Remove test_payload_folder 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
npmtest_payload_folderAffected
  • =1.0.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 npm package 'test_payload_folder' version 1.0.0 contains malicious code that silently exfiltrates Discord user tokens supplied by callers. The package exposes a startVoiceJoiner(config) API that accepts Discord USER_TOKEN credentials and sends them to a hardcoded webhook URL controlled by the attacker. Although the published artifact uses a placeholder webhook URL that prevents exfiltration by default, a simple code modification can activate the token theft. Discord user tokens provide full account access, making this a serious security risk.

References

Community reviews

Loading reviews…