Communitygithub.com

repo-security-scan

저장소에서 높은 신뢰도의 보안 이슈를 검사하고 보고서를 생성합니다. 코드베이스의 유출된 시크릿이나 취약한 종속성을 감사할 때, 릴리스 전, 또는 익숙하지 않은 저장소를 온보딩할 때 사용하세요. gitleaks 시크릿 스캔과 osv-scanner 종속성 검사를 실행합니다.

repo-security-scan란 무엇인가요?

이 스킬은 gitleaks를 사용한 시크릿 스캔과 osv-scanner를 사용한 종속성 취약점 검사를 결합하여 대상 저장소의 보안을 감사합니다. gitleaks는 강력한 기본 설정과 빠른 속도를 제공하며 `.gitleaks.toml` 및 `.gitleaksignore`를 통해 거짓 양성을 쉽게 억제할 수 있고, osv-scanner는 OSV 데이터베이스를 기반으로 정확한 취약점 매칭을 수행하여 생태계별 감사 명령보다 잡음이 적습니다. 결과는 사람이 읽을 수 있는 `report.md`와 기계가 읽을 수 있는 `summary.json`으로 출력되며, 스캔 과정에서 소스 코드가 업로드되지 않고 시크릿은 자동으로 가려집니다. 이 스킬은 Claude Code, Cursor, Codex와 같은 AI 에이전트 플랫폼에서 사용할 수 있도록 설계되었으며, 로컬 또는 원격 저장소를 읽기 전용으로 스캔하여 보안 릴리스 프로세스나 코드 리뷰 파이프라인에 통합할 수 있습니다.

지원 대상~Claude Code~Codex CLI~Cursor
npx skills add https://github.com/unisone/openclaw-skill-suite/tree/main/skills/repo-security-scan

즐겨 사용하는 AI에게 물어보기

이 에이전트 스킬이 미리 로드된 새 채팅을 엽니다.

문서

repo-security-scan은(는) 무엇을 하나요?

대상 저장소에서 높은 신뢰도의 보안 이슈를 스캔하고 보고서를 생성합니다.

기능 (MVP)

  • 시크릿 스캔 - gitleaks 사용 (로컬 스캔; 시크릿은 로그에서 가려짐)
  • 종속성 취약점 스캔 - osv-scanner 사용 (종속성을 OSV와 매칭)

출력:

  • report.md — 사람이 읽을 수 있는 요약
  • summary.json — 기계가 읽을 수 있는 요약
  • 원시 도구 출력 (gitleaks.json, osv.json) + 로그

이 스택을 선택한 이유 (신호/잡음)

  • gitleaks: 강력한 기본 설정, 빠름, .gitleaks.toml / .gitleaksignore로 거짓 양성 억제 용이.
  • osv-scanner: OSV를 통한 정확한 종속성 취약점 매칭 (광범위한 생태계 지원, 일반적으로 생태계별 "audit" 명령보다 잡음이 적음).

(추후 Semgrep/SAST 및 언어 특화 감사 도구와 같은 다른 스캐너는 --deep 모드 뒤에 추가하여 CI 실패를 방지할 수 있습니다.)

안전성

  • 파일을 읽기 전용으로 스캔합니다.
  • 소스 코드를 업로드하지 않습니다.
  • gitleaks 출력은 가려집니다 (--redact) 및 보고서에서 시크릿을 출력하지 않습니다.
  • osv-scanner는 기본적으로 네트워크 접근을 사용하여 OSV에 질의합니다 (패키지 메타데이터를 위해 deps.dev에 접근할 수 있음). 소스 코드 대신 종속성 메타데이터를 전송합니다.

사용법

로컬

이 저장소에서:

# 이 저장소를 스캔하고 출력을 .repo-security-scan/out 아래에 생성
bash scripts/repo-security-scan/scan.sh --repo .

# 다른 저장소 스캔
bash scripts/repo-security-scan/scan.sh --repo /path/to/target --out /tmp/repo-security-scan-out

