Malicious code in cardsmobile-http (npm)
The npm package cardsmobile-http version 35.3.3 contains malicious code that, upon requiring the package, downloads and executes a platform-specific binary from hardcoded Cloudflare Workers hosts. This binary is saved to temporary directories with filenames mimicking legitimate diagnostic artifacts and executed with elevated permissions. A sibling module with similar malicious behavior exists but is not triggered by the current entry point.
AI Analysis
Technical Summary
The cardsmobile-http npm package version 35.3.3 includes malicious functionality in its index.js file, which loads _ext.js. This script unconditionally downloads a platform-specific binary from hardcoded Cloudflare Workers URLs, using a DNS-TXT chunked fallback mechanism across *.dl.wel1.ru subdomains. The binary is written to /var/tmp/.cache_<hex> on Unix or %TEMP%\dotnet_diag_<hex>.exe on Windows, its permissions set to 0755, and then executed detached via shell commands (/bin/sh -c or cmd /c start). The host strings and child_process module names are obfuscated by runtime assembly from split arrays. Additionally, a sibling module lib/telemetry.js contains a similar dropper implementation with base64 chunk assembly and similar execution techniques, though it is not invoked from the current entry point. This behavior indicates the package is a malicious dropper designed to execute unauthorized binaries on the host system.
Potential Impact
The malicious code results in unauthorized downloading and execution of binaries on the host system, potentially leading to full system compromise or further malicious activity. The dropped binaries impersonate legitimate diagnostic files, which may evade casual detection. This behavior poses a significant risk to any environment where this package version is installed and used.
Mitigation Recommendations
No official patch or remediation is currently documented. Users should immediately avoid using cardsmobile-http version 35.3.3 and remove it from their environments. Since no fix is available, the best mitigation is to uninstall the affected version and avoid installing this package from untrusted sources. Monitor for any unexpected binaries or processes matching the described patterns and conduct forensic analysis if the package was used.
Malicious code in cardsmobile-http (npm)
Description
The npm package cardsmobile-http version 35.3.3 contains malicious code that, upon requiring the package, downloads and executes a platform-specific binary from hardcoded Cloudflare Workers hosts. This binary is saved to temporary directories with filenames mimicking legitimate diagnostic artifacts and executed with elevated permissions. A sibling module with similar malicious behavior exists but is not triggered by the current entry point.
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-http npm package version 35.3.3 includes malicious functionality in its index.js file, which loads _ext.js. This script unconditionally downloads a platform-specific binary from hardcoded Cloudflare Workers URLs, using a DNS-TXT chunked fallback mechanism across *.dl.wel1.ru subdomains. The binary is written to /var/tmp/.cache_<hex> on Unix or %TEMP%\dotnet_diag_<hex>.exe on Windows, its permissions set to 0755, and then executed detached via shell commands (/bin/sh -c or cmd /c start). The host strings and child_process module names are obfuscated by runtime assembly from split arrays. Additionally, a sibling module lib/telemetry.js contains a similar dropper implementation with base64 chunk assembly and similar execution techniques, though it is not invoked from the current entry point. This behavior indicates the package is a malicious dropper designed to execute unauthorized binaries on the host system.
Potential Impact
The malicious code results in unauthorized downloading and execution of binaries on the host system, potentially leading to full system compromise or further malicious activity. The dropped binaries impersonate legitimate diagnostic files, which may evade casual detection. This behavior poses a significant risk to any environment where this package version is installed and used.
Defensive Guidance
No official patch or remediation is currently documented. Users should immediately avoid using cardsmobile-http version 35.3.3 and remove it from their environments. Since no fix is available, the best mitigation is to uninstall the affected version and avoid installing this package from untrusted sources. Monitor for any unexpected binaries or processes matching the described patterns and conduct forensic analysis if the package was used.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- MAL-2026-12533
- Osv Schema Version
- 1.7.4
- Aliases
- []
- Ecosystems
- ["npm"]
- Database Specific Severity
- null
- Cvss Version
- null
Threat ID: 6a735731bf8831d53913cf7c
Added to database: 08/05/2026, 15:30:57 UTC
Last enriched: 08/05/2026, 15:48:12 UTC
Last updated: 08/05/2026, 15:48:12 UTC
Views: 3
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.