cards-forms-credit-clonenpm
Advisory published Updated
cards-forms-credit-clone is a confirmed malicious npm package (MAL-2026-12527) that executes malicious code on install (malicious version 35.9.5). Do not install it — remove it immediately and rotate any exposed credentials.
Malicious code in cards-forms-credit-clone (npm)
What this malware does
On require('cards-forms-credit-clone'), index.js loads compat.js which downloads a platform-specific binary from obfuscated Cloudflare workers.dev hosts assembled at runtime via string-split concatenation (e.g. ['oo','b-worker.c','f101-adf.workers.dev'].join('')), with a DNS-TXT base64 fallback resolver at sdk.dl.wel1.ru. The fetched binary is written to /var/tmp or %TEMP% under disguised names (.cache<hex> / dotnet_diag_<hex>.exe), chmod 0755, and spawned detached via /bin/sh -c or cmd.exe. No pinning, no hash or signature verification; comments frame the behavior as 'analytics'/'telemetry'. Hostname fragmentation and DNS-TXT covert-channel resolution are evasion patterns unrelated to the package's advertised 'cards forms' purpose. Any installer that requires this package is subjected to remote code execution under attacker control.
Malicious versions
Indicators of compromise (SHA-256)
Detection & response playbook
Malicious packageFind it
Search your lockfiles and build artifacts for cards-forms-credit-clone (version 35.9.5).
If you installed it — respond
Remove cards-forms-credit-clone from your project and lockfile, then assume any secrets accessible to the build or runtime were exposed: rotate API keys, tokens, and credentials, and audit for unexpected outbound activity or persistence.
Did it already run?
If cards-forms-credit-clone was installed, its post-install payload may already have run. Removing the package does not undo that — check outbound connections and credential use from the install window onward.
Frequently asked questions
Campaign
References
Credits
- Amazon Inspector · finder
Detect & block this
O3 blocks cards-forms-credit-clone-class packages before install and in CI — and if it already ran, its runtime egress monitoring catches the malicious outbound activity and severs the channel.