FORGE Lab uses agentic tools to identify memory safety issues in Rust
Microsoft's FORGE Lab used AI tools to find memory safety issues in Rust's standard library that can trigger undefined behavior.
Overview
Microsoft's FORGE Lab used an AI-powered tool to find memory safety issues in the standard library of the Rust programming language. These issues allow code written in safe Rust to trigger undefined behavior because the underlying code relies on unsafe operations. Rust is designed to prevent memory errors through its type system and ownership model, but its standard library uses unsafe code to provide safe APIsA structured interface that lets one software program request data or actions from another program. When that unsafe code fails, it breaks the safety guarantees that developers expect. The language is increasingly used in software that billions of people rely on daily, including operating systemsThe core software on a computer or phone that manages hardware, files, memory, and running apps and web platforms. Bugs in these foundational libraries can affect a wide range of software that depends on them.
Terms in this story
- APIs
- A structured interface that lets one software program request data or actions from another program. Mobile apps, websites, and cloud services talk to backend servers through an API, and a poorly protected API can let attackers pull customer records in bulk. Security+ objective 4.7 lists the term
- operating systems
- The core software on a computer or phone that manages hardware, files, memory, and running apps. Because every application relies on the operating system, a security flaw in the operating system itself affects millions of devices until users install a system update.
- agentic
- Artificial intelligence software that can plan steps, call tools, and take actions on its own. Many stories cover agentic AI when companies connect language models to email, browsers, and databases, creating new risks if a hidden prompt tricks the agent into leaking data.
- vulnerability-scanning
- Using automated tools to probe computers, networks, or code for known security flaws and missing patches. Both defenders and attackers run vulnerability scanning across internet-facing servers to find out which machines are still running outdated software versions. Security+ objective 4.3 lists the term
- runtime
- The environment in which a program executes, or the period of time while the program is actively running. A flaw in a container or language runtime can let a program escape its isolation, and runtime security tools watch what a program actually does in memory while it runs.
- kernel
- The core part of an operating system that manages memory, hardware, and every running program. Because the kernel has complete control over the computer, a kernel vulnerability or malicious kernel driver lets an attacker bypass security software that runs at the normal program level.
- vulnerability
- A flaw in software or hardware that lets an attacker do something the maker did not intend. Security advisories report a vulnerability when researchers or attackers find a coding mistake in an app or server that allows someone to break in or crash it. Security+ objective 2.3 lists the term
- maintainers
- 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.
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 Microsoft Security Blog website. Cite the article, not this page.
Read the full article on Microsoft Security Blog (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: Vulnerability and patch
"...found several memory safety issues in rusts standard library..." Found by reading the article; these exact words are in it - Who is affected: "...rusts standard library std and core..."
Copied word for word from the article - Security+ 2.3 Explain various types of vulnerabilities.
"Microsoft FORGE Lab researchers found memory-safety bugs in Rust's core and std libraries, including..." Found in the opening sentences - Security+ 5.1 Summarize elements of effective security governance.
"FORGE Lab uses agentic tools to identify memory safety issues in Rust..." Found in the headline - CYBR 101 week 6: AI, how it is attacked, and what it does for attackers and defenders
"FORGE Lab uses agentic tools to identify memory safety issues in..." Found in the headline
How a story is connected to the course, and every objective, week and job role