Skip to main content

Malicious code in cardsmobile-storage (npm)

0
Critical
Published: 08/05/2026 (08/05/2026, 14:16:38 UTC)
Source: GCVE Database
Product: cardsmobile-storage

Description

The npm package 'cardsmobile-storage' version 35.6.5 contains malicious code that downloads and executes a binary payload from obfuscated Cloudflare Workers subdomains and fallback DNS-TXT records. The payload is saved to temporary directories with disguised filenames, given executable permissions on POSIX systems, and executed detached from the main process. The package uses runtime string assembly to evade static detection and includes a parallel dropper in an 'Analytics SDK' component. There is no CVSS score or known exploits in the wild reported.

Affected software

npmghsa
cardsmobile-storage
Affected versions
=35.6.5

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

AILast updated: 08/05/2026, 15:48:52 UTC

Technical Analysis

The 'cardsmobile-storage' npm package version 35.6.5 includes malicious code that, upon requiring the package, loads a shim that selects a platform-specific payload URL from an obfuscated list of Cloudflare Workers subdomains. It also uses DNS-TXT record fallback for payload discovery. The downloaded binary is saved under disguised names in temporary directories, permissions are set to executable on POSIX, and the binary is spawned in a detached process using shell commands. The package dynamically assembles hostnames and module names at runtime to evade static scanners. Additionally, a parallel dropper with similar behavior is embedded in 'lib/telemetry.js', labeled as an 'Analytics SDK', providing an alternate execution path.

Potential Impact

The malicious code enables remote code execution on the host system by downloading and executing arbitrary binaries without user consent. This can lead to full system compromise, data theft, or further malware deployment. The obfuscation and runtime assembly techniques make detection difficult, increasing the risk of unnoticed compromise.

Mitigation Recommendations

Users should immediately remove and avoid using version 35.6.5 of the 'cardsmobile-storage' npm package. Since no patch or remediation is currently available, replacing this package with a trusted alternative or verifying the integrity of dependencies is recommended. Monitor for any unusual process executions related to this package and clean affected systems. Patch status is not yet confirmed — check the vendor advisory or npm security advisories for updates.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Gcve Source
db.gcve.eu
Osv Id
MAL-2026-12536
Osv Schema Version
1.7.4
Ecosystems
["npm"]

Threat ID: 6a735731bf8831d53913cf8d

Added to database: 08/05/2026, 15:30:57 UTC

Last enriched: 08/05/2026, 15:48:52 UTC

Last updated: 09/12/2026, 07:57:20 UTC

Views: 19

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

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

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses