PulseExploreJournal ClubDebatesTrendingResearchersJournals
Instagram
HomeExploreJournal ClubTrending
Synapse
⌘+K
Synapse
October 20, 20250 citationsOpen Access

SandCell: Sandboxing Rust Beyond Unsafe Code

View Full Paper
JZJian ZhangMGMerve GülmezTNThomas Nyman

Key Points

  • SandCell effectively prevents vulnerabilities across Rust applications while managing performance overhead.
  • The system enables programmers to specify components to sandbox with minimal annotation effort, improving workflow.
  • Techniques introduced in SandCell minimize overhead when transferring data between sandboxes, enhancing performance.
  • This approach offers a flexible alternative to fixed isolation boundaries currently available in Rust.

Abstract

Rust is a modern systems programming language that ensures memory safety by enforcing ownership and borrowing rules at compile time. While the unsafe keyword allows programmers to bypass these restrictions, it introduces significant risks. Various approaches for isolating unsafe code to protect safe Rust from vulnerabilities have been proposed, yet these methods provide only fixed isolation boundaries and do not accommodate expressive policies that require sandboxing both safe and unsafe code. This paper presents SandCell for flexible and lightweight isolation in Rust by leveraging existing syntactic boundaries. SandCell allows programmers to specify which components to sandbox with minimal annotation effort, enabling fine-grained control over isolation. The system also introduces novel techniques to minimize overhead when transferring data between sandboxes. Our evaluation demonstrates SandCell's effectiveness in preventing vulnerabilities across various Rust applications while maintaining reasonable performance overheads.

Ask AI
Helpful
Bookmark
Share
View Full Paper

Cite This Study

Zhang et al. (2025) studied this question.

synapsesocial.com/papers/68f5fcce8d54a28a75cf1b3bhttps://doi.org/10.48550/arxiv.2509.24032
Ask AI
Helpful
Bookmark
Share
View Full Paper