Return to Threats

Rust Supply Chain Attack Puts Build-Time Malware in Crates with 245 Million Downloads

thehackernews.com 2026-08-21 AI supply chain High

Executive Summary

A compromised maintainer account published malicious arrayref, internment and append-only-vec crate versions whose build script fetched a remote payload; crates.io removed them.

What Happened

The Rust Project has deleted malicious versions of three widely used Rust crates from crates.io after a compromised maintainer account published releases that added a typosquatted dependency whose build script downloaded and executed a remote payload during compilation. The affected releases are arrayref 0.3.10, internment 0.8.7, and append-only-vec 0.1.9, all published from the same owner

Affected Products

  • crates.io

Vulnerability / Attack Technique

Build-time malware in crates

Technical Mechanism

A typosquatted dependency's build script ran a payload.

AI Security Category

Not AI-specific

RealGround Analysis

Package supply-chain attack.

Recommended Controls

  • Check Cargo.lock for affected versions

Related RealGround Service

AI Agent SBOM and LLM Mapping · or start with the free AI Agent Security Scanner.

Sources

thehackernews.com: https://thehackernews.com/2026/08/rust-supply-chain-attack-puts-build.html

Summary and analysis written by RealGround from the source above; last updated 2026-10-18.

Talk to AI CISO