[논문 리뷰] IssueGuard: Real-Time Secret Leak Prevention Tool for GitHub Issue Reports
IssueGuard는 Chrome 확장으로 Regex 후보 추출과 미세 조정된 CodeBERT 분류기를 사용하여 GitHub/GitLab 이슈 편집기에서 실시간으로 비밀을 탐지하며 벤치마크에서 92.70% F1-점수와 낮은 지연 시간을 달성합니다.
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의 이슈 보고서에서 실수로 비밀이 노출되는 것을 최소화한다.
- 이슈 작성 중 실시간으로 브라우저 내 피드백을 제공한다.
- 정규식 기반 후보 추출과 맥락적 분류를 결합해 오탐을 줄인다.
- 개발자 워크플로우에의 사용성 및 실용적 통합을 시연한다.
제안 방법
- 후보 비밀 추출을 위한 761개 정규식 패턴을 사용하는 2단계 탐지 파이프라인.
- 분류를 위한 200자 컨텍스트 윈도우를 갖춘 미세 조정된 CodeBERT 모델(CodeBERT-base).
- 저지연 추론을 가능하게 하는 Chrome 확장 프런트엔드와 FastAPI 백엔드를 사용하는 클라이언트-서버 아키텍처.
- 입력 지연을 줄이기 위해 디바운스된 텍스트 전송 및 백엔드로의 지연 전송.
- 지연 시간과 처리량을 최적화하기 위한 LRU 캐싱 및 혼합 정밀도 GPU 추론.

실험 결과
연구 질문
- RQ1거짓 양성으로 사용자에게 부담을 주지 않으면서 이슈 편집기 안에서 실시간 비밀 탐지를 얼마나 효과적으로 수행할 수 있는가?
- RQ2맥락 인지 비밀 탐지를 위해 CodeBERT 기반 분류기를 미세 조정하는 것이 더 큰 LLM보다 더 우수한가?
- RQ3GitHub/GitLab에 통합된 브라우저 기반 비밀 탐지 도구의 실용적 지연 시간과 사용성 특성은 무엇인가?
- RQ4시스템이 학습 데이터 밖의 실제 저장소에 일반화할 수 있는가?
주요 결과
- CodeBERT-based IssueGuard는 벤치마크 모델 평가에서 F1-score 92.70%를 달성한다(Precision 92.49%, Recall 92.91%).
- CodeBERT는 이 작업에서 StarCoder, StarPII, RoBERTa-base, 및 regex-only 베이스라인보다 F1-점수에서 우수하다.
- 178개의 실세계 저장소에서 모델의 매크로 평균 F1-score는 81.60%(Precision 75.35%, Recall 92.45%)로 비밀 탐지이다.
- 평균 엔드-투-엔드 지연은 198 ms이고, 모델 추론은 10.1 ms로 에디터에서 실시간 피드백을 가능하게 한다.
- 도구는 브라우저 내 하이라이팅과 경고를 제공하여 경고 피로를 줄이고 제출 중 사용자 신뢰를 높인다.
- 50명의 참가자를 대상으로 한 사용자 연구에서 IssueGuard를 수동 점검과 비교했을 때 높은 만족도와 보안 향상 인식이 나타났다.

이 논문 읽기
누빈트 뷰어에서 원문을 열고, 읽으면서 궁금한 곳을 바로 물어보세요.
누빈트에서 이 논문 읽기이 리뷰는 AI가 논문 원문을 바탕으로 만들었습니다. 인용하기 전에 원문을 확인해 주세요.