webswing-directdraw-javascript (npm) · Malicious Code
Affects webswing-directdraw-javascriptSource GCVE Database
Malicious package : remove webswing-directdraw-javascript and rotate any secrets on hosts that installed it.
Data as of 30 Oct 2026, 00:03 UTC
Malicious package
Published to npm · OSV MAL-2025-49309
What to do
Remove webswing-directdraw-javascript 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
| Product | Affected | Fixed in |
|---|---|---|
| npmwebswing-directdraw-javascript | Affected
| 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 'webswing-directdraw-javascript' versions 1.0.1 and 1.0.2 contain malicious code. The package communicates with a domain linked to malicious activity and executes commands associated with malicious behavior. This makes the package a security risk for users who install or use it.