Malicious code in cards-forms-clone-credit-clone (npm)
Historical advisory saved 24 Oct 2026 13:17:17 UTC. The publisher may have updated it since then. Latest advisory.
osv · MAL-2026-12525
Published--- _-= Per source details. Do not edit below this line.=-_ ## Source: amazon-inspector (3b4f08d76d45a73180470637c59e6f64755dcc8f24853b66140d014b1dcbbdf8) On require() of cards-forms-clone-credit-clone, index.js loads _helpers.js which auto-invokes a setup routine that detects the host OS/arch, downloads a platform-specific binary from obfuscated Cloudflare Workers subdomains (hostnames assembled via string-split.join("") to evade static inspection), with a DNS TXT record fallback that reassembles base64-encoded payload chunks from TXT records under.dl.wel1.ru subdomains (sdk/ext/pkg/net.dl.wel1.ru). The fetched bytes are written to /var/tmp or %TEMP% under disguised names (dotnet_diag_*.exe,.cache_*), chmod 0755, and executed detached via spawn("/bin/sh",...) or cmd.exe /c start. No pinning, no signature or hash verification, and the fetched content is unrelated to any documented package purpose. The name mimics a legitimate-sounding forms/credit-card handling library; there is no such functionality in the code.
- Source published
- 5 Aug 2026 14:18:06 UTC
- Source modified
- 5 Aug 2026 14:34:57 UTC
- Saved here
- 24 Oct 2026 13:17:17 UTC
- Source terms
- OSV · upstream source license applies
Original source record · Cite this exact observation · Complete original publisher JSON
Source: osv · OSV · upstream source license applies. The publisher's wording is preserved. ChangeIntel groups the information and labels changes. The JSON record includes additional source fields.