Rust Supply Chain Attack Puts Build-Time Malware in Crates with 245 Million Downloads
A compromised account published malicious Rust crates that executed remote payloads during compilation, forcing the project to delete the affected releases.
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.
- Kind of story: Advisory or warning
"Developers are advised to search..." Found by reading the article; these exact words are in it - Who is affected: "Developers..." Organizations using the product
Copied word for word from the article - Security+ 2.2 Explain common threat vectors and attack surfaces.
"Rust Supply Chain Attack Puts Build-Time Malware in Crates with 245..." Found in the headline - Security+ 2.3 Explain various types of vulnerabilities.
"Rust Supply Chain Attack Puts Build-Time Malware in Crates with..." Found in the headline - Security+ 2.4 Given a scenario, analyze indicators of malicious activity.
"Rust Supply Chain Attack Puts Build-Time Malware in Crates with 245 Million Downloads..." Found in the headline - Security+ 5.3 Explain the processes associated with third-party risk assessment and management.
"Rust Supply Chain Attack Puts Build-Time Malware in Crates with..." Found in the headline - CYBR 101 week 9: malware, indicators and how detection works
"Rust Supply Chain Attack Puts Build-Time Malware in Crates with 245 Million Downloads..." Found in the headline
How a story is connected to the course, and every objective, week and job role
Same story at other outlets
- North Korean Hackers Tied to Rust Supply Chain Attack
- Backdoored Rust packages hit crates.io, exposing developers to malware at build time
- Hackers poison arrayref Rust crate to push infostealer malware
- Popular Rust Packages With 244M Downloads Compromised to Run Malware
- Two popular Rust crates arrayref and append-only-vec compromised in Supply Chain Attack