再探第三方库检测:一个真值数据集及其在跨安全任务中的启示
Revisiting Third-Party Library Detection: A Ground Truth Dataset and Its Implications Across Security Tasks
AI总结:
本研究构建带版本级标注的第三方库真值数据集,对10种主流检测工具开展大规模评估,揭示其多项缺陷,并分析第三方库对四类下游安全任务的影响,为相关改进提供依据。
摘要:
准确检测第三方库(TPLs)是Android安全的基础,可为漏洞追踪、恶意软件检测和供应链审计提供支撑。尽管已有众多工具被提出,但它们在真实场景下的有效性仍不明确。我们构建了一个全新的真值数据集,对远程和本地依赖均提供精确的版本级标注,基于该数据集,我们对10种最先进的TPL检测技术开展了首个大规模实证研究,涉及6000余款应用。评估结果揭示了这些工具存在的问题:对R8时代的代码转换表现脆弱、版本区分能力弱、候选库对应关系不准确、相似度阈值难以泛化,以及大规模场景下运行时间和内存开销过高。除工具评估外,我们进一步分析了TPL如何影响下游任务,包括漏洞分析、恶意软件检测、密钥泄露评估和基于大语言模型(LLM)的评估。从这一角度出发,本研究明确了TPL特性对这些任务的影响,为安全分析的未来改进提供了参考。
英文摘要:
Accurate detection of third-party libraries (TPLs) is fundamental to Android security, supporting vulnerability tracking, malware detection, and supply chain auditing. Despite many proposed tools, their real-world effectiveness remains unclear. We present the first large-scale empirical study of ten state-of-the-art TPL detection techniques across over 6,000 apps, enabled by a new ground truth dataset with precise version-level annotations for both remote and local dependencies. Our evaluation exposes tool fragility to R8-era transformations, weak version discrimination, inaccurate correspondence of candidate libraries, difficulty in generalizing similarity thresholds, and prohibitive runtime/memory overheads at scale. Beyond tool assessment, we further analyze how TPLs shape downstream tasks, including vulnerability analysis, malware detection, secret leakage assessment, and LLM-based evaluation. From this perspective, our study provides concrete insights into how TPL characteristics affect these tasks and informs future improvements in security analysis.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。