Finding 709 Defects in 258 Projects: An Experience Report on Applying CodeQL to Open-Source Embedded Software (Experience Paper) -- Extended Report
Mingjie Shen, Akul Abhilash Pillai, Brian A. Yuan, James C. Davis, Aravind Machiry
备注:
This is the extended version of: Mingjie Shen, Akul Abhilash Pillai, Brian A. Yuan, James C. Davis, and Aravind Machiry. 2025. Finding 709 Defects in 258 Projects: An Experience Report on Applying CodeQL to Open-Source Embedded Software (Experience Paper). Proc. ACM Softw. Eng. 2, ISSTA, Article ISSTA048 (July 2025), 24 pages. https://doi.org/10.1145/3728923
In this experience paper, we report on a large-scale empirical study of Static Application Security Testing (SAST) in Open-Source Embedded Software (EMBOSS) repositories. We collected a corpus of 258 of the most popular EMBOSS projects, and then measured their use of SAST tools via program analysis and a survey (N=25) of their developers. Advanced SAST tools are rarely used -- only 3% of projects go beyond trivial compiler analyses. Developers cited the perception of ineffectiveness and false positives as reasons for limited adoption. Motivated by this deficit, we applied the state-of-the-art (SOTA) CodeQL SAST tool and measured its ease of use and actual effectiveness. Across the 258 projects, CodeQL reported 709 true defects with a false positive rate of 34%. There were 535 (75%) likely security vulnerabilities, including in major projects maintained by Microsoft, Amazon, and the Apache Foundation. EMBOSS engineers have confirmed 376 (53%) of these defects, mainly by accepting our pull requests. Two CVEs were issued. Based on these results, we proposed pull requests to include our workflows as part of EMBOSS Continuous Integration (CI) pipelines, 37 (71% of active repositories) of these are already merged. In summary, we urge EMBOSS engineers to adopt the current generation of SAST tools, which offer low false positive rates and are effective at finding security-relevant defects.
Assessing the Students' Understanding and their Mistakes in Code Review Checklists -- An Experience Report of 1,791 Code Review Checklist Questions from 394 Students
DeepHunter: Hunting Deep Neural Network Defects via Coverage-Guided Fuzzing
Nanyang Technological University(南洋理工大学);Harbin Institute of Technology(哈尔滨工业大学);Carnegie Mellon University(卡内基梅隆大学);University of Illinois at Urbana–Champaign(伊利诺伊大学厄巴纳-香槟分校);Kyushu University(九州大学);NVIDIA AI Technology Center(英伟达人工智能技术中心)
Productive Reproducible Workflows for DNNs: A Case Study for Industrial Defect Detection
University of Glasgow(格拉斯哥大学)
随着深度神经网络(DNN)成为越来越普遍的工作负载,可用于帮助其开发和部署的库和工具的范围显着增长。可扩展的生产质量工具在许可证下免费提供,并且可以访问,即使是小团队也可以非常高效。然而,在研究界,对上述工具的认识和使用并不一定广泛,研究人员可能会错过利用最新工具和工作流程带来的潜在生产力收益。本文介绍了一个案例研究,我们讨论了我们最近的经验,生产一个端到端的人工智能应用程序的工业缺陷检测。我们详细介绍了高级深度学习库、容器化工作流、持续集成/部署管道和开源代码模板,我们利用它们来产生有竞争力的结果,使其他排名解决方案的性能与我们的三个目标数据集相匹配。我们强调了利用这些系统可以带来的价值,即使是研究,并详细介绍了我们的解决方案,并在服务器级GPU上的准确性和推理时间方面展示了我们的最佳结果,以及服务器级CPU和Raspberry Pi 4上的推理时间。