你的空间是我的区域:揭示预训练模型中心上AI赋能应用的安全风险
Your Space is My Zone: Demystifying the Security Risks of AI-Powered Applications on Pre-Trained Model Hubs
AI总结:
首次系统分析三大AI应用平台的安全风险,发现访问控制失效、资源重用不安全等五类威胁,并提出分析框架Insightor,在97万应用中检测到数千个凭证泄露、数百个输入注入漏洞和数十个后门。
摘要:
AI赋能应用(AI-Apps)托管在Hugging Face等平台上,通过在线推理和微调服务使预训练模型的访问民主化。在降低AI采用门槛的同时,这些平台引入了未被探索的攻击面,因为AI-Apps通常由不可信方开发,隔离薄弱且安全配置错误。本文首次对三大领先平台上的AI-Apps进行系统性安全分析。为构建研究框架,我们将AI-App生命周期映射到已建立的风险分类法(如OWASP),识别出五类威胁和十个攻击向量,涵盖从通用Web缺陷到高影响力架构问题。我们的分析揭示了关键失败,包括访问控制失效、资源重用不安全、输入验证不足和敏感数据泄露。值得注意的是,我们发现了平台设计固有的三个新型架构漏洞,并展示了传统问题(如全局可读日志)如何在此生态系统中被独特放大。为评估实际影响,我们开发了分析框架Insightor,并将其应用于超过97万个公开AI-Apps。令人震惊的是,我们发现数千个应用泄露凭证,数百个存在允许任意代码执行的输入注入漏洞,以及数十个包含嵌入式后门——表明存在主动利用。我们已向受影响的平台和开发者负责任地披露了所有发现。
英文摘要:
AI-powered Applications (AI-Apps), hosted on platforms such as Hugging Face, are democratizing access to pre-trained models through online inference and fine-tuning services. While lowering AI adoption barriers, these platforms introduce an unexplored attack surface, as AI-Apps are often developed by untrusted parties with weak isolation and misconfigured security settings. In this paper, we present the first systematic security analysis of AI-Apps across three leading platforms. To structure our investigation, we map the AI-App lifecycle to established risk taxonomies (e.g., OWASP), identifying five threat categories and ten attack vectors ranging from generic web flaws to high-impact architectural issues. Our analysis reveals critical failures including broken access control, insecure resource reuse, insufficient input validation, and sensitive data exposure. Notably, we uncover three novel architectural vulnerabilities inherent to platform design and demonstrate how traditional issues (e.g., world-readable logs) are uniquely amplified in this ecosystem. To assess real-world impact, we develop an analysis framework Insightor and apply it to over 970,000 public AI-Apps. Alarmingly, we find thousands of apps leaking credentials, hundreds containing input injection vulnerabilities that allow arbitrary code execution, and tens harboring embedded backdoors -- indicating active exploitation. We have responsibly disclosed all findings to the affected platforms and developers.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。