SkillFuzz: 面向开放技能市场中隐式意图发现的技能组合模糊测试
SkillFuzz: Fuzzing Skill Composition for Implicit Intents Discovery in Open Skill Marketplaces
AI总结:
提出SkillFuzz,首个无需执行的模糊测试方法,通过提取结构化技能契约并利用契约引导的蒙特卡洛树搜索,在开放技能市场中高效发现因技能组合导致的隐式意图,验证了80%以上高风险组合。
摘要:
基于大语言模型的智能体通过可复用的技能(即指导规划和执行的自然语言指令文档)日益自动化软件工程任务。开放技能市场允许用户通过共同激活社区贡献的技能来组装智能体,但市场运营商通常孤立地审核技能。因此,单独良性的技能可能相互作用,将智能体重定向到非预期的目标,我们称之为隐式意图。检测此类意图具有挑战性,因为其效果仅通过技能组合出现,执行环境在准入时通常不可用,且可能的共同激活空间随市场规模呈指数增长。本文中,我们将隐式意图发现形式化为一个关于技能组合的模糊测试问题,其中技能组合是被测单元,规划产物在执行前暴露智能体意图,而无技能基线的偏差作为差异预言。基于此形式化,我们提出SkillFuzz,首个无需执行的测试方法,它提取结构化技能契约,并使用契约引导的蒙特卡洛树搜索来优先处理潜在冲突的组合。在代表性技能市场工作负载上,SkillFuzz在固定查询预算下发现超过1000个不同的隐式意图,在执行时验证中确认了80%以上的最高风险标记组合,并且与替代搜索策略相比,在仅探索它们所需的成对交互空间的一小部分的同时,识别出更多高严重性的隐式意图。
英文摘要:
Large Language Model (LLM)-based agents increasingly automate software engineering tasks through reusable skills, natural-language instruction documents that guide planning and execution. Open skill marketplaces enable users to assemble agents by co-activating community-contributed skills, but marketplace operators typically audit skills in isolation. As a result, individually benign skills may interact to redirect an agent toward unintended objectives, which we term implicit intents. Detecting such intents is challenging because the effect emerges only through skill composition, execution environments are often unavailable at admission time, and the space of possible co-activations grows exponentially with marketplace size. In this paper, we formulate implicit-intent discovery as a fuzzing problem over skill compositions, where skill compositions are the unit under test, planning artifacts expose agent intent before execution, and deviations from a skill-free baseline serve as a differential oracle. Based on this formulation, we propose skillfuzz, the first execution-free testing approach that extracts structured skill contracts and uses contract-guided Monte Carlo Tree Search to prioritize potentially conflicting compositions. Across representative skill-marketplace workloads, skillfuzz discovers over 1,000 distinct implicit intents under a fixed query budget, confirms more than 80% of the highest-risk flagged compositions during execution-time validation, and identifies substantially more high-severity implicit intents than alternative search strategies while exploring only a fraction of the pairwise interaction space they require.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。