paperbot · PL 论文追踪

全部论文 待读 收藏

P2 MASC: A Tool for Mutation-Based Evaluation of Static Crypto-API Misuse Detectors

MASC:一个基于变异的静态 Crypto-API 误用检测器评估工具
FSE Proceedings of the 31st ACM Joint European Software Engineering Conference and Symposium on the Foundations of Software Engineering2023匹配度 3/10 · 论文属于静态分析工具的评估与变异测试,但聚焦 crypto-API 误用检测器,未涉及 LLM/Agent、浮点程序分析或贝叶斯程序分析等用户核心方向,仅有静态分析方法论上的间接关联。引用 8 inbox
Amit Seal Ami, Syed Yusuf Ahmed, Radowan Mahmud Redoy, Nathan Cooper, Kaushal Kafle, Kevin Moran, Denys Poshyvanyk, Adwait Nadkarni
crossref: 2026-09-12dblp: 2026-09-12arxiv: 2026-09-12

AI 速览

一句话:提出 MASC 工具,用 12 个变异算子与三种变异范围评估静态 crypto-API 误用检测器,发现 19 个未记录缺陷

软件工程师日益广泛地采用 crypto-API 误用检测器,但其实际有效性缺乏严格评估。本文介绍工具 MASC 的技术细节与使用场景:它提供 12 个可泛化的、基于使用方式的变异算子,以及 Main、Similarity、Exhaustive 三种变异范围,能够实例化出可编译的 crypto-API 误用变体,从而对静态检测器开展变异分析。MASC 支持参数配置,并同时提供命令行接口与 Web 前端,便于不同经验水平的用户使用。作者用 MASC 评估了 9 个主流 crypto-detectors,发现 19 个此前未记录的独特缺陷。

问题
crypto-API 误用检测器在开发流程中被广泛采用,但人们对其发现真实 crypto-API 误用的实际有效性缺乏严格的评估手段。
方法
提出 MASC 工具,定义 12 个可泛化、基于使用方式的变异算子与 Main、Similarity、Exhaustive 三种变异范围,用以生成可编译的 crypto-API 误用变体来变异式地测试静态检测器;工具可配置,并提供命令行接口与 Web 前端。
评估
使用 MASC 对 9 个主流 crypto-detectors 进行变异分析评估,共发现 19 个此前未被记录的独特缺陷,验证了工具的实用性。
原文摘要(Abstract)

While software engineers are optimistically adopting crypto-API misuse detectors (or crypto-detectors) in their software development cycles, this momentum must be accompanied by a rigorous understanding of crypto-detectors’ effectiveness at finding crypto-API misuses in practice. This demo paper presents the technical details and usage scenarios of our tool, namely Mutation Analysis for evaluating Static Crypto-API misuse detectors (MASC). We developed 12 generalizable, usage based mutation operators and three mutation scopes, namely Main Scope, Similarity Scope, and Exhaustive Scope, which can be used to expressively instantiate compilable variants of the crypto-API misuse cases. Using MASC, we evaluated nine major crypto-detectors, and discovered 19 unique, undocumented flaws. We designed MASC to be configurable and user-friendly; a user can configure the parameters to change the nature of generated mutations. Furthermore, MASC comes with both Command Line Interface and Web-based front-end, making it practical for users of different levels of expertise.

链接与引用

DOI 原文 · arXiv · PDF(开放获取) · DBLP

BibTeX
@inproceedings{AmiARCKMPN23,
  title = {MASC: A Tool for Mutation-Based Evaluation of Static Crypto-API Misuse Detectors},
  author = {Amit Seal Ami and Syed Yusuf Ahmed and Radowan Mahmud Redoy and Nathan Cooper and Kaushal Kafle and Kevin Moran and Denys Poshyvanyk and Adwait Nadkarni},
  booktitle = {FSE},
  year = {2023},
  doi = {10.1145/3611643.3613099}
}