Malicious code in cardsmobile-command-utils (npm)
The npm package cardsmobile-command-utils version 35.9.2 contains malicious code that downloads and executes a binary from attacker-controlled Cloudflare Workers subdomains. The binary is saved with decoy filenames mimicking .NET diagnostics/cache files and executed detached from the main process. If HTTPS downloads fail, the package uses a covert DNS TXT record channel to retrieve and execute payloads without signature verification. The loader also suppresses activity on researcher machines by honoring DO_NOT_TRACK flags.
AI Analysis
Technical Summary
The malicious code in [email protected] operates by loading a platform-specific URL from _bridge.js, which downloads a binary over HTTPS from obfuscated Cloudflare Workers subdomains controlled by the attacker. The binary is saved to hidden temporary paths with decoy names and executed detached via shell commands. To evade detection, the destination hostnames are constructed dynamically via string-fragment obfuscation. If HTTPS fetches fail, the loader falls back to a covert DNS TXT record channel to reconstruct a base64-encoded payload from attacker-controlled domains. No integrity checks (signature or hash verification) are performed on the downloaded payloads. The loader also respects DO_NOT_TRACK to avoid executing on researcher or analyst environments. This behavior indicates a sophisticated supply chain compromise or malicious package insertion designed to stealthily execute arbitrary code on affected systems.
Potential Impact
This malicious package can execute arbitrary attacker-controlled binaries on affected systems, potentially leading to full system compromise, data theft, or further malware deployment. The use of obfuscated C2 infrastructure and fallback covert channels complicates detection and mitigation. The lack of signature verification on downloaded binaries increases risk of executing untrusted code. The detached execution and decoy filenames help evade casual inspection and automated detection tools.
Mitigation Recommendations
No official patch or remediation is currently documented for this malicious package version. Users should immediately remove cardsmobile-command-utils version 35.9.2 from their environments and avoid installing this package. Conduct thorough audits of systems where this package was used to detect and remove any dropped binaries or persistent malware. Monitor for network connections to the described attacker-controlled domains and block them at network perimeter. Since no vendor advisory or patch is available, patch status is not yet confirmed — check vendor or repository advisories for updates. Consider using trusted package sources and supply chain security tools to prevent installation of malicious packages.
Malicious code in cardsmobile-command-utils (npm)
Description
The npm package cardsmobile-command-utils version 35.9.2 contains malicious code that downloads and executes a binary from attacker-controlled Cloudflare Workers subdomains. The binary is saved with decoy filenames mimicking .NET diagnostics/cache files and executed detached from the main process. If HTTPS downloads fail, the package uses a covert DNS TXT record channel to retrieve and execute payloads without signature verification. The loader also suppresses activity on researcher machines by honoring DO_NOT_TRACK flags.
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 malicious code in [email protected] operates by loading a platform-specific URL from _bridge.js, which downloads a binary over HTTPS from obfuscated Cloudflare Workers subdomains controlled by the attacker. The binary is saved to hidden temporary paths with decoy names and executed detached via shell commands. To evade detection, the destination hostnames are constructed dynamically via string-fragment obfuscation. If HTTPS fetches fail, the loader falls back to a covert DNS TXT record channel to reconstruct a base64-encoded payload from attacker-controlled domains. No integrity checks (signature or hash verification) are performed on the downloaded payloads. The loader also respects DO_NOT_TRACK to avoid executing on researcher or analyst environments. This behavior indicates a sophisticated supply chain compromise or malicious package insertion designed to stealthily execute arbitrary code on affected systems.
Potential Impact
This malicious package can execute arbitrary attacker-controlled binaries on affected systems, potentially leading to full system compromise, data theft, or further malware deployment. The use of obfuscated C2 infrastructure and fallback covert channels complicates detection and mitigation. The lack of signature verification on downloaded binaries increases risk of executing untrusted code. The detached execution and decoy filenames help evade casual inspection and automated detection tools.
Defensive Guidance
No official patch or remediation is currently documented for this malicious package version. Users should immediately remove cardsmobile-command-utils version 35.9.2 from their environments and avoid installing this package. Conduct thorough audits of systems where this package was used to detect and remove any dropped binaries or persistent malware. Monitor for network connections to the described attacker-controlled domains and block them at network perimeter. Since no vendor advisory or patch is available, patch status is not yet confirmed — check vendor or repository advisories for updates. Consider using trusted package sources and supply chain security tools to prevent installation of malicious packages.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- MAL-2026-12530
- Osv Schema Version
- 1.7.4
- Aliases
- []
- Ecosystems
- ["npm"]
- Database Specific Severity
- null
- Cvss Version
- null
Threat ID: 6a735731bf8831d53913cfa4
Added to database: 08/05/2026, 15:30:57 UTC
Last enriched: 08/05/2026, 15:49:36 UTC
Last updated: 08/05/2026, 15:49:36 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.