feat: marketplace PR 자동 보안 감사 CI#4
Merged
Merged
Conversation
marketplace에 스킬/플러그인 제출 PR 시 skill-security-audit을 자동 실행하여 보안 리포트를 PR 코멘트로 게시하고 CRITICAL 시 머지를 차단한다. - Direct (skills/**): 직접 스킬 제출 PR 감사 - Remote (marketplace.json): 외부 플러그인 URL 등록 PR 감사 - Gate: 모든 PR에서 실행, 감사 대상 안내 보안 설계: - 2-job 분리 (scan → artifact → report) - Audit tool은 base branch SHA에서만 checkout (변조 방어) - URL allowlist (https://github.com/ 패턴만) - revision(commit SHA) 필드로 감사 재현성 보장 - Shell injection 방어 (${{ }} → env 변수) - Fail-Closed (CLI 실패 시 BLOCKED) - 입력값 정규식 검증 Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
skill-audit-direct.yml):skills/**직접 제출 PR 감사skill-audit-remote.yml):marketplace.json외부 플러그인 URL 등록 PR 감사skill-audit-gate.yml): 모든 PR에서 실행, 감사 대상 안내marketplace.json에revision(commit SHA) 필드 추가로 감사 재현성 보장skill-security-audit을_audit-tool/submodule로 연결보안 설계
https://github.com/{owner}/{repo}패턴만 허용${{ }}→ env 변수 전환 + 입력값 정규식 검증3자 리뷰 반영
Codex (gpt-5.3), AIDLC Security Reviewer, AIDLC Code Reviewer 3개 리뷰어의 피드백을 반영:
reopened추가 (Medium)Test plan
skills/test-dummy/SKILL.md추가 PR → Direct 워크플로우 트리거 확인marketplace.json테스트 플러그인 추가 PR → Remote 워크플로우 트리거 확인ANTHROPIC_API_KEY(필수),SLACK_WEBHOOK_URL(선택)🤖 Generated with Claude Code