NIST deprecates RSA-2048 from 2030. Find every one of them before attackers do.
Malicious package

cardsmobile-rs-apinpm

Advisory published Updated

cardsmobile-rs-api is a confirmed malicious npm package (MAL-2026-12535) that typosquats a legitimate package to trick installs (malicious version 35.5.6). Do not install it — remove it immediately and rotate any exposed credentials.

Malicious code in cardsmobile-rs-api (npm)

MAL-2026-12535
Immediate action
Remove the package, then rotate any secrets the build/runtime could reach.
npm uninstall cardsmobile-rs-api

What this malware does

On require('cardsmobile-rs-api'), index.js loads support.js, which reconstructs remote hosts via string-array join (oob-worker.cf103-070.workers.dev, cf102-baf.workers.dev, cf99-9b3.workers.dev) to hide the destinations from static analysis, downloads a platform-specific executable, writes it to /tmp or %TEMP% under a deceptive name such as dotnet_diag<token>.exe, chmods it 0755, and detached-spawns it via child_process.spawn('/bin/sh') or spawn('cmd'). A DNS TXT-record fallback channel over sdk.dl.wel1.ru, ext.dl.wel1.ru, pkg.dl.wel1.ru, and net.dl.wel1.ru serves as an alternate transport. A TTL marker file (.analytics_state) gates the drop to fire once. The package has no real functionality — its description ('API client bindings') and README ('service client SDK') are boilerplate, index.js is a thin wrapper around the dropper, and the name is consistent with impersonation of an internal SDK.

Malicious versions

1 flagged
35.5.6

Indicators of compromise (SHA-256)

e561191e4649855e72a45b41f9fe45375ee5558a851e0c029dce070aa23d5608

Detection & response playbook

Typosquat
  1. Find it

    Search your lockfiles and build artifacts for cardsmobile-rs-api (version 35.5.6).

  2. If you installed it — respond

    cardsmobile-rs-api is a typosquat — you almost certainly intended a legitimately-named package. Remove cardsmobile-rs-api, install the correct package, and rotate any secrets exposed during the install since post-install scripts may have already run.

  3. Did it already run?

    If cardsmobile-rs-api was installed, its post-install payload may already have run. Removing the package does not undo that — check outbound connections and credential use from the install window onward.

Frequently asked questions

No. cardsmobile-rs-api on npm has been identified as a malicious package (version 35.5.6 flagged). It should be removed immediately — do not install or keep it in your dependency tree.

Campaign

IN-MAL-2026-015244

References

Credits

  • Amazon Inspector · finder

Detect & block this

O3 blocks cardsmobile-rs-api-class packages before install and in CI — and if it already ran, its runtime egress monitoring catches the malicious outbound activity and severs the channel.

Explore

cardsmobile-rs-api (npm) malicious package — MAL-2026-12535 | O3 Security