Quantifying Security Issues in Reusable Java']JavaScript Actions in GitHub Workflows

被引:0
|
作者
Delicheh, Hassan Onsori [1 ]
Decan, Alexandre [1 ]
Mens, Tom [1 ]
机构
[1] Univ Mons, Mons, Belgium
来源
2024 IEEE/ACM 21ST INTERNATIONAL CONFERENCE ON MINING SOFTWARE REPOSITORIES, MSR | 2024年
关键词
GitHub Actions; security vulnerabilities; security weaknesses; npm; dependency network; CodeQL;
D O I
10.1145/3643991.3644899
中图分类号
TP18 [人工智能理论];
学科分类号
081104 ; 0812 ; 0835 ; 1405 ;
摘要
GitHub's integrated automated workflow mechanism called GitHub Actions promotes the use of Actions as reusable building blocks in workflows. The majority of those Actions are developed in JavaScript and depend on packages distributed through the npm package manager. Those packages can suffer from security vulnerabilities, potentially affecting the Actions that rely on them. Using a dataset of 8,107 JavaScript Actions, we analysed to which extent dependencies on npm packages expose these Actions to vulnerabilities. We observed that JavaScript Actions tend to rely on dozens of npm packages, and that the vast majority of them depend on npm package releases with known vulnerabilities. Most of these vulnerabilities are caused by indirect dependencies, making it difficult for Actions maintainers to analyse their exposure to security vulnerabilities. Moreover, indirect dependencies are more likely to suffer from vulnerabilities of higher severity. We also studied to which extent security weaknesses occur in the source code of JavaScript Actions. To do so, we used CodeQL to detect security weaknesses, revealing that more than 54% of the studied JavaScript Actions contain at least one security weakness, and a small subset of these weaknesses recur frequently in their code. This justifies the need for further studies and more advanced tool support for addressing security issues in the GitHub Actions ecosystem.
引用
收藏
页码:692 / 703
页数:12
相关论文
共 47 条
  • [1] Automatic Security Assessment of GitHub Actions Workflows
    Benedetti, Giacomo
    Verderame, Luca
    Merlo, Alessio
    PROCEEDINGS OF THE 2022 ACM WORKSHOP ON SOFTWARE SUPPLY CHAIN OFFENSIVE RESEARCH AND ECOSYSTEM DEFENSES, SCORED 2022, 2022, : 37 - 45
  • [2] Mitigating Security Issues in GitHub Actions
    Delicheh, Hassan Onsori
    Mens, Tom
    PROCEEDINGS 2024 IEEE/ACM 4TH INTERNATIONAL WORKSHOP ON ENGINEERING AND CYBERSECURITY OF CRITICAL SYSTEMS AND 2024 IEEE/ACM SECOND INTERNATIONAL WORKSHOP ON SOFTWARE VULNERABILITY, ENCYCRIS/SVM 2024, 2024, : 6 - 11
  • [3] On the outdatedness of workflows in the GitHub Actions ecosystem
    Decan, Alexandre
    Mens, Tom
    Delicheh, Hassan Onsori
    JOURNAL OF SYSTEMS AND SOFTWARE, 2023, 206
  • [4] Characterizing the Security of Github CI Workflows
    Koishybayev, Igibek
    Nahapetyan, Aleksandr
    Zachariah, Raima
    Muralee, Siddharth
    Reaves, Bradley
    Kapravelos, Alexandros
    Machiry, Aravind
    PROCEEDINGS OF THE 31ST USENIX SECURITY SYMPOSIUM, 2022, : 2747 - 2763
  • [5] gawd: A Differencing Tool for GitHub Actions Workflows
    Mazrae, Pooya Rostami
    Decan, Alexandre
    Mens, Tom
    2024 IEEE/ACM 21ST INTERNATIONAL CONFERENCE ON MINING SOFTWARE REPOSITORIES, MSR, 2024, : 682 - 686
  • [6] CSRF protection in Java']JavaScript frameworks and the security of Java']JavaScript applications
    Peguero, Ksenia
    Cheng, Xiuzhen
    HIGH-CONFIDENCE COMPUTING, 2021, 1 (02):
  • [7] Reusable Inline Caching for Java']JavaScript Performance
    Choi, Jiho
    Shull, Thomas
    Torrellas, Josep
    PROCEEDINGS OF THE 40TH ACM SIGPLAN CONFERENCE ON PROGRAMMING LANGUAGE DESIGN AND IMPLEMENTATION (PLDI '19), 2019, : 889 - 901
  • [8] Java']JavaScript instrumentation for browser security
    Yu, Dachuan
    Chander, Ajay
    Islam, Nayeem
    Serikov, Igor
    ACM SIGPLAN NOTICES, 2007, 42 (01) : 237 - 249
  • [9] Let's Supercharge the Workflows: An Empirical Study of GitHub Actions
    Chen, Tingting
    Zhang, Yang
    Chen, Shu
    Wang, Tao
    Wu, Yiwen
    2021 21ST INTERNATIONAL CONFERENCE ON SOFTWARE QUALITY, RELIABILITY AND SECURITY COMPANION (QRS-C 2021), 2021, : 1089 - 1098
  • [10] Java']JavaScript Instrumentation for Browser Security
    Yu, Dachuan
    Chander, Ajay
    Islam, Nayeem
    Serikov, Igor
    CONFERENCE RECORD OF POPL 2007: THE 34TH ACM SIGPLAN SIGACT SYMPOSIUM ON PRINCIPLES OF PROGAMMING LANGUAGES, 2007, : 237 - 249