Argus:基于分层参考关系的多智能体敏感信息泄露检测框架
Argus: A Multi-Agent Sensitive Information Leakage Detection Framework Based on Hierarchical Reference Relationships
AI总结:
Argus通过多智能体协作框架整合关键内容、文件上下文和项目参考关系,有效降低误报率,提升敏感信息检测的准确性和效率。
摘要:
代码仓库中的敏感信息泄露已成为一个关键的安全挑战。传统依赖正则表达式、指纹特征和高熵计算的检测方法往往导致较高的误报率。这不仅降低了检测效率,也显著增加了开发人员的手动筛查负担。近年来,大型语言模型(LLMs)和多智能体协作架构的进展表明了处理复杂任务的显著潜力,为敏感信息检测提供了新的技术视角。针对这些挑战,我们提出了Argus,一种用于检测敏感信息的多智能体协作框架。Argus采用三级检测机制,整合关键内容、文件上下文和项目参考关系,以有效减少误报并提高整体检测精度。为了在真实世界仓库环境中全面评估Argus,我们开发了两个新的基准测试,一个用于评估真实泄露检测能力,另一个用于评估误报过滤性能。实验结果表明,Argus在泄露检测中的准确率达到最高94.86%,精确度为96.36%,召回率为94.64%,F1分数为0.955。此外,对97个真实仓库的分析总成本仅为2.2美元。所有代码实现和相关数据集均在https://github.com/TheBinKing/Argus-Guard公开,供进一步研究和应用。
英文摘要:
Sensitive information leakage in code repositories has emerged as a critical security challenge. Traditional detection methods that rely on regular expressions, fingerprint features, and high-entropy calculations often suffer from high false-positive rates. This not only reduces detection efficiency but also significantly increases the manual screening burden on developers. Recent advances in large language models (LLMs) and multi-agent collaborative architectures have demonstrated remarkable potential for tackling complex tasks, offering a novel technological perspective for sensitive information detection. In response to these challenges, we propose Argus, a multi-agent collaborative framework for detecting sensitive information. Argus employs a three-tier detection mechanism that integrates key content, file context, and project reference relationships to effectively reduce false positives and enhance overall detection accuracy. To comprehensively evaluate Argus in real-world repository environments, we developed two new benchmarks, one to assess genuine leak detection capabilities and another to evaluate false-positive filtering performance. Experimental results show that Argus achieves up to 94.86% accuracy in leak detection, with a precision of 96.36%, recall of 94.64%, and an F1 score of 0.955. Moreover, the analysis of 97 real repositories incurred a total cost of only 2.2$. All code implementations and related datasets are publicly available at https://github.com/TheBinKing/Argus-Guard for further research and application.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。