arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2607.01136cs.SEcs.AI
收藏

技能并非孤岛:衡量智能体技能供应链中的依赖性与风险

Skills Are Not Islands: Measuring Dependency and Risk in Agent Skill Supply Chains

Peking University(北京大学);Zhongguancun Laboratory(中关村实验室)

Changguo Jia, Tianqi Zhao, Runzhi He, Minghui Zhou

AI总结:

提出智能体技能供应链(ASSC)概念,设计SkillDepAnalyzer工具从自然语言中提取依赖关系,在超143万技能上揭示四种结构模式和安全风险,建议类型化依赖清单和风险预警审计。

摘要:

智能体技能为大型语言模型(LLM)智能体封装了可复用的操作知识,但随着其范围扩大,它们成为带有依赖关系的工件,其身份、版本和来源仍然隐式。这种不透明性已经导致重复依赖和不一致安装,暴露出依赖管理尚未填补的空白。我们引入智能体技能供应链(ASSC)来表征混合的技能-包-服务依赖图,并帮助填补这一空白。借鉴软件物料清单(SBOM),我们设计了SkillDepAnalyzer来捕获自然语言依赖证据,并将技能建模为带有依赖关系的工件。在SKILL-DEP基准上,SkillDepAnalyzer准确且全面地恢复了技能元数据和依赖图,显著优于基于LLM的基线和以包为中心的SBOM工具。将SkillDepAnalyzer应用于超过143万个技能,我们获得了ASSC,并探索了其结构多样性和安全信号。我们发现了四种结构模式:技能元数据可激活但治理薄弱;依赖图涵盖技能、包和服务依赖,且复用集中;递归技能复用扩展依赖图并创建隐藏的包清单;技能依赖簇围绕相关工作流形成。我们还发现,仅检查单个技能会遗漏隐藏在其依赖中的安全相关信号。通过分析ASSC,我们识别并报告了持续存在于ASSC中的已知恶意技能给其开发者。基于这些发现,我们建议为技能基础设施维护者提供类型化依赖清单、一等依赖簇管理、风险预警审计命令,以及为技能开发者提供类似锁文件的记录。

英文摘要:

Agent skills package reusable operational knowledge for Large Language Model (LLM) agents, yet as they grow in scope, they become dependency-bearing artifacts whose identities, versions, and provenance remain implicit. This opacity already causes duplicated dependencies and inconsistent installations, exposing a gap that dependency management has yet to close. We introduce Agent Skill Supply Chains (ASSCs) to characterize mixed skill-package-service dependency graphs and help close this gap. Borrowing from Software Bill of Materials (SBOMs), we design SkillDepAnalyzer to capture natural-language dependency evidence and model skills as dependency-bearing artifacts. On the SKILL-DEP benchmark, SkillDepAnalyzer recovers skill metadata and dependency graphs accurately and comprehensively, substantially outperforming an LLM-based baseline and package-centric SBOM tools. Applying SkillDepAnalyzer to over 1.43 million skills, we obtain ASSCs and explore their structural diversity and security signals. We find four structural patterns: skill metadata is activation-ready but governance-poor; dependency graphs span skill, package, and service dependencies with concentrated reuse; recursive skill reuse expands dependency graphs and creates hidden package inventory; and skill dependency clusters form around related workflows. We also find that inspecting a skill alone misses security-relevant signals hiding in its dependencies. By analyzing ASSCs, we identify and report known malicious skills persisting in ASSCs to their developers. Based on these findings, we recommend typed dependency manifests, first-class dependency-cluster management, risk-warning audit commands for skill infrastructure maintainers, and lockfile-like records for skill developers.

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

↑