paperbot · PL 论文追踪

全部论文 待读 收藏

P2 Hallucinating Certificates: Differential Testing of TLS Certificate Validation Using Generative Language Models

幻觉证书:使用生成式语言模型对 TLS 证书验证进行差分测试
ICSE Proceedings of the 2026 IEEE/ACM 48th International Conference on Software Engineering2026匹配度 3/10 · 该论文用生成式语言模型合成证书来对 TLS 证书验证做差分测试,属于 LLM 辅助软件测试/动态分析,与用户核心关注的静态分析、形式化验证、浮点程序分析或贝叶斯程序分析交叉较少。虽然标签涉及机器学习与程序语言,但研究目标更偏网络安全测试,而非用户画像中的 PL/AI 交叉主线。引用 2 inbox
Muhammad Talha Paracha, Kyle Posluns, Kevin Borgolte, Martina Lindorfer, David Choffnes
crossref: 2026-09-12

AI 速览

一句话:利用生成式语言模型合成证书,对 TLS 证书验证进行差分测试以发现安全缺陷。

TLS 证书验证是网络安全的关键步骤,差分测试合成证书已能暴露意外接受不可信证书等问题;但随机变异或覆盖率引导的生成方法难以高效产生触发验证差异的输入,且程序与输入建模难以扩展。本文提出用生成式语言模型“幻觉”合成证书,借助模型生成多样化、针对性的证书输入,并在多个 TLS 库上做差分测试,比较验证结果以发现实现间不一致。摘要未给出具体实验数据,但该方法旨在以更低建模成本扩展证书验证测试的输入空间,提升安全缺陷发现能力。

问题
TLS 证书验证至关重要,现有合成证书差分测试方法难以高效生成触发验证差异的输入,或需要难以扩展的程序与输入建模。
方法
利用生成式语言模型生成(幻觉)合成证书,并将其用于多个 TLS 库之间的差分验证结果比较。
评估
摘要未报告具体实验;评估思路是在多 TLS 实现上比较生成证书的验证结果,以发现实现不一致与安全缺陷。
原文摘要(Abstract)

Certificate validation is a crucial step in Transport Layer Security (TLS), the de facto standard network security protocol. Prior research has shown that differentially testing TLS implementations with synthetic certificates can reveal critical security issues, such as accidentally accepting untrusted certificates. Leveraging known techniques, like random input mutations and program coverage guidance, prior work created corpora of synthetic certificates. By testing the certificates with multiple TLS libraries and comparing the validation outcomes, they discovered new bugs. However, they cannot generate the corresponding inputs efficiently, or they require to model the programs and their inputs in ways that scale poorly.

链接与引用

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

BibTeX
@inproceedings{paperbot11868,
  title = {Hallucinating Certificates: Differential Testing of TLS Certificate Validation Using Generative Language Models},
  author = {Muhammad Talha Paracha and Kyle Posluns and Kevin Borgolte and Martina Lindorfer and David Choffnes},
  booktitle = {ICSE},
  year = {2026},
  doi = {10.1145/3744916.3773203}
}