cardsmobile-rs-api (npm) · Malicious Code
Affects cardsmobile-rs-apiSource GCVE Database
Malicious package : remove cardsmobile-rs-api and rotate any secrets on hosts that installed it.
Data as of 5 Aug 2026, 15:46 UTC
Malicious package
Published to npm · OSV MAL-2026-12535
What to do
Remove cardsmobile-rs-api from every project, lockfile and image that pulls it in. Treat any host that installed it as compromised: rotate the credentials, tokens and keys it could read, from a clean machine.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| npmcardsmobile-rs-api | Affected
| Fixed in– |
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
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.