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

解析 GitHub Actions 工作流安全扫描器

Unpacking Security Scanners for GitHub Actions Workflows

Université de Montréal(蒙特利尔大学)

Madjda Fares, Yogya Gamage, Benoit Baudry

AI总结:

本文系统比较了9个GitHub Actions工作流安全扫描器,分析其覆盖范围、检测能力和性能,揭示了扫描器在安全弱点识别上的差异及开发者的改进建议。

摘要:

GitHub Actions 是通过可配置的工作流自动化软件项目构建和部署的广泛使用的平台。随着平台的流行,它也成为软件供应链攻击的目标。这些攻击利用过度的权限、模糊的版本或缺乏artifact完整性检查来破坏工作流。为应对这些攻击,出现了几种安全扫描器来帮助开发人员加强工作流。本文首次系统比较了9个GitHub Actions工作流安全扫描器。我们比较了它们的范围(它们针对哪些安全弱点)、检测能力(它们能检测多少弱点)和性能(扫描一个工作流所需的时间)。为了在共同的基础上比较扫描器,我们首先建立了一个分类,将10种常见的安全弱点归类到GitHub Actions工作流中。然后,我们对2722个精心挑选的工作流运行这些扫描器。我们的研究发现,GitHub Actions工作流安全扫描器的格局非常多样化,既有通用型也有专门型。更重要的是,我们提供了证据表明这些扫描器实施了根本不同的分析策略,导致在安全弱点的性质和数量上存在重大差距。基于这些实证证据,我们为开发人员提供了可行的建议,以加强他们的GitHub Actions工作流。

英文摘要:

GitHub Actions is a widely used platform to automate the build and deployment of software projects through configurable workflows. As the platform's popularity grows, it also becomes a target of choice for software supply chain attacks. These attacks exploit excessive permissions, ambiguous versions or the absence of artifact integrity checks to compromise the workflows. In response to these attacks, several security scanners have emerged to help developers harden their workflows. In this paper, we perform the first systematic comparison of 9 GitHub Actions Workflows security scanners. We compare them regarding scope (which security weaknesses they target), detection capabilities (how many weaknesses they detect), accuracy (how well their findings match manually confirmed weaknesses), and performance (how long they take to scan a workflow). In order to compare the scanners on a common ground, we first establish a classification of 10 common security weaknesses that can be found in GitHub Actions Workflows. Then, we run the scanners against a curated set of 2,722 workflows. Our study reveals that static scanners for GitHub Actions Workflows are very diverse, with both general purpose and focused scanners. More importantly, we provide evidence that these scanners implement fundamentally different analysis strategies, leading to major gaps regarding the nature and the number of reported security weaknesses. Based on this empirical evidence we make actionable recommendations for developers to harden their GitHub Actions Workflows.

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

↑