AI供应链中的脆弱模型:采用、传播与使用模式的实证研究 Vulnerable Models in the AI Supply Chain: An Empirical Study of Adoption, Propagation, and Usage Patterns 预印本

⚠️ 本文为 预印本(arXiv 公开版本),尚未经过正式同行评审。作者自发公开,结论未经期刊审稿验证,阅读时请知悉。
发布时间:2026-10-09
⬇️ 2 次下载
👁️ 预览文献
💡 AI 中文简介
研究关注AI模型共享生态中的安全隐患:许多公开模型存在不安全序列化、架构后门等漏洞。作者追踪了HuggingFace上被标记为脆弱的16,977个模型,发现其中3,757个(22.1%)被至少一个项目实际引用,共出现在5,000多个开源仓库的21,000多处代码位置。通过代码属性图与频繁子图挖掘分析使用模式,发现开发者普遍不做来源验证或模型净化,常绕过安全参数、依赖框架默认的宽松设置。结论是仅扫描模型文件不够,需在应用层加强上下文安全分析与集成防护。
领域软件供应链安全 / AI模型安全
适合谁读需要一定专业背景(软件安全、AI工程或实证软件工程方向读者)
核心贡献首次大规模实证追踪已知脆弱模型从模型库到下游代码、微调链和部署应用的实际传播路径;结合代码属性图与定制频繁子图挖掘,系统刻画开发者集成脆弱模型时的重复使用模式与安全缺失。
关键数据追踪16,977个被标记脆弱模型;3,757个(22.1%)被至少一个项目引用;出现在5,000多个开源仓库的21,000多处代码位置;所有使用模式中均未发现来源验证或模型净化逻辑。
推荐理由如果你以为给模型打个“脆弱”标签就万事大吉,这项研究用两万多处真实代码告诉你:开发者照用不误,安全防线得往应用层再推一步。
关键词["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.