跳到正文
原文
AGI Hunt· iamjessew·· 5 小时前AI 评分61

Reddit 讨论 Hugging Face auto_map 与 trust_remote_code 引发的代码执行风险

加载新模型前你查 auto_map 吗?选模型也能触发代码执行

AI 导读

Reddit ML 讨论帖指出,从 Hugging Face 拉取新的 fine-tune/merge 模型时,config 里的 auto_map 与 trust_remote_code 可能触发任意代码执行。

来源:AGI Hunt · agihunt.info