feat(verify)+security: dev v2.7.x 보안 4건 미러 — FORM-12 + 비밀키 패턴 + 체크포인트 투명화 (v1.7.5) - #13
Merged
Conversation
dev(project-doctor-dev) v2.7.x에서 공개판에 적용 가능한 보안/무결성 4건을 미러한다: - [검사기] FORM-12 발견ID 양방향 무결성 (verify_report_format.py): 사람용 본문/부록 카탈로그 ID ↔ 기계 발견ID 줄 교차검사. 부록 전용·빈 기계블록 사각지대 포함. 회귀 +4. 공개판 verify는 자체 헬퍼를 쓰므로 dev의 compare_report 단일출처화 리팩터는 제외(ImportError 회피). - [보안 문서] SEC-01 탐지 패턴에 Google(AIza)·OpenAI/Anthropic류(sk-) 키 추가 (release-checklist). - [보안 행동] 체크포인트 git add -A 투명화 (prescription-protocol §1): silent sweep 차단. - [보안 문서] 셸 명령 인젝션 주의(argv) 추가 (release-checklist). 검사기 1건은 형식 계약(FORM-12) 강화, 나머지 3건은 보안 문서·행동 절차. 진단 카탈로그·채점기·픽스처·정답지 무변경 → 진단 탐지율 불변. 공개판 CI 전체 로컬 통과(pytest 65·버전정합 v1.7.5·채점회귀·링크·golden E2E). Co-Authored-By: Claude Opus 4.8 (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.
무엇 (dev v2.7.x 보안 4건 미러 — v1.7.5)
dev(
project-doctor-dev)에서 공개판에 적용 가능한 보안/무결성 4건을 미러합니다.verify_report_format.py): 사람용 본문/부록의 카탈로그 ID 집합 ↔ 기계발견ID:줄의 ID 집합이 정확히 일치하는지 교차검사. 한쪽에만 있는 ID(근거 없는 발견ID / 발견ID 줄 누락)는 채점기(compare_report)의 탐지율 오집계 원인이라 형식 위반으로 잡습니다. 부록 전용 ID·빈 기계블록(발견ID:(없음)인데 부록에 ID) 사각지대 포함. 회귀 테스트 +4. (dev v2.7.3·v2.7.4 미러 — 공개판 verify는 자체 헬퍼를 쓰므로 dev의compare_report단일출처화 리팩터는 제외해 ImportError를 회피했습니다.)release-checklist.md):AIza…·sk-…를 런타임 스캔 패턴 목록에 명시 — 검사기 코드(SECRET_PATTERNS)엔 이미 있었으나 스캔 시 읽는 문서엔 빠져 1차↔2차 탐지 비대칭이 있었습니다. (dev v2.7.6 미러.)git add -A투명화 (prescription-protocol.md§1): 비개발자가 모르게 미추적 민감 파일을 git 기록에 넣는 'silent sweep'을 막기 위해 포함될 미추적 파일을 먼저 보이고 SEC-01·PII-01 의심 파일은 경고·확인 후 진행. 복원 완전성(-A)은 유지. (dev v2.7.7 미러.)release-checklist.md): 남의 프로젝트에 셸 명령을 돌릴 때 인자 따옴표·내용 argv-only. (dev v2.7.11 미러.)검증 (로컬 — 공개판 CI 전 단계)
check_versionv1.7.5 정합 통과 ·pytest tests/65 passed · 채점 회귀 통과 · 링크 0건 · golden E2E 전부 통과.