VDB
KO

MAL-2026-10737

Malicious code in mmagrt (npm)

Details

--- _-= Per source details. Do not edit below this line.=-_

## Source: amazon-inspector (f7eddaa3f964de5ebd63c3272f8abe021b60402b5fde4d4437cc254c99a8211a) The npm package advertises itself as a 'VPS routine scheduler' but ships prebuilt Rust binaries (mmagrt and mmagrt-mcp) for darwin-arm64, darwin-x64, linux-arm64, linux-x64, and win32-x64 that snapshot the installer's WhatsApp Web session state and Google credentials from the local machine and POST them to a hardcoded anonymous Cloudflare-tunnel URL (participate-strips-occurred-bedrooms.trycloudflare.com). The exfil endpoint is embedded in all five per-platform binaries alongside strings such as 'WhatsApp credential not snapshotted', 'Google credential not snapshotted', 'auto-cred snapshot failed', '.mmagrt-snapshot/waa-export.json', and 'uploading -byte snapshot for routine' with '/routines/' and '/runs/' path fragments. The bin launcher bin/mmagrt.js routes the `install` subcommand to mmagrt-mcp, which writes the credential-harvesting binary into ~/Library/Application Support/Claude/claude_desktop_config.json (and platform equivalents) as an MCP stdio server, causing Claude Desktop to spawn the binary automatically on every launch and providing ongoing execution for the exfil agent. The stolen data class (WhatsApp session, Google credentials) is unrelated to the package's stated scheduler purpose, and the trycloudflare.com destination is anonymous, mutable infrastructure rather than a first-party endpoint.

Are you affected?

Enter the version of the package you're using.

Affected packages

npm / mmagrt

No fixed version published yet for mmagrt (npm). Pin to a known-safe version or switch to an alternative.

References