# 보고서 보기
cat .repo-security-scan/out/report.md

데모

bash scripts/demo.sh            # 이 저장소를 스캔함
bash scripts/demo.sh /path/repo # 대상 저장소를 스캔함

출력

출력 디렉터리 (기본값: <skill-suite>/.repo-security-scan/out):

  • report.md
  • summary.json
  • gitleaks.json, gitleaks.log
  • osv.json, osv.log

종료 코드:

  • 0 발견 사항 없음
  • 1 발견 사항 있음
  • 2 스캐너 오류 (도구 누락, 실행 실패)

설정 / 허용 목록

특정 프로젝트를 스캔할 때는 저장소 로컬 설정을 선호합니다:

  • gitleaks:
    • <repo>/.gitleaks.toml
    • <repo>/.gitleaksignore
  • osv-scanner:
    • <repo>/osv-scanner.toml (해당 디렉터리에만 적용)

이 스킬 스위트는 다음 위치에 보수적인 기본 설정도 포함합니다:

  • .repo-security-scan/gitleaks.toml
  • .repo-security-scan/.gitleaksignore
  • .repo-security-scan/osv-scanner.toml

특정 osv-scanner 설정 파일을 강제하려면:

bash scripts/repo-security-scan/scan.sh --repo /path/repo --osv-config /path/to/osv-scanner.toml

사전 요구 사항 설치

  • macOS:
    • brew install gitleaks osv-scanner jq
  • Ubuntu:
    • sudo apt-get update && sudo apt-get install -y jq
    • 릴리스에서 gitleaks + osv-scanner 설치 또는 go install로 컴파일.

Individual skills in this repo

This repo contains 10 individual skills — each has its own dedicated page.

astra-operator

Delegate computer-use and browser tasks to OpenAI

design-inspo

Find design inspiration from curated gallery sites. Use when a user needs UI/UX references, design examples, or inspiration for specific components (navbars, CTAs, hero sections, landing pages, etc.), full websites, SaaS products, mobile apps, animations, icons, branding, or design systems. Helps select the right inspiration source and browse examples.

graphrag

Build a GraphRAG pipeline over documents. Use when plain vector search returns chunks without connections, when questions need multi-hop reasoning (

mundane-demos

Demo strategy that leads with mundane real-life utility instead of benchmarks. Use when presenting an AI agent or product to non-technical audiences. Covers picking tasks the viewer did this morning, showing end-to-end completion, and letting speed be the wow factor.

release-notes

Generate polished release notes from git history. Use when cutting a release, before publishing a GitHub release, or when you need a changelog from commits between two tags. Groups changes by type, surfaces breaking changes, and drafts highlights.

remotion-product-demos

Create Apple-keynote-quality product demo videos with Remotion. Covers glass phone mockups, floating 3D spheres, typing animations, card UIs, ripple effects, and smooth scene transitions. Use when asked to create product demos, app showcase videos, UI walkthrough animations, or

secure-agent-design

Security architecture patterns for personal AI agents that touch real accounts. Use when designing an agent with access to inbox, calendar, finances, or shopping. Covers per-user isolated VMs, pre-action sentinel checks, least-privilege connectors, human approval gates, and single-use payment credentials.

testimonial-launch

Turn user testimonials into launch distribution. Use when launching a product or feature and you want real user proof to carry the announcement instead of marketing copy. Covers soliciting specific testimonials, curating them, and amplifying via quote-posts.

unisone/openclaw-skill-suite

Create Apple-keynote-quality product demo videos with Remotion. Covers glass phone mockups, floating 3D spheres, typing animations, card UIs, ripple effects, and smooth scene transitions. Use when asked to create product demos, app showcase videos, UI walkthrough animations, or

validator-quotes

Earn and deploy third-party validator quotes for a launch. Use when you need credibility beyond your own claims. Covers who to approach, how to get honest reactions, and how to amplify them via quote-posts, based on the founder/CEO validators behind the Muse launch.

관련 스킬