针对Hugging Face模型中AI/ML供应链攻击的大规模漏洞利用 instrumentation 研究
A Large-Scale Exploit Instrumentation Study of AI/ML Supply Chain Attacks in Hugging Face Models
AI总结:
该研究调研Hugging Face平台上不安全Python序列化方法的普遍程度,验证相关模型可被利用传播的风险,探究平台的风险标记能力,并开发恶意模型检测技术,发现平台存在大量潜在易受攻击的模型。
摘要:
机器学习(ML)技术的发展为开发者开发和部署自有模型提供了大量机会。Hugging Face是一个开源平台,开发者可在其上分享和下载各类模型,以提升ML开发的协作性。模型要实现共享,首先需要进行序列化。某些Python序列化方法被认为存在安全隐患,因为它们易受对象注入攻击。本文调研了这类不安全序列化方法在Hugging Face平台上的普遍程度,并通过一种漏洞利用方法证明,使用不安全序列化方法的模型可被利用并传播,会给ML开发者营造不安全的环境。我们探究了Hugging Face能在多大程度上标记使用不安全序列化方法的代码仓库和文件,并开发了一种检测恶意模型的技术。结果表明,Hugging Face平台上存在大量潜在易受攻击的模型。
英文摘要:
The development of machine learning (ML) techniques has led to ample opportunities for developers to develop and deploy their own models. Hugging Face serves as an open source platform where developers can share and download other models in an effort to make ML development more collaborative. In order for models to be shared, they first need to be serialized. Certain Python serialization methods are considered unsafe, as they are vulnerable to object injection. This paper investigates the pervasiveness of these unsafe serialization methods across Hugging Face, and demonstrates through an exploitation approach, that models using unsafe serialization methods can be exploited and shared, creating an unsafe environment for ML developers. We investigate to what extent Hugging Face is able to flag repositories and files using unsafe serialization methods, and develop a technique to detect malicious models. Our results show that Hugging Face is home to a wide range of potentially vulnerable models.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。