Popular Rust Crates Compromised in Build-Time Supply Chain Attack
A supply chain attack compromised three legitimate Rust crates (arrayref, internment, append-only-vec) by injecting a malicious dependency named proc-macro1, a typosquat of proc-macro2. This malicious package executed malware during Cargo builds via its build.rs script, delivering platform-specific backdoors for Linux, macOS, and Windows. The malware profiled victims, collected browser data, established persistence, and enabled remote command execution. It communicated with command-and-control infrastructure at 23.254.165.112 and used a domain generation algorithm for fallback. Developer workstations, CI/CD runners, and release infrastructure were particularly at risk. The Rust Security Response Team removed the malicious releases and locked the maintainer account to mitigate the threat.
AI Analysis
Technical Summary
This threat involves a coordinated supply chain attack targeting three Rust crates maintained by David Roundy: arrayref, internment, and append-only-vec. The attacker injected a malicious dependency named proc-macro1, which is a typosquat of the legitimate proc-macro2 crate. The malicious package executed cross-platform malware automatically during Cargo builds through its build.rs script. The attack delivered platform-specific stage-2 backdoors for Linux, macOS, and Windows that performed victim profiling, browser data collection, persistence establishment, and remote command execution. The malware communicated with a command-and-control server at IP 23.254.165.112 and included a domain generation algorithm for fallback communication. The compromise affected developer workstations, CI/CD runners, and release infrastructure during normal compilation processes. The Rust Security Response Team responded by removing the malicious releases and locking the maintainer account, believing the legitimate maintainer was compromised.
Potential Impact
The attack enabled execution of malware during normal Rust package compilation, leading to potential credential theft, system profiling, persistent backdoors, and remote command execution on affected systems across Linux, macOS, and Windows platforms. Developer environments and CI/CD pipelines were at particular risk, potentially compromising software build and release processes. The malware's communication with command-and-control infrastructure allowed attackers to control infected systems and evade detection via fallback domain generation.
Mitigation Recommendations
The Rust Security Response Team has removed the malicious releases and locked the compromised maintainer account. Users should ensure they are not using the compromised versions of the affected crates and verify dependencies carefully. Since the malicious packages have been removed, updating to clean versions and auditing build environments is recommended. Patch status is not explicitly stated; users should consult the Rust Security Response Team advisories and official sources for updated safe versions and further guidance.
Indicators of Compromise
- hash: 408ef22050ffc5a67e005802809026b29f297a8019f8fda91a2afa8e877ba434
- hash: 74d3447e7cf99c99ea01a16332ec27432dfb0f491e10e67cd118065a60483306
- url: https://23.254.165.112:9089/rust-crate_0.1.0
- url: https://23.254.165.112:9089/rust-crate_0.2.0
- url: https://23.254.165.112:9089/rust-crate_0.3.0
- url: https://23.254.165.112:9089/rust-crate_0.4.0
- hash: 492f2ab86f8d8911adc79c10ec1541704f5311d207d9d799b0d2a57fcc6a4391
- hash: c9561a3b00a0fa38b7772675d987f84bd429c55cd024fc08a98245c2d1632848
- hash: cb7778eb6dda91028abf087eb7c3553f981a67e756769507d348e8c201805568
- domain: rasgthaufd.com
- domain: fevvkiieiu.com
- domain: phrpjtnckf.com
- domain: ackeotawtl.com
- domain: gafwvcmaja.com
- domain: rnssddnegk.com
- domain: pfhlvoqeeg.com
- domain: abecorkups.com
- domain: epodiatmam.com
Popular Rust Crates Compromised in Build-Time Supply Chain Attack
Description
A supply chain attack compromised three legitimate Rust crates (arrayref, internment, append-only-vec) by injecting a malicious dependency named proc-macro1, a typosquat of proc-macro2. This malicious package executed malware during Cargo builds via its build.rs script, delivering platform-specific backdoors for Linux, macOS, and Windows. The malware profiled victims, collected browser data, established persistence, and enabled remote command execution. It communicated with command-and-control infrastructure at 23.254.165.112 and used a domain generation algorithm for fallback. Developer workstations, CI/CD runners, and release infrastructure were particularly at risk. The Rust Security Response Team removed the malicious releases and locked the maintainer account to mitigate the threat.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
This threat involves a coordinated supply chain attack targeting three Rust crates maintained by David Roundy: arrayref, internment, and append-only-vec. The attacker injected a malicious dependency named proc-macro1, which is a typosquat of the legitimate proc-macro2 crate. The malicious package executed cross-platform malware automatically during Cargo builds through its build.rs script. The attack delivered platform-specific stage-2 backdoors for Linux, macOS, and Windows that performed victim profiling, browser data collection, persistence establishment, and remote command execution. The malware communicated with a command-and-control server at IP 23.254.165.112 and included a domain generation algorithm for fallback communication. The compromise affected developer workstations, CI/CD runners, and release infrastructure during normal compilation processes. The Rust Security Response Team responded by removing the malicious releases and locking the maintainer account, believing the legitimate maintainer was compromised.
Potential Impact
The attack enabled execution of malware during normal Rust package compilation, leading to potential credential theft, system profiling, persistent backdoors, and remote command execution on affected systems across Linux, macOS, and Windows platforms. Developer environments and CI/CD pipelines were at particular risk, potentially compromising software build and release processes. The malware's communication with command-and-control infrastructure allowed attackers to control infected systems and evade detection via fallback domain generation.
Defensive Guidance
The Rust Security Response Team has removed the malicious releases and locked the compromised maintainer account. Users should ensure they are not using the compromised versions of the affected crates and verify dependencies carefully. Since the malicious packages have been removed, updating to clean versions and auditing build environments is recommended. Patch status is not explicitly stated; users should consult the Rust Security Response Team advisories and official sources for updated safe versions and further guidance.
Technical Details
- Author
- AlienVault
- Tlp
- white
- References
- ["https://socket.dev/blog/popular-rust-crates-compromised"]
- Adversary
- null
- Pulse Id
- 6a8775e8885af9073b89474a
- Threat Score
- null
Indicators of Compromise
Hash
| Value | Description | Copy |
|---|---|---|
hash408ef22050ffc5a67e005802809026b29f297a8019f8fda91a2afa8e877ba434 | — | |
hash74d3447e7cf99c99ea01a16332ec27432dfb0f491e10e67cd118065a60483306 | — | |
hash492f2ab86f8d8911adc79c10ec1541704f5311d207d9d799b0d2a57fcc6a4391 | — | |
hashc9561a3b00a0fa38b7772675d987f84bd429c55cd024fc08a98245c2d1632848 | — | |
hashcb7778eb6dda91028abf087eb7c3553f981a67e756769507d348e8c201805568 | — |
Url
| Value | Description | Copy |
|---|---|---|
urlhttps://23.254.165.112:9089/rust-crate_0.1.0 | — | |
urlhttps://23.254.165.112:9089/rust-crate_0.2.0 | — | |
urlhttps://23.254.165.112:9089/rust-crate_0.3.0 | — | |
urlhttps://23.254.165.112:9089/rust-crate_0.4.0 | — |
Domain
| Value | Description | Copy |
|---|---|---|
domainrasgthaufd.com | — | |
domainfevvkiieiu.com | — | |
domainphrpjtnckf.com | — | |
domainackeotawtl.com | — | |
domaingafwvcmaja.com | — | |
domainrnssddnegk.com | — | |
domainpfhlvoqeeg.com | — | |
domainabecorkups.com | — | |
domainepodiatmam.com | — |
Threat ID: 6a880acbacd9273b49d3476b
Added to database: 08/21/2026, 08:22:35 UTC
Last enriched: 08/21/2026, 08:40:43 UTC
Last updated: 08/21/2026, 08:40:43 UTC
Views: 4
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
External Links
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.