피드로 돌아가기
GitHub for Beginners: Getting started with GitHub security
GitHub BlogGitHub Blog
Security

GitHub Advanced Security 도구로 공개 레포지토리의 취약점을 무료로 탐지하고 자동으로 수정하는 방법

GitHub for Beginners: Getting started with GitHub security

Kedasha Kerr2026년 3월 30일6beginner

Context

대부분의 프로젝트가 서드파티 라이브러리에 의존하며, 가져온 순간 취약점 위험을 함께 상속받는다. 기존에는 취약점 추적과 수정을 수동으로 진행해야 했다.

Technical Solution

  • Secret scanning → API 키나 토큰 등 민감 정보의 커밋을 탐지하여 alerts로 경고
  • Dependabot alerts → 의존성 취약점을 발견 시 Pull Request 자동 생성
  • Dependabot security updates → 취약한 라이브러리 버전을 안전한 버전으로 업데이트하는 Pull Request 제공
  • CodeQL → 코드 데이터 흐름을 분석하여 보안 위험 경로 탐지
  • Copilot Autofix → CodeQL alerts에 대한 수정 코드를 자동 생성하고 Pull Request로 제출

Impact

публичные репозитории에서는 GHAS 도구를 무료로 사용할 수 있어 초기 보안 구축 비용为零

Key Takeaway

Security 탭에서 alerts를 확인하고 생성된 Pull Request를 검토한 뒤 병합하는 간단한 워크플로우로 취약점 관리가 가능하다.


GitHub 공개 레포지토리에서 Settings > Security > Advanced Security 경로로 이동하여 Dependabot alerts와 CodeQL을 활성화하고, Security 탭에서 생성된 alerts를 확인한 후 Pull Request를 검토하고 병합하는 방식으로 취약점 관리를 적용 시 수동 추적 없이 자동화된 보안 유지가 가능하다

원문 읽기