The Rust Foundation Security Initiative
The Rust Foundation created its Security Initiative in 2021 to advance the state of security in the Rust programming language ecosystem. Thanks to our sponsors and collaborators, we have made a number of critical improvements to Rust’s security landscape through this program – and we’re just getting started.
Rust has many built-in safety advantages
– but broader ecosystem security is a moving target.
In recent years, the Rust programming language has experienced rapid growth in global popularity and adoption. But as software engineers, business leaders, and global governments become more aware of the many advantages of Rust, the need for more scalable security systems and safeguards against bad actors has become urgent.
Through the Security Initiative, we’ve created new open source security tools for Rust developers, conducted audits and threat models, developed a collaborative team of Rust security experts, and much more.
Key Program Activities
Developing Rust Security Expertise
Through the Security Initiative, we have hired a full-time Security Engineer and a security-focused Software Engineer who help lead the program and regularly collaborate with members of the Rust Project’s crates.io Team, Infrastructure Team, Security Response Working Group, and Secure Code Working Group, in addition to specific external stakeholders.
Threat-Modeling
Threat modeling exercises enable the Rust Foundation and Rust Project to better understand the risks identified by the Security Audit. Details of the threat models we have conducted so far can be found in the progress reports linked below.
Rust Security Auditing
An audit of the state of security within the Rust ecosystem will allow both the Rust Foundation and Project to anticipate risks better and define how security can be economically maintained on an ongoing basis. Given the size of our team, the community, and the ecosystem at large, we have a unique opportunity to learn hard lessons from other ecosystems and implement appropriate remediations for them at a smaller scale.
Actionable Security Research
The findings of our work under the Security Initiative have revealed the need for new open source tools and features to enhance maintainers’ security workflows and unlock greater insight into vulnerabilities. To date, our team has created the following new open source Rust security tools:
- Painter – Creates a complete call graph across the entire crates ecosystem to reveal how crates relate to each other.
>> Learn more - Typomania – Detects potential typosquatting as a reusable library that can be adapted to any registry
>> Learn more
Key Contributors
The Security Initiative Team Collaborates with these Rust Project Teams & Working Groups:
Program Sponsors
-
Alpha-Omega is an associated project of the OpenSSF, established in February 2022, funded by Microsoft, Google, and Amazon, and with a mission to protect society by catalyzing sustainable security improvements to the most critical open source software projects and ecosystems. The project aims to build a world where critical open source projects are secure and where security vulnerabilities are found and fixed quickly.
Without founding from Alpha-Omega, the Rust Foundation’s Security Initiative would not have been possible.
-
Since 2006, Amazon Web Services (AWS) has been the world’s most comprehensive and broadly adopted cloud. AWS has been continually expanding its services to support virtually any workload, and it now has more than 240 fully featured services for compute, storage, databases, networking, analytics, machine learning and artificial intelligence (AI), Internet of Things (IoT), mobile, security, hybrid, virtual and augmented reality (VR and AR), media, and application development, deployment, and management from 102 Availability Zones within 32 geographic regions, with announced plans for 15 more Availability Zones and five more AWS Regions in Canada, Germany, Malaysia, New Zealand, and Thailand. Millions of customers—including the fastest-growing startups, largest enterprises, and leading government agencies—trust AWS to power their infrastructure, become more agile, and lower costs. In addition to serving as a founding Platinum Member of the Rust Foundation, AWS has made generous in-kind and financial donations in support of our Security Initiative.
Security Initiative Progress Reports
More details on Security Initiative activities and progress can be found in the following reports:
In the News:
Security Initiative Stories
Get Involved
Interested in supporting the Security Initiative as a sponsor or in-kind donor? Email us at contact@rustfoundation.org to start a conversation.