The Rust Foundation is Reviewing and Improving Rust's Security (i-programmer.info)
(Sunday September 15, 2024 @04:56PM (EditorDavid)
from the Rust-never-sleeps dept.)
The Rust foundation is making "considerable progress" on a complete security audit of the Rust ecosystem, according to [1]the coding news site I Programmer , citing a [2]newly-released [3]report from the nonprofit Rust foundation:
> The foundation is investigating the development of a Public Key Infrastructure (PKI) model for the Rust language, including the design and implementation for a PKI CA and a resilient Quorum model for the project to implement, and the report says that language updates suggested by members of the Project were nearly ready for implementation.
>
> Following the XZ backdoor vulnerability, the Security Initiative has focused on supply chain security, including work on provenance-tracking, verifying that a given crate is actually associated with the repository it claims to be. The top 5,000 crates by download count have been checked and verified.
>
> Threat modeling has now been completed on the Crates ecosystem. Rust Infrastructure, crates.io and the Rust Project.
>
> Two open source security tools, Painter and Typomania, have been developed and released. Painter can be used to build a graph database of dependencies and invocations between all crates within the crates.io ecosystem, including the ability to obtain 'unsafe' statistics, better call graph pruning, and FFI boundary mapping. Typomania ports typogard to Rust, and can be used to detect potential typosquatting as a reusable library that can be adapted to any registry.
They've also tightened admin privileges for Rust's package registry, according to the article. And "In addition to the work on the Security Initiative, the Foundation has also been working on improving interoperability between Rust and C++, supported by a $1 million contribution from Google."
According to the Rust foundation's technology director, they've made "impressive technical strides and developed new strategies to reinforce the safety, security, and longevity of the Rust programming language." And the director says the new report "paints a clear picture of the impact of our technical projects like the Security Initiative, Safety-Critical Rust Consortium, infrastructure and crates.io support, Interop Initiative, and much more."
[1] https://www.i-programmer.info/news/149-security/17466-rust-foundation-report-on-recent-initiatives.html
[2] https://foundation.rust-lang.org/news/latest-rust-foundation-report-details-technical-accomplishments/
[3] https://foundation.rust-lang.org/static/publications/technology-report-2024.pdf
> The foundation is investigating the development of a Public Key Infrastructure (PKI) model for the Rust language, including the design and implementation for a PKI CA and a resilient Quorum model for the project to implement, and the report says that language updates suggested by members of the Project were nearly ready for implementation.
>
> Following the XZ backdoor vulnerability, the Security Initiative has focused on supply chain security, including work on provenance-tracking, verifying that a given crate is actually associated with the repository it claims to be. The top 5,000 crates by download count have been checked and verified.
>
> Threat modeling has now been completed on the Crates ecosystem. Rust Infrastructure, crates.io and the Rust Project.
>
> Two open source security tools, Painter and Typomania, have been developed and released. Painter can be used to build a graph database of dependencies and invocations between all crates within the crates.io ecosystem, including the ability to obtain 'unsafe' statistics, better call graph pruning, and FFI boundary mapping. Typomania ports typogard to Rust, and can be used to detect potential typosquatting as a reusable library that can be adapted to any registry.
They've also tightened admin privileges for Rust's package registry, according to the article. And "In addition to the work on the Security Initiative, the Foundation has also been working on improving interoperability between Rust and C++, supported by a $1 million contribution from Google."
According to the Rust foundation's technology director, they've made "impressive technical strides and developed new strategies to reinforce the safety, security, and longevity of the Rust programming language." And the director says the new report "paints a clear picture of the impact of our technical projects like the Security Initiative, Safety-Critical Rust Consortium, infrastructure and crates.io support, Interop Initiative, and much more."
[1] https://www.i-programmer.info/news/149-security/17466-rust-foundation-report-on-recent-initiatives.html
[2] https://foundation.rust-lang.org/news/latest-rust-foundation-report-details-technical-accomplishments/
[3] https://foundation.rust-lang.org/static/publications/technology-report-2024.pdf