clients-structure (npm) · Malicious Code
Affects clients-structureSource GCVE Database
Malicious package : remove clients-structure and rotate any secrets on hosts that installed it.
Data as of 5 Aug 2026, 16:18 UTC
Malicious package
Published to npm · OSV MAL-2026-12649
What to do
Remove clients-structure 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 |
|---|---|---|
| npmclients-structure | 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 'clients-structure' version 35.9.8 contains malicious code that, upon require(), loads a platform-specific script which fetches and executes a binary payload from anonymous Cloudflare Workers subdomains and fallback DNS-TXT records. The payload is reconstructed from base64 chunks, saved to a temporary path with executable permissions, and executed without any hash or signature verification. The malicious activity uses runtime-assembled hostnames and employs a TTL marker and environment variable facade as a cover story. This behavior indicates a supply chain compromise with arbitrary code execution risk.