arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2405.06447cs.SEcs.CR
收藏

开源生态系统中的沙箱采用情况

Sandboxing Adoption in Open Source Ecosystems

Maysara Alhindi, Joseph Hallett

AI总结:

本研究调查四个开源操作系统全部软件包中 Seccomp、Landlock、Capsicum、Pledge 和 Unveil 的使用,发现直接采用率不足 1%,并归纳使用模式与推广障碍。

摘要:

沙箱机制允许开发者遵循最小权限原则,限制应用程序对资源的访问程度。然而,目前尚不清楚开发者在多大程度上以及以何种方式使用这些机制。本研究考察了四个开源操作系统的所有软件包中 Seccomp、Landlock、Capsicum、Pledge 和 Unveil 的使用情况。我们发现,不到 1% 的软件包直接使用这些机制,但有更多软件包间接使用它们。考察开发者如何应用这些机制,揭示了有趣的使用模式,例如开发者简化其沙箱实现的情况。这也凸显了可能阻碍沙箱机制被广泛采用的挑战。

英文摘要:

Sandboxing mechanisms allow developers to limit how much access applications have to resources, following the least-privilege principle. However, it's not clear how much and in what ways developers are using these mechanisms. This study looks at the use of Seccomp, Landlock, Capsicum, Pledge, and Unveil in all packages of four open-source operating systems. We found that less than 1% of packages directly use these mechanisms, but many more indirectly use them. Examining how developers apply these mechanisms reveals interesting usage patterns, such as cases where developers simplify their sandbox implementation. It also highlights challenges that may be hindering the widespread adoption of sandboxing mechanisms.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