Malicious code in cards-forms-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-12527
Published--- _-= Per source details. Do not edit below this line.=-_ ## Source: amazon-inspector (2cf698916c071bb43228f0e40bbb5fc10c2c35c495e091c0b3d1cf1c10e8eb26) 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.
- Source published
- 5 Aug 2026 14:19:14 UTC
- Source modified
- 5 Aug 2026 14:34:58 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.