Reproduce “A Closer Look at the Security Risks in the Rust Ecosystem” on OpenResearch

Turn your favorite coding agents into research agents that review literature, develop hypotheses, and run experiments.

Universal app for Apple silicon and Intel. Requires macOS 11 or later.

About this paper

Xiaoye Zheng, Zhiyuan Wan, Yun Zhang, Rui Chang, David Lo

Researchers from Zhejiang University, Hangzhou City University, and Singapore Management University conducted an empirical investigation into security risks within the Rust ecosystem. The study characterized vulnerability types, vulnerable packages, and their fixes, finding memory safety and concurrency issues to be dominant and `unsafe` code regions statistically more prone to vulnerabilities.

Key insights

  • Memory safety (59.7%) and concurrency issues (20.56%) collectively account for 63.6% of all vulnerabilities in the Rust ecosystem and show the fastest growth rates.
  • Vulnerabilities have a long average disclosure duration of 770 days (2.1 years) from introduction, with one-third of vulnerabilities lacking a fix at public disclosure.
  • Vulnerable code regions exhibit a statistically significant higher ratio of `unsafe` functions and `unsafe` blocks compared to the overall code in vulnerable packages, indicating higher risk in these areas.

Summary by alphaXiv.

Tip: change arxiv.org to autoarxiv.org in any arXiv abstract link to open the paper here.