MalGuard:面向 PyPI 生态恶意包的实时、准确且可操作检测MalGuard: Towards Real-Time, Accurate, and Actionable Detection of Malicious Packages in PyPI Ecosystem
AI 导读
MalGuard 结合图中心性分析与 LIME 算法检测 PyPI 生态恶意包,自动提取敏感 API、用 LLM 细化特征集并提供可解释结果。与六个 SOTA 基线同设置对比,其精确率提升 0.5%-33.2%,召回率提升 1.8%-22.1%。五周内从 64,348 个新上传包中识别出 113 个此前未知的恶意包,其中 109 个已被 PyPI 官方移除。