Cybersecurity news

Jessica Doner

Back to the list

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

The Hacker News,

A compromised account published malicious Rust crates that executed remote payloads during compilation, forcing the project to delete the affected releases.

Malware and ransomwareVulnerabilities and patches

Overview

A compromised maintainerThe developer or small team responsible for reviewing changes and publishing releases for an open-source project account published malicious versions of three widely used Rust crates, including arrayref, internment, and append-only-vec, to the crates.io registryA central database of system settings on a computer or a public catalog that hosts software packages. These releases added a typosquatted dependencyAn external code library or package that a software project relies on to do part of its work that executed a remote payload during the compilation process, meaning the malicious codeSoftware built to steal data, spy on users, lock files, or take control of a computer ran simply by building the project. The Rust Project deleted the affected releases within 86 to 107 minutes of their publication on August 20, 2026. The Rust Security Response Team stated there is no evidence that any malicious version was actually used by developers. The team believes the original author of arrayref is not acting maliciously but that their computer or credentialsThe login details, such as a username and password or key, that prove who an account belongs to are likely compromised. Developers are advised to search their local registry cache for the deleted files and pin arrayref at version 0.3.9 or earlier.

Terms in this story

maintainer
The developer or small team responsible for reviewing changes and publishing releases for an open-source project. Supply chain attackers often target a volunteer maintainer with phishing emails or offers to help, hoping to gain publishing rights over a popular code library.
registry
A central database of system settings on a computer or a public catalog that hosts software packages. In security news, the registry means either the operating system settings database where malware adds startup entries or a public package registry where developers download code libraries.
typosquat
Registering a domain or software package with a common misspelling of a popular name. Attackers use typosquatting on code registries so a developer who mistypes one letter when installing a library accidentally downloads malware. Security+ objective 2.2 lists the term
dependency
An external code library or package that a software project relies on to do part of its work. When a popular open-source dependency has a security bug or gets hijacked by an attacker, every application that imports that package inherits the risk.
malicious code
Software built to steal data, spy on users, lock files, or take control of a computer. News reports use malware as the umbrella term for viruses, ransomware, spyware, and trojans that criminals install on phones, laptops, or servers without permission. Security+ objective 2.4 lists the term
credentials
The login details, such as a username and password or key, that prove who an account belongs to. Many breaches begin when attackers steal an employee's login credentials through a fake website and sign in to the company network as if they belonged there. Security+ objective 4.6 lists the term
Supply Chain Attack
Breaking into a software maker or vendor so their trusted product or update infects their customers. Instead of attacking a hundred companies one by one, an intruder compromises a single software library or update server that all of those companies already trust. Security+ objective 2.2 lists the term
script
A short program written in an interpreted language to automate tasks in a browser, shell, or application. System administrators write scripts to automate daily maintenance, while attackers often use a script to download malware and disable security settings without dropping a compiled file.
patched
A software update released by a developer to fix a bug or close a security flaw. When a software flaw is discovered, the vendor ships a patch so administrators and ordinary users can update their systems before attackers exploit the bug. Security+ objective 4.3 lists the term
CVE identifier
The public tracking code assigned to a specific known security flaw in software or hardware. Every cataloged software flaw gets a unique CVE label so security teams, vendors, and news reports can talk about the exact same bug without confusion. Security+ objective 2.3 lists the term
Hacker
A person who explores and manipulates computer systems, either as a criminal intruder or a security researcher. In news headlines, the word hacker usually means an unauthorized intruder, though the security community also uses it for researchers who find and fix flaws.
malicious payload
The part of an attack or malware file that carries out the harmful action on the target. A phishing email and an exploit are only the delivery steps, while the payload is the ransomware or spyware that actually runs once the computer is compromised.

This page is a short description made for this site. The article itself, with its author's name and its own link, is on the The Hacker News website. Cite the article, not this page.

Read the full article on The Hacker News (opens in a new tab)

Course connections

Each line below connects this story to a Security+ objective (a skill on CompTIA's Security+ exam, a common first cybersecurity certification), a CYBR 101 week, or a cybersecurity job, and quotes the words that made the connection.

How a story is connected to the course, and every objective, week and job role

Same story at other outlets

Related