arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2611.06358cs.SE
收藏

让模糊测试工具持续待命:修复持续开源模糊测试中的构建中断问题

Keeping Fuzzers on Duty: Repairing Fuzzing Build Breakages in Continuous Open-Source Fuzzing

Tianjin University(天津大学);Nanyang Technological University(南洋理工大学);Google(谷歌)

Zhuang Zhao, Jiongchi Yu, Yao Zhang, Dongge Liu, Qiang Hu, Xiaohong Li, Yang Liu

AI总结:

针对开源模糊测试平台的构建中断问题,提出FuzzMedic智能体,通过证据引导诊断和修复状态图探索修复方案,在128个真实案例中修复率达48.44%,29个补丁已合并到相关分支。

摘要:

OSS-Fuzz等持续模糊测试平台为开源项目提供持续的安全测试,但长期构建中断会降低安全覆盖范围并浪费基础设施资源。在OSS-Fuzz中,约20%的集成项目处于构建失败状态,导致其模糊测试工具弃权(不执行)。这些失败暴露出平台维护者与项目维护者之间的维护缺口:平台维护者缺乏项目特定背景,而项目维护者通常缺乏模糊测试和基础设施专业知识。现有的程序修复技术无法直接应用,因为模糊测试构建中断涉及不断演变的项目和基础设施工件,且需要反复感知基础设施的诊断。我们提出FuzzMedic,一种用于模糊测试构建修复的智能体。FuzzMedic在项目和模糊测试基础设施工件上执行证据引导的诊断,在记录不断演变的工作空间和构建反馈的修复状态图(RSG)上探索修复方案,分支和回滚功能使FuzzMedic能够在长周期调试中从无效的修复路径中恢复。候选补丁经过验证以恢复可执行的模糊测试目标,而非仅抑制构建失败。我们从1820个真实失败中提取128个可复现的OSS-Fuzz构建失败来评估FuzzMedic,其修复率达48.44%,优于三个代表性程序修复基线。在实际使用中,它生成29个补丁被合并到上游或OSS-Fuzz主分支,包括修复三个已超过一年未解决的失败和两个从未成功构建的案例。

英文摘要:

Continuous fuzzing platforms such as OSS-Fuzz provide sustained security testing for open-source projects, but long-term build breakages reduce security coverage and waste infrastructure resources. In OSS-Fuzz, around 20% of integrated projects remain in build-failure states, leaving their fuzzers off duty. These failures expose a maintenance gap between platform maintainers, who lack project-specific context, and project maintainers, who often lack fuzzing and infrastructure expertise. Existing program-repair techniques cannot be directly applied because fuzz build breakages span evolving project and infrastructure artifacts and require repeated infrastructure-aware diagnosis. We present FuzzMedic, an automated agent for fuzz build repair. FuzzMedic performs evidence-guided diagnosis across project and fuzzing-infrastructure artifacts. It explores repairs over a repair-state graph (RSG) that records the evolving workspace and build feedback. Branching and rollback enable FuzzMedic to recover from unproductive repair paths during long-horizon debugging. Candidate patches are validated to restore executable fuzz targets rather than merely suppress build failures. We evaluate FuzzMedic on 128 reproducible OSS-Fuzz build failures extracted from 1,820 real-world failures. FuzzMedic achieves a 48.44% repair rate and outperforms three representative program-repair baselines. In real-world use, it produces 29 patches merged into upstream or OSS-Fuzz main branches, including repairs for three failures that had remained unresolved for more than one year and two cases that had never built successfully.

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

↑