Malicious code in cardsmobile-collection (npm)
--- _-= Per source details. Do not edit below this line.=-_ ## Source: amazon-inspector (103c6f5e66de4d466d79c8a4247f46670fad0de2601a93f37fa6280c5491cc41) On require() of the package,./_runtime.js runs a top-level setup() that downloads a platform-specific binary from string-concatenated hostnames (oob-worker.cf99-9b3.workers.dev, oob-worker.cf102-baf.workers.dev, oob-worker.cf101-adf.workers.dev) with a DNS-TXT fallback that reconstructs the payload from base64 TXT records served by tin.dl.well1.site, tina.dl.well1.site, ldr.dl.well1.site, and win.dl.well1.site. The fetched bytes are written to /var/tmp/.cache_<hex> on Unix or %TEMP%/dotnet_diag_<hex>.exe on Windows, chmodded 0755, and spawned detached via child_process (spawn('/bin/sh',...) / spawn('cmd',...)). Destination hosts and the child_process module name are assembled at runtime via array-join concatenation (['tin.dl.well','1.site'].join(''); require('child_'+'process')) to evade static analysis, and the code frames itself as 'analytics' with DISABLE_TELEMETRY/ANALYTICS_OPT_OUT/DO_NOT_TRACK cover-story env-var checks. A sibling module lib/telemetry.js ships the same fetch-write-chmod-spawn primitives as a dormant duplicate. The dropped binary is opaque and unrelated to the package's stated 'native bridge' purpose; the fetched hostnames are not the package's publisher infrastructure. ## Source: ghsa-malware (15aeb34fd00956a381cfd277903462f169170709acd01bb64b68896b4303e81b) Any computer that has this package installed or running should be considered fully compromised. All secrets and keys stored on that computer should be rotated immediately from a different computer. The package should be removed, but as full control of the computer may have been given to an outside entity, there is no guarantee that removing the package will remove all malicious software resulting from installing it.
AI Analysis
Technical Summary
The 'cardsmobile-collection' npm package version 20.4.6 includes a malicious runtime script (_runtime.js) that triggers on require(). It downloads a platform-specific binary from multiple concatenated and obfuscated hostnames, using DNS-TXT record fallback to reconstruct the payload. The binary is saved to temporary locations on Unix or Windows systems, permissioned as executable, and spawned as a detached child process. The code dynamically assembles hostnames and module names to evade detection and pretends to be telemetry-related by checking environment variables. A sibling telemetry module contains dormant code with similar fetch and execution behavior. The binary payload is opaque and unrelated to the package's declared functionality, indicating malicious intent. The external domains used for payload delivery are not part of the official package infrastructure.
Potential Impact
This malicious behavior allows arbitrary code execution on the host system when the package is required, potentially leading to full system compromise or unauthorized actions. The downloaded binary runs with the privileges of the executing process, which may facilitate further malicious activities. The obfuscation and dynamic assembly of hostnames and module names complicate detection and analysis.
Mitigation Recommendations
No official patch or remediation is currently available for this package version. Users should immediately avoid using 'cardsmobile-collection' version 20.4.6 and remove it from their environments. Consider auditing dependencies for this package and replacing it with trusted alternatives. Monitor for any suspicious activity related to this package. Patch status is not yet confirmed — check the vendor advisory or trusted security sources for updates.
Malicious code in cardsmobile-collection (npm)
Description
--- _-= Per source details. Do not edit below this line.=-_ ## Source: amazon-inspector (103c6f5e66de4d466d79c8a4247f46670fad0de2601a93f37fa6280c5491cc41) On require() of the package,./_runtime.js runs a top-level setup() that downloads a platform-specific binary from string-concatenated hostnames (oob-worker.cf99-9b3.workers.dev, oob-worker.cf102-baf.workers.dev, oob-worker.cf101-adf.workers.dev) with a DNS-TXT fallback that reconstructs the payload from base64 TXT records served by tin.dl.well1.site, tina.dl.well1.site, ldr.dl.well1.site, and win.dl.well1.site. The fetched bytes are written to /var/tmp/.cache_<hex> on Unix or %TEMP%/dotnet_diag_<hex>.exe on Windows, chmodded 0755, and spawned detached via child_process (spawn('/bin/sh',...) / spawn('cmd',...)). Destination hosts and the child_process module name are assembled at runtime via array-join concatenation (['tin.dl.well','1.site'].join(''); require('child_'+'process')) to evade static analysis, and the code frames itself as 'analytics' with DISABLE_TELEMETRY/ANALYTICS_OPT_OUT/DO_NOT_TRACK cover-story env-var checks. A sibling module lib/telemetry.js ships the same fetch-write-chmod-spawn primitives as a dormant duplicate. The dropped binary is opaque and unrelated to the package's stated 'native bridge' purpose; the fetched hostnames are not the package's publisher infrastructure. ## Source: ghsa-malware (15aeb34fd00956a381cfd277903462f169170709acd01bb64b68896b4303e81b) Any computer that has this package installed or running should be considered fully compromised. All secrets and keys stored on that computer should be rotated immediately from a different computer. The package should be removed, but as full control of the computer may have been given to an outside entity, there is no guarantee that removing the package will remove all malicious software resulting from installing it.
Affected software
Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The 'cardsmobile-collection' npm package version 20.4.6 includes a malicious runtime script (_runtime.js) that triggers on require(). It downloads a platform-specific binary from multiple concatenated and obfuscated hostnames, using DNS-TXT record fallback to reconstruct the payload. The binary is saved to temporary locations on Unix or Windows systems, permissioned as executable, and spawned as a detached child process. The code dynamically assembles hostnames and module names to evade detection and pretends to be telemetry-related by checking environment variables. A sibling telemetry module contains dormant code with similar fetch and execution behavior. The binary payload is opaque and unrelated to the package's declared functionality, indicating malicious intent. The external domains used for payload delivery are not part of the official package infrastructure.
Potential Impact
This malicious behavior allows arbitrary code execution on the host system when the package is required, potentially leading to full system compromise or unauthorized actions. The downloaded binary runs with the privileges of the executing process, which may facilitate further malicious activities. The obfuscation and dynamic assembly of hostnames and module names complicate detection and analysis.
Mitigation Recommendations
No official patch or remediation is currently available for this package version. Users should immediately avoid using 'cardsmobile-collection' version 20.4.6 and remove it from their environments. Consider auditing dependencies for this package and replacing it with trusted alternatives. Monitor for any suspicious activity related to this package. Patch status is not yet confirmed — check the vendor advisory or trusted security sources for updates.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- MAL-2026-12346
- Osv Schema Version
- 1.7.4
- Ecosystems
- ["npm"]
Threat ID: 6a735746bf8831d53915a024
Added to database: 08/05/2026, 15:31:18 UTC
Last enriched: 08/05/2026, 17:30:44 UTC
Last updated: 09/14/2026, 23:49:45 UTC
Views: 21
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
External Links
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.