任务(不可能的):面向开源无人机框架自动驾驶逻辑漏洞的自主发现
Mission (Im)Possible: Towards Autonomous Discovery of Autopilot Logic Flaws in Open-Source Drone Frameworks
AI总结:
本研究提出多智能体系统IMF,结合静态分析等技术与LLM智能体,在PX4和Ardupilot中发现105个未知自动驾驶逻辑漏洞,可导致多种不安全行为。
摘要:
自主无人机正越来越多地部署在安全关键任务中,但其自动驾驶软件仍可能包含细微的逻辑漏洞,导致不安全行为。这些漏洞难以用现有技术发现,因为它们通常依赖于模块、命令和运行时状态之间的语义关系,且很少表现为崩溃或可检测的故障。随着大型语言模型(LLM)的最新进展,我们观察到,当配备必要的领域知识和精心设计的上下文时,LLM展现出理解自动驾驶系统高层语义的强大能力,使其适用于逻辑漏洞发现。然而,LLM受限于上下文,且可能偏向于训练数据中频繁出现的漏洞,而逻辑漏洞通常需要更高层次的语义漏洞预言来识别其存在。为弥合这一差距,我们提出了Impossible Mission Finder(IMF),这是一个结合静态分析、动态执行和日志分析的多智能体系统,支持完全自主地识别、测试和验证自动驾驶车辆中的逻辑漏洞。IMF主要包含三个LLM智能体:首先使用审计智能体基于精心设计的程序切片提出逻辑漏洞假设,然后启动测试智能体为每个候选漏洞编写并执行测试用例,最后生成日志分析智能体,对照漏洞假设验证执行日志。这使IMF能够以逐个案例的方式动态验证漏洞预言,适用于发现没有统一模式的逻辑漏洞。我们在两个广泛使用的开源自动驾驶系统PX4和Ardupilot上评估了IMF,发现了105个先前未知的逻辑漏洞,这些漏洞可导致不安全行为,包括任务中断故障、无效动作、进入禁飞区等。
英文摘要:
Autonomous drones are increasingly deployed in safety-critical tasks, yet their autopilot software can still contain subtle logic flaws that lead to unsafe behaviors. These flaws are difficult to discover with existing techniques because they often depend on semantic relationships across modules, commands, and runtime state, and rarely manifest as crashes or detectable failures. With recent advances in LLMs, we observe that, when equipped with essential domain knowledge and carefully crafted context, LLMs demonstrate strong capabilities in understanding the high-level semantics of autopilot systems, making them suitable for logic flaw discovery. However, LLMs are limited by their context and can be biased to the vulnerabilities frequently occurs in training dataset, while logic flaws often require higher-level semantic bug oracles to identify their existence. To bridge the gap, we present Impossible Mission Finder (IMF), a multi-agent system combining static analysis, dynamic execution and log analysis, that supports fully automated identify, test, and validate logic flaws in autonomous vehicles. IMF primarily contains three LLM agents, it first uses the auditor agent to propose logic flaw hypothesis based on carefully-crafted program slicing, then it launches tester agents to write and execute test cases for each candidate, and finally it spawns the log analyzer agent to validate the execution log against the flaw hypothesis. This enables IMF dynamically validate bug oracles in a case-by-case manner, making it suitable for discovering logic flaws that do not have a unified pattern. We evaluated IMF on two widely used open-source autopilot systems, PX4 and Ardupilot, leading to 105 previously unknown logic flaws, that can cause unsafe behaviors including mission interruption failures, invalid actions, entering into restricted fly zones etc.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。