cards-forms-debit-clone (npm) · Malicious Code
Affects cards-forms-debit-cloneSource GCVE Database
Malicious package : remove cards-forms-debit-clone and rotate any secrets on hosts that installed it.
Data as of 5 Aug 2026, 15:45 UTC
Malicious package
Published to npm · OSV MAL-2026-12528
What to do
Remove cards-forms-debit-clone 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 |
|---|---|---|
| npmcards-forms-debit-clone | 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 'cards-forms-debit-clone' version 35.2.3 contains malicious code that, upon import, downloads and executes a platform-specific binary from anonymous worker subdomains. The binary is saved to temporary directories under disguised names and executed without signature or hash verification. If the primary HTTPS download fails, a fallback mechanism uses DNS TXT records to reconstruct and execute a base64-encoded payload. This behavior is disguised as telemetry with a nominal opt-out, posing a risk of arbitrary code execution.