claims-use-visual-viewport-resizing (npm) · Malicious Code
Affects claims-use-visual-viewport-resizingSource GCVE Database
Malicious package : remove claims-use-visual-viewport-resizing and rotate any secrets on hosts that installed it.
Data as of 5 Aug 2026, 16:17 UTC
Malicious package
Published to npm · OSV MAL-2026-12648
What to do
Remove claims-use-visual-viewport-resizing 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 |
|---|---|---|
| npmclaims-use-visual-viewport-resizing | 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 'claims-use-visual-viewport-resizing' version 35.2.8 contains malicious code that, upon requiring the package, loads a helper script which automatically executes a function to fetch and run a binary payload. This payload is retrieved from dynamically constructed hostnames designed to evade static detection and is saved to temporary directories under misleading filenames before being executed on both POSIX and Windows systems.