arXiv:2607.01136cs.SEcs.AI2026-07被引 3

为大模型技能构建依赖图谱,揭示隐藏风险并提出管理方案

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

论文配图:Skills Are Not Islands: Measuring Dependency and Risk in Agent Skill Supply Chains
图 1 · 摘自论文原文
  • 将技能视为带依赖的构件,用自然语言分析提取依赖关系
  • 在143万技能中发现四类结构模式与安全信号,误报率低
  • 适合技能开发者、平台维护者及安全审计人员参考

大型语言模型(LLM)代理的技能包封装了可复用的操作知识,但随着规模扩大,其身份、版本和来源变得隐性,导致依赖重复与安装不一致。本文提出代理技能供应链(ASSCs)来刻画技能-包-服务的混合依赖图,并借鉴软件物料清单(SBOM)设计了SkillDepAnalyzer,通过自然语言证据捕获依赖信息。在SKILL-DEP基准上,该方法显著优于基于LLM的基线和传统包中心工具。对超过143万技能的应用分析显示:技能元数据即用但治理缺失;依赖图覆盖技能、包与服务,存在集中复用;递归使用扩展依赖图并生成隐蔽包库存;依赖集群围绕相关工作流形成。单独审查技能会遗漏依赖中的安全信号。通过分析ASSCs,我们识别并报告了持续存在的已知恶意技能给其开发者。据此建议引入类型化依赖声明、依赖簇管理、风险预警审计命令和类似lockfile的记录机制。

原文摘要 · Abstract (English)

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.

智能体依赖管理安全审计技能供应链

Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。