Rustbot macOS Malware in Rust Supply Chain Attack
Score: 8/10

Rustbot macOS Malware in Rust Supply Chain Attack

DPRK-nexus actors, likely Sapphire Sleet, leveraged malicious Rust packages on crates.io to deploy Rustbot, a macOS RAT targeting cloud credentials and cryptocurrency wallets.

Executive Summary

On August 20, 2026, threat actors targeted the Rust ecosystem by publishing malicious versions of widely used packages like `arrayref` and `internment` to crates.io. The attack involved yanking stable versions to force automated build systems to resolve to compromised releases. This campaign is attributed with high confidence to a DPRK-nexus cluster and low confidence to Sapphire Sleet based on infrastructure overlaps with the Mastra campaign.

Technically, the attack uses a build-time dropper that fingerprints the host and delivers a platform-specific Rustbot payload. On macOS, the malware functions as a Remote Access Trojan (RAT) and information stealer, specifically targeting AWS credentials, SSH keys, Kubernetes tokens, and browser-based cryptocurrency wallets. The malware utilizes a domain-generation algorithm (DGA) fallback and AES-128-GCM for configuration encryption, though its command authentication was weakened by including the private RSA key within the binary.

The impact is significant for organizations using Rust in their development pipelines, as the malware targets non-human identities (API keys, code-signing certificates) and developer workstations. Any environment that compiled an affected project during the two-hour window of availability should be considered fully compromised.

Key Details

Threat Name

Rustbot macOS Malware

Affects

—

Adversary

Sapphire Sleet Other Adversaries and Aliases: Contagious Interview

Malware/Tools

None identified

Report Score

8out of 10
Quality Score
Good
IOC Quality9
TTP Details9
Detection Guidance6
Enterprise Relevance9
Clarity & Structure7
Technical Depth8

Sources