arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2610.12893cs.CRcs.SE
收藏

AI供应链中的脆弱模型:关于采用、传播与使用模式的实证研究

Vulnerable Models in the AI Supply Chain: An Empirical Study of Adoption, Propagation, and Usage Patterns

Adelaide University(阿德莱德大学);ElevexAI Systems(ElevexAI系统)

The Anh Nguyen, Triet Huynh Minh Le, M. Ali Babar

AI总结:

本研究通过大规模实证分析HuggingFace上16977个InsightDB标记的脆弱模型,发现其仍被大量开源项目引用,且缺乏来源验证与净化逻辑,呼吁AI供应链应用层加强上下文感知安全分析与集成防护。

摘要:

人工智能(AI)模型的快速集成构建了复杂的供应链,但许多共享的模型制品存在严重漏洞,如不安全的序列化和架构后门。尽管已有大量研究对模型注册表进行扫描以标记恶意制品,但仍存在关键缺口:开发者如何实际采用并将这些不安全模型集成到下游软件系统中。本研究通过对InsightDB标记的HuggingFace上16977个已知脆弱模型的使用与传播情况开展大规模实证研究,追踪其在GitHub代码仓库、软件包、微调链及已部署应用中的流行程度。分析显示,尽管已被公开标记,这些脆弱模型仍出现在超过5000个开源仓库的21000余处代码位置,其中3757个不同的标记模型(占比22.1%)被至少一个项目主动引用。为理解这些模型在代码中的集成方式并识别重复使用模式,研究人员构建了定制化流程,结合代码属性图(Code Property Graphs)提取与定制化频繁子图挖掘方法,对围绕这些模型的重复模式进行分类分析。在所有模式中,未发现任何来源验证或模型净化逻辑的证据,开发者常绕过安全参数或信任框架的宽松默认设置。这些发现表明,仅扫描模型文件是不够的,凸显了AI供应链应用层亟需上下文感知的安全分析及更严格的集成防护措施。

英文摘要:

The rapid integration of Artificial Intelligence (AI) models has established a complex supply chain, but many of these shared artifacts harbor severe vulnerabilities such as insecure serialization and architectural backdoors. While prior efforts have extensively scanned model registries to flag malicious artifacts, a critical gap remains in understanding how developers actually adopt and integrate these unsafe models into downstream software systems. We bridge this gap by conducting a large-scale empirical study on the usage and propagation of 16,977 known vulnerable models on HuggingFace flagged by InsightDB. We track their prevalence across GitHub repositories, software packages, fine-tuning chains, and deployed applications. Our analysis reveals that, despite being publicly flagged, these vulnerable models appear in over 21,000 code locations across more than 5,000 open-source repositories, with 3,757 distinct flagged models (22.1\%) actively referenced in at least one project. To understand how these models are integrated in code and identify recurring usage patterns, we categorize and analyze the recurring patterns surrounding them via a customized pipeline that combines Code Property Graphs extraction with a tailored Frequent Subgraph Mining approach. Across all patterns, we find no evidence of provenance verification or model sanitization logic, with developers frequently bypassing security parameters or delegating trust to permissive framework defaults. These findings underscore that scanning model files alone is insufficient, highlighting the urgent need for context-aware security analysis and stricter integration guardrails at the application layer of the AI supply chain.

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

↑