paperbot · PL 论文追踪

全部论文 待读 收藏

P1 How Your Credentials Are Leaked by LLM Agent Skills: An Empirical Study

LLM Agent 技能如何泄露你的凭证:一项实证研究
ASE Proceedings of the 41st IEEE/ACM International Conference on Automated Software Engineering2026匹配度 6/10 · 论文面向 LLM Agent Skills 的凭证泄露做大规模实证,使用静态秘密提取(正则/AST)与动态沙箱分析,和“在 Agentic 程序中应用静态分析”有直接交集,且强调自然语言描述与程序逻辑的跨模态联合分析;但其核心是安全与隐私实证,并非静态分析/形式化方法本身的贡献。引用 15 inbox
Zhihao Chen, Ying Zhang, Yi Liu, Gelei Deng, Yuekang Li, Yanjun Zhang, Jianting Ning, Leo Yu Zhang, Lei Ma, Zhiqiang Li
crossref: 2026-10-09

AI 速览

一句话:首次大规模实证研究 LLM agent 技能的凭证泄露,归纳出 10 类泄露模式,并揭示 fork 分发使修复失效。

论文首次大规模实证研究 LLM agent 第三方技能的凭证泄露。作者从开源技能市场 SkillsMP 的 170,226 个制品中分层抽样 17,022 个技能,用静态密钥提取(正则与 AST 解析)、注入 mock 凭证的动态沙箱测试及开发者意图比对,发现 520 个受影响技能、1,708 个安全问题,归纳出 10 类泄露模式。关键结果:76.3% 的案例需联合分析自然语言描述与程序逻辑,表明凭证暴露是跨模态的;Information Exposure 占 73.5%,因 agent 框架把 stdout 注入 LLM 上下文;89.6% 的泄露凭证可立即利用,fork 分发更使修复失效。恶意技能已移除,数据集与流水线开源。

问题
LLM agent 日益依赖在特权环境中运行、并例行处理敏感凭证的第三方技能,但这些凭证究竟如何被泄露尚缺乏系统性认识。
方法
从 SkillsMP 的 170,226 个制品中分层随机抽样 17,022 个技能,先做静态密钥提取(正则与 AST 解析),再对可疑样本注入 mock 凭证进行动态沙箱测试,并将开发者意图与运行时行为交叉比对,据此归纳泄露模式分类体系。
评估
分析发现 520 个受影响技能与 1,708 个安全问题,得到 10 类泄露模式,并量化了跨模态分析需求、Information Exposure 占比、凭证可利用性及 fork 分发导致修复失效等现象;恶意技能经负责任披露后已下架。
原文摘要(Abstract)

Large Language Model (LLM) agents increasingly rely on third-party skills that operate within privileged execution environments and routinely handle sensitive credentials, yet how these credentials are leaked remains largely unexplored. To fill this gap, we present the first large-scale empirical study on credential leakage in agent skills. From 170,226 artifacts on SkillsMP, the largest open-source skill marketplace, we sampled 17,022 skills via stratified random sampling and analyzed each through static secret extraction (regex and AST parsing), dynamic sandbox testing of flagged candidates seeded with mock credentials, and cross-referencing developer intent against runtime behavior. Our analysis identifies 520 affected skills containing 1,708 security issues, and yields a taxonomy of 10 leakage patterns. Three findings stand out. First, 76.3% of cases require jointly analyzing natural-language descriptions and programming logic, showing that credential exposure in skills is fundamentally cross-modal. Second, Information Exposure accounts for 73.5% of vulnerability issues because agent frameworks feed stdout into the LLM context window, turning routine debugging into a credential exposure vector. Third, 89.6% of leaked credentials are immediately exploitable, and the fork-based distribution model defeats remediation, as secrets removed from upstream repositories persist across 50+ independent forks. Following responsible disclosure, all malicious skills have been removed. We release our dataset, taxonomy, and detection pipeline to support future agent security research.

链接与引用

DOI 原文 · arXiv ·

BibTeX
@inproceedings{paperbot12240,
  title = {How Your Credentials Are Leaked by LLM Agent Skills: An Empirical Study},
  author = {Zhihao Chen and Ying Zhang and Yi Liu and Gelei Deng and Yuekang Li and Yanjun Zhang and Jianting Ning and Leo Yu Zhang and Lei Ma and Zhiqiang Li},
  booktitle = {ASE},
  year = {2026},
  doi = {10.1145/3832783.3834373}
}