Skip to main content

Malicious code in cardsmobile-rs-api (npm)

0
Critical
Published: 08/05/2026 (08/05/2026, 14:17:49 UTC)
Source: GCVE Database
Product: cardsmobile-rs-api

Description

The npm package 'cardsmobile-rs-api' version 35.5.6 contains malicious code that downloads and executes a platform-specific executable from obfuscated remote hosts. The package masquerades as an API client SDK but functions as a dropper that writes an executable to temporary directories, sets executable permissions, and runs it via shell commands. It also uses DNS TXT-record fallback channels for alternate communication. The package has no legitimate functionality and is designed to evade static analysis and detection.

Affected software

npmghsa
cardsmobile-rs-api
Affected versions
=35.5.6

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:46:27 UTC

Technical Analysis

The 'cardsmobile-rs-api' npm package (version 35.5.6) is a malicious package that, upon requiring, loads a support script which reconstructs obfuscated remote hostnames to download a platform-specific executable. This executable is saved under a deceptive name in temporary directories, permissioned for execution, and launched detached via child process spawning using shell commands. The package also implements a DNS TXT-record fallback communication channel to alternate domains. A marker file ensures the dropper executes only once. The package's description and README are boilerplate and do not provide real functionality, indicating impersonation of an internal SDK to deceive users.

Potential Impact

This malicious package can lead to arbitrary code execution on the host system by downloading and running an unknown executable. This can result in system compromise, persistence, and potential further malicious activities depending on the payload. The obfuscation and fallback communication channels increase the difficulty of detection and analysis.

Defensive Guidance

No official patch or remediation is available. Users should immediately remove the 'cardsmobile-rs-api' package version 35.5.6 from their environments and avoid installing or using this package. Employ package source verification and use trusted registries. Monitor for and block network communications to the identified malicious domains. Consider scanning existing systems for presence of the malicious executable or related artifacts.

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-12535
Osv Schema Version
1.7.4
Ecosystems
["npm"]

Threat ID: 6a735731bf8831d53913cf5a

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

Last enriched: 08/05/2026, 15:46:27 UTC

Last updated: 09/07/2026, 22:11:46 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