一句话:通过实证评估揭示 Python SAST 工具在检测真实漏洞方面与实际 CWE 覆盖声明之间的差距。
Python 已成为最流行的编程语言,其应用安全性备受关注。静态应用安全测试(SAST)工具被引入以满足这一需求,并声称支持广泛的通用缺陷枚举(CWE)。然而,这些工具在检测 Python 程序真实漏洞方面的能力尚未得到全面评估。本文对面向 Python 的 SAST 工具开展实证研究,系统考察其在不同 CWE 类别和真实漏洞样本上的检测表现,分析工具声明能力与实际效果之间的差异,并讨论导致漏报、误报及覆盖不足的可能原因。研究结果为 Python 开发者选择与使用 SAST 工具提供了经验依据,也为改进静态安全分析工具指明了方向。
Python is currently the most popular programming language and ensuring the security of Python applications has become a critical concern. Static Application Security Testing (SAST) tools have been introduced to address this need, claiming to support a wide range of Common Weakness Enumerations (CWEs). However, the ability of these tools to detect real-world vulnerabilities in Python programs has not been comprehensively evaluated.