Malicious code in cardsmobile-rs-api (npm)
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.
AI Analysis
Technical Summary
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.
Mitigation Recommendations
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.
Malicious code in cardsmobile-rs-api (npm)
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
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-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.
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 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.