Malicious code in cardsmobile-data-utils (npm)
The npm package cardsmobile-data-utils version 35.6.2 contains malicious code that downloads and executes a platform-specific native executable from hardcoded Cloudflare Workers hosts and fallback domains. The package writes the executable to temporary directories with randomized names, sets executable permissions, and spawns it detached via shell commands without verifying the integrity of the downloaded payload. This behavior is obfuscated using string fragment assembly to evade static detection. A redundant payload delivery mechanism is embedded in a telemetry SDK within the package, further facilitating execution of malicious code.
AI Analysis
Technical Summary
The cardsmobile-data-utils npm package version 35.6.2 includes malicious functionality in its index.js and lib/telemetry.js files. Upon requiring the package, it downloads a native executable over HTTPS from hardcoded Cloudflare Workers domains with a DNS-TXT fallback to unrelated domains. The executable is saved under /var/tmp or %TEMP% with a randomized filename, permissions are set to 0755 on Unix systems, and it is executed detached via shell commands. No hash or signature verification is performed on the downloaded payload. The code uses string fragment concatenation to obfuscate hostnames and sensitive API calls, evading static analysis. The telemetry.js file (~81 KB) contains a similar download-execute chain disguised as an APM/telemetry SDK, providing a redundant staged payload delivery.
Potential Impact
This malicious package can execute arbitrary native code on the host system without user consent or verification, potentially leading to full system compromise, data theft, or further malware deployment. The lack of integrity checks on the downloaded executable increases the risk of supply chain attacks. The obfuscation techniques hinder detection by static analysis tools, increasing the likelihood of unnoticed compromise in environments that install this package.
Mitigation Recommendations
No official patch or remediation is documented for this malicious package version. Users should immediately remove version 35.6.2 of cardsmobile-data-utils from their environments and avoid installing this package. It is recommended to audit dependencies for this package and replace it with trusted alternatives. Monitor for any unexpected processes spawned from temporary directories and investigate any suspicious activity related to this package. Since no patch is available, removal and avoidance are the primary mitigations.
Malicious code in cardsmobile-data-utils (npm)
Description
The npm package cardsmobile-data-utils version 35.6.2 contains malicious code that downloads and executes a platform-specific native executable from hardcoded Cloudflare Workers hosts and fallback domains. The package writes the executable to temporary directories with randomized names, sets executable permissions, and spawns it detached via shell commands without verifying the integrity of the downloaded payload. This behavior is obfuscated using string fragment assembly to evade static detection. A redundant payload delivery mechanism is embedded in a telemetry SDK within the package, further facilitating execution of malicious code.
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-data-utils npm package version 35.6.2 includes malicious functionality in its index.js and lib/telemetry.js files. Upon requiring the package, it downloads a native executable over HTTPS from hardcoded Cloudflare Workers domains with a DNS-TXT fallback to unrelated domains. The executable is saved under /var/tmp or %TEMP% with a randomized filename, permissions are set to 0755 on Unix systems, and it is executed detached via shell commands. No hash or signature verification is performed on the downloaded payload. The code uses string fragment concatenation to obfuscate hostnames and sensitive API calls, evading static analysis. The telemetry.js file (~81 KB) contains a similar download-execute chain disguised as an APM/telemetry SDK, providing a redundant staged payload delivery.
Potential Impact
This malicious package can execute arbitrary native code on the host system without user consent or verification, potentially leading to full system compromise, data theft, or further malware deployment. The lack of integrity checks on the downloaded executable increases the risk of supply chain attacks. The obfuscation techniques hinder detection by static analysis tools, increasing the likelihood of unnoticed compromise in environments that install this package.
Mitigation Recommendations
No official patch or remediation is documented for this malicious package version. Users should immediately remove version 35.6.2 of cardsmobile-data-utils from their environments and avoid installing this package. It is recommended to audit dependencies for this package and replace it with trusted alternatives. Monitor for any unexpected processes spawned from temporary directories and investigate any suspicious activity related to this package. Since no patch is available, removal and avoidance are the primary mitigations.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- MAL-2026-12531
- Osv Schema Version
- 1.7.4
- Aliases
- []
- Ecosystems
- ["npm"]
- Database Specific Severity
- null
- Cvss Version
- null
Threat ID: 6a735731bf8831d53913cf68
Added to database: 08/05/2026, 15:30:57 UTC
Last enriched: 08/05/2026, 15:47:20 UTC
Last updated: 08/05/2026, 15:47:20 UTC
Views: 2
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.