paperbot · PL 论文追踪

全部论文 待读 收藏

P2 IssueGuard: Real-Time Secret Leak Prevention Tool for GitHub Issue Reports

IssueGuard:面向 GitHub Issue 报告的实时密钥泄露防护工具
FSE Proceedings of the 34th ACM International Conference on the Foundations of Software Engineering2026匹配度 2/10 · 该论文聚焦于GitHub issue文本中的密钥泄露检测,方法是正则候选抽取加微调CodeBERT,属于安全与NLP应用,与用户关注的静态分析、Agentic程序分析、浮点程序分析及贝叶斯程序分析等方向没有直接关联;仅在“机器学习与程序语言”标签和方法上有微弱交集。引用 1 inbox
Md Nafiu Rahman, Sadif Ahmed, Zahin Wahab, Gias Uddin, Rifat Shahriyar
crossref: 2026-09-12dblp: 2026-09-12arxiv: 2026-09-12

AI 速览

一句话:基于 Chrome 扩展,结合正则候选抽取与微调 CodeBERT,在提交前实时检测并警告 issue 文本中的密钥泄露。

GitHub 与 GitLab 的 issue 跟踪系统承载大量非结构化文本,如日志、代码片段和配置示例,容易意外暴露 API key、凭证等敏感信息,而平台在提交前没有任何预警机制。本文提出 IssueGuard,一个面向 issue 报告的实时密钥泄露检测与阻断工具。它实现为 Chrome 扩展,随用户输入持续分析 issue 编辑器文本,先用正则抽取候选密钥,再以微调后的 CodeBERT 模型进行上下文分类,从而有效区分真实密钥与误报。在基准数据集上,IssueGuard 取得 92.70% 的 F1 分数,优于传统基于正则的扫描器。工具直接集成到网页界面,对疑似敏感数据给出清晰的视觉警告,帮助用户在提交前避免泄露。源码与演示视频已公开。

问题
issue 报告中的日志、代码片段和配置示例常包含意外泄露的 API key 与凭证,但协作平台在用户提交前不提供任何警告机制。
方法
实现为 Chrome 扩展,边输入边分析 issue 编辑器文本,将正则候选抽取与微调 CodeBERT 的上下文分类相结合,以区分真实密钥和误报,并在网页界面中给出可视化警告。
评估
在基准数据集上达到 92.70% 的 F1 分数,优于传统基于正则的扫描器,并提供了公开源码与演示视频。
原文摘要(Abstract)

GitHub and GitLab are widely used collaborative platforms whose issue-tracking systems contain large volumes of unstructured text, including logs, code snippets, and configuration examples. This creates a significant risk of accidental secret exposure, such as API keys and credentials, yet these platforms provide no mechanism to warn users before submission. We present IssueGuard, a tool for real-time detection and prevention of secret leaks in issue reports. Implemented as a Chrome extension, IssueGuard analyzes text as users type and combines regex-based candidate extraction with a fine-tuned CodeBERT model for contextual classification. This approach effectively separates real secrets from false positives and achieves an F1-score of 92.70% on a benchmark dataset, outperforming traditional regex-based scanners. IssueGuard integrates directly into the web interface and continuously analyzes the issue editor, presenting clear visual warnings to help users avoid submitting sensitive data. The source code is publicly available at https://github.com/disa-lab/IssueGuard, and a demonstration video is available at https://youtu.be/kvbWA8rr9cU.

链接与引用

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

BibTeX
@inproceedings{RahmanAWUS26,
  title = {IssueGuard: Real-Time Secret Leak Prevention Tool for GitHub Issue Reports},
  author = {Md Nafiu Rahman and Sadif Ahmed and Zahin Wahab and Gias Uddin and Rifat Shahriyar},
  booktitle = {FSE},
  year = {2026},
  doi = {10.1145/3803437.3806406}
}