{"slug": "microsoft-forge-lab-finds-soundness-bugs-in-rust-s-core-and-std-with-agentic", "title": "Microsoft FORGE Lab finds soundness bugs in Rust's core and std with agentic scanning", "summary": "Microsoft's FORGE Lab used Hyenas, its research version of the MDASH agentic scanner, to find soundness bugs in Rust's core and std libraries, including cases where safe Rust can trigger undefined behavior. The findings fell into three patterns of misplaced trust: code that panics while an invariant is broken, caller-supplied implementations that return inconsistent results, and process-wide state shared with the kernel or C library. Examples included a panic-safety bug in MapWindows::clone, a str::replace fast path that could produce a non-UTF-8 String from a custom Pattern, and a process::exit path that unmapped the main thread's alternate signal stack; two issues were still open at publication.", "body_md": "Microsoft's FORGE Lab used Hyenas, its research version of the MDASH agentic scanner, to look for soundness bugs in Rust's core and std libraries, including cases where safe Rust can trigger undefined behavior. The team grouped the findings into three patterns of misplaced trust: code that panics while an invariant is broken, caller-supplied implementations that return inconsistent results, and process-wide state shared with the kernel or C library. Examples included a panic-safety bug in MapWindows::clone, a str::replace fast path that could produce a non-UTF-8 String from a custom Pattern, and a process::exit path that unmapped the main thread's alternate signal stack. Two issues were still open at publication, and the team said the boundary between Rust and the operating system is a promising area for agentic research because static analyzers struggle to model it.", "url": "https://wpnews.pro/news/microsoft-forge-lab-finds-soundness-bugs-in-rust-s-core-and-std-with-agentic", "canonical_source": "https://www.microsoft.com/en-us/security/blog/2026/11/09/forge-lab-uses-agentic-tools-to-identify-memory-safety-issues-in-rust/", "published_at": "2026-11-09 00:00:00+00:00", "updated_at": "2026-11-18 19:20:19.537578+00:00", "lang": "en", "topics": ["ai-agents", "ai-research", "ai-tools", "artificial-intelligence"], "entities": ["Microsoft", "FORGE Lab", "Hyenas", "MDASH", "Rust", "MapWindows::clone", "str::replace", "process::exit"], "also_reported_by": [], "takeaway": "An agentic scanner (Hyenas, a research version of MDASH) surfaced Rust soundness bugs in three recurring patterns — panic while an invariant is broken, inconsistent caller-supplied implementations, and process-wide state shared with the kernel or C library — with the Rust/OS boundary flagged as a pr", "recommendation": {"advice": "Point agentic scanners at boundaries static analyzers can't model, such as Rust's interface with the OS, and triage findings by trust pattern: panic-while-broken invariants, inconsistent caller-supplied implementations, and shared process-wide state.", "playbook": "agent-architecture", "playbook_url": "https://wpnews.pro/playbooks/agent-architecture"}, "alternates": {"html": "https://wpnews.pro/news/microsoft-forge-lab-finds-soundness-bugs-in-rust-s-core-and-std-with-agentic", "markdown": "https://wpnews.pro/news/microsoft-forge-lab-finds-soundness-bugs-in-rust-s-core-and-std-with-agentic.md", "text": "https://wpnews.pro/news/microsoft-forge-lab-finds-soundness-bugs-in-rust-s-core-and-std-with-agentic.txt", "jsonld": "https://wpnews.pro/news/microsoft-forge-lab-finds-soundness-bugs-in-rust-s-core-and-std-with-agentic.jsonld"}}