Skip to main content

Popular Rust Crates Compromised in Build-Time Supply Chain Attack

0
Medium
Published: 08/20/2026 (08/20/2026, 21:47:20 UTC)
Source: AlienVault OTX General

Description

A supply chain attack targeted three popular Rust crates (arrayref, internment, and append-only-vec) by injecting a malicious typosquatted dependency named proc-macro1. This malicious package executed malware during Cargo builds across Linux, macOS, and Windows platforms, delivering backdoors that profiled victims, stole browser data, maintained persistence, and enabled remote command execution. The attack threatened developer workstations, CI/CD pipelines, and release infrastructure. The Rust Security Response Team removed the malicious releases and locked the maintainer's account to mitigate the threat.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 09/11/2026, 03:18:35 UTC

Technical Analysis

A coordinated supply chain attack compromised three legitimate Rust crates maintained by David Roundy by injecting a malicious dependency called proc-macro1, a typosquat of the legitimate proc-macro2 crate. The malicious package executed cross-platform malware automatically during Cargo builds via its build.rs script. It deployed platform-specific stage-2 backdoors on Linux, macOS, and Windows that profiled victims, collected browser data, established persistence, and provided remote command execution. The malware communicated with command-and-control infrastructure at IP 23.254.165.112 and used a domain generation algorithm as fallback. Developer workstations, CI/CD runners, and release infrastructure were at risk due to the compromise occurring during normal compilation processes. The Rust Security Response Team responded by removing the malicious releases and locking the maintainer account.

Potential Impact

The attack enabled attackers to execute malware during the build process of Rust projects, potentially compromising developer machines, CI/CD environments, and release infrastructure. This could lead to credential theft, persistent backdoors, remote command execution, and exfiltration of sensitive data such as browser information. The supply chain nature of the attack increases risk as compromised dependencies are widely used and trusted.

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 update dependencies accordingly. Review build logs and environments for signs of compromise. No official patch is indicated, but the malicious versions have been removed from the ecosystem. Users should verify dependency integrity and avoid typosquatted packages.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Author
AlienVault
Tlp
white
References
["https://socket.dev/blog/popular-rust-crates-compromised"]
Pulse Id
6a8775e8885af9073b89474a

Indicators of Compromise

Hash

ValueDescriptionCopy
hash408ef22050ffc5a67e005802809026b29f297a8019f8fda91a2afa8e877ba434
—
hash74d3447e7cf99c99ea01a16332ec27432dfb0f491e10e67cd118065a60483306
—
hash492f2ab86f8d8911adc79c10ec1541704f5311d207d9d799b0d2a57fcc6a4391
—
hashc9561a3b00a0fa38b7772675d987f84bd429c55cd024fc08a98245c2d1632848
—
hashcb7778eb6dda91028abf087eb7c3553f981a67e756769507d348e8c201805568
—

Url

ValueDescriptionCopy
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

ValueDescriptionCopy
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: 09/11/2026, 03:18:35 UTC

Last updated: 10/03/2026, 22:53:12 UTC

Views: 105

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

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

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses