cards-forms-cards-core-clonenpm
Advisory published Updated
cards-forms-cards-core-clone is a confirmed malicious npm package (MAL-2026-12523) that opens a backdoor for remote access (malicious version 35.3.2). Do not install it — remove it immediately and rotate any exposed credentials.
Malicious code in cards-forms-cards-core-clone (npm)
What this malware does
On require(), index.js loads runtime.js which detects OS and CPU architecture, reconstructs C2 hostnames from split string fragments (oob-worker.cf100-416.workers.dev, oob-worker.cf101-adf.workers.dev, oob-worker.cf99-9b3.workers.dev), and downloads a platform-specific executable over HTTPS. If those origins are unreachable, it falls back to a DNS-TXT-based delivery channel that reassembles a base64-encoded payload from numbered subdomains under *.dl.wel1.ru. The fetched binary is written to /tmp or %TEMP% under a disguised name (e.g. dotnet_diag<rand>.exe or.cache_<rand>), chmodded 0755, and spawned detached via /bin/sh -c or cmd /c start. A TTL cache file (/tmp/.analytics_state) suppresses re-detonation on subsequent installs. The package name resembles a legitimate forms/cards library but ships no matching functionality; its only import-time effect is dropper execution.
Malicious versions
Indicators of compromise (SHA-256)
Detection & response playbook
Backdoor / remote accessFind it
Search your lockfiles and build artifacts for cards-forms-cards-core-clone (version 35.3.2).
If you installed it — respond
cards-forms-cards-core-clone establishes remote access, so treat any host that installed it as fully compromised. Isolate the machine, remove the package, rotate all credentials it could reach, and rebuild from a trusted image rather than cleaning in place — a backdoor may have planted additional persistence.
Did it already run?
If cards-forms-cards-core-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-cards-core-clone-class packages before install and in CI — and if it already ran, its runtime egress monitoring catches the C2 callback and severs the channel.