About this video
Rust cargo build script execute code at compile time: how attackers hijacked trusted crates on August 20, 2026 and ran malware the moment developers typed cargo build.
On August 20, 2026, three widely used Rust crates, arrayref, internment, and append-only-vec, were compromised and quietly pulled in a typosquatted package called proc-macro1. Its build.rs file reassembled a remote server address from scrambled fragments, disabled certificate checks, and downloaded a second-stage binary, all before a single line of application code ran. This video breaks down exactly how Rust compile-time code execution works, why the Cargo dependency resolver surfaced the malicious version, and what concrete steps you can take to harden your Rust supply chain against cargo build script attacks and crates.io typosquatting.
In this video
- What build.rs does and why Cargo runs it before your own code
- How yanking old versions forced fresh resolves to pick the malicious release
- How proc-macro1 typosquatted proc-macro2 and hid malware inside the build script
- Why cargo-audit, cargo-deny, and cargo-vet could not catch a brand-new unknown crate
- A concrete hardening checklist: lock files, two-factor authentication, CI policy enforcement, and incident response
More every week on WebRonaq on YouTube.
More videos
All videos
2:02Video
How to Use AI to Test Your Ideas (Before You Waste Time)
Learn how to use AI to test your ideas in minutes without falling for polite yes-man feedback. Turn a rough concept into a clickable desktop prototype and validate it with real people before you spend months building.
25 November 2026
2:26Video
Claude Opus 5.5 vs GPT-6.2 vs Gemini 4 Neon: Best AI for Coding and Vibe Coding
Choosing between Claude Opus 5.5, GPT-6.2 (Sol and Astra), and Gemini 4 Neon for coding and vibe coding? Here is an independent, evidence-based two-minute breakdown of benchmarks, pricing, and real-world trade-offs so you pick the right AI without overpaying.
30 November 2026
2:35Video
GPT-6.2 vs Claude Fable 5.2 vs Gemini 4: Which AI Model Is Best
GPT-6.2 vs Claude Fable 5.2 vs Gemini 4 — which frontier AI model actually earns your monthly subscription for coding, research, and everyday work? We break down independent benchmarks, real-world task performance, true API costs, and hidden tradeoffs in two minutes.
29 November 2026
Discover more