Skip to main content
QUICK REVIEW

[論文レビュー] IssueGuard: Real-Time Secret Leak Prevention Tool for GitHub Issue Reports

Md Nafiu Rahman, Sadif Ahmed|arXiv (Cornell University)|Feb 8, 2026
Advanced Malware Detection TechniquesComputer Science被引用数 0
ひとこと要約

IssueGuardは、正規表現候補抽出と微調整済みCodeBERT分類器を用いて、GitHub/GitLabのIssueエディタ内でリアルタイムに秘密情報を検出するChrome拡張機能。ベンチマークで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 extsc{IssueGuard}, a tool for real-time detection and prevention of secret leaks in issue reports. Implemented as a Chrome extension, extsc{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. extsc{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 \href{https://github.com/disa-lab/IssueGuard}{https://github.com/disa-lab/IssueGuard} , and a demonstration video is available at \href{https://youtu.be/kvbWA8rr9cU}{https://youtu.be/kvbWA8rr9cU} .

研究の動機と目的

  • GitHubおよびGitLabのIssueレポートで意図せず秘密情報が露出するのを最小化する。
  • Issue作成時にブラウザ内でリアルタイムのフィードバックを提供する。
  • 正規表現ベースの候補抽出と文脈に基づく分類を組み合わせて誤検知を低減する。
  • 開発者のワークフローへの実用的な統合と使い勝手を実証する。

提案手法

  • 候補秘密を抽出する761の正規表現パターンを用いる二段階検出パイプライン。
  • 分類のための200文字の文脈ウィンドウを持つ微調整CodeBERTモデル(CodeBERT-base)。
  • 低遅延推論を可能にするChrome拡張機能のフロントエンドとFastAPIバックエンドによるクライアント–サーバーアーキテクチャ。
  • 入力遅延を最小化するためのデバウンス付きテキスト転送とバックエンドへの遅延転送。
  • LRUキャッシュと混合精度GPU推論によるレイテンシとスループットの最適化。
Figure 1. Workflow of IssueGuard
Figure 1. Workflow of IssueGuard

実験結果

リサーチクエスチョン

  • RQ1リアルタイム秘密検出を、誤検知でユーザーを圧倒することなくIssueエディタ内でどれだけ効果的に実行できるか?
  • RQ2CodeBERTベースの分類器を微調整することは、文脈認識型秘密検出においてより大きなLLMより優れているか?
  • RQ3GitHub/GitLabに統合されたブラウザベースの秘密検出ツールの実用的なレイテンシと使い勝手はどのようになるか?
  • RQ4訓練データを超えた実世界のリポジトリに対してシステムは一般化できるか?

主な発見

  • CodeBERTベースのIssueGuardは、ベンチマークモデル評価でF1スコア92.70%(Precision 92.49%、Recall 92.91%)を達成。
  • このタスクにおいて、CodeBERTはStarCoder、StarPII、RoBERTa-base、正規表現のみのベースラインよりF1スコアで優れている。
  • 実世界の178リポジトリで、秘密検出のマクロ平均F1スコアは81.60%(Precision 75.35%、Recall 92.45%)。
  • エンドツーエンドの平均レイテンシは198 ms、モデル推論は10.1 msで、エディタ内でのリアルタイムフィードバックを実現。
  • ツールはブラウザ内でのハイライトと警告を提供し、警告疲れを減らし提出時のユーザーの自信を向上。
  • 50名のユーザ調査では、IssueGuardを手動検査と比較して高い満足度とセキュリティ向上を実感。
Figure 2. Demonstration IssueGuard . As the user types, the extension sends text to the backend. Real secrets are highlighted in red, while regex-based positives such as placeholders are ignored.
Figure 2. Demonstration IssueGuard . As the user types, the extension sends text to the backend. Real secrets are highlighted in red, while regex-based positives such as placeholders are ignored.

この論文を読む

Nubintのビューアで原文を開き、読みながら気になる箇所をすぐに質問できます。

Nubintでこの論文を読む

このレビューはAIが論文の原文をもとに作成しました。引用する前に原文をご確認ください。