diff --git a/docs/README.md b/docs/README.md index 8a4fbaf..b0e84d4 100644 --- a/docs/README.md +++ b/docs/README.md @@ -1,6 +1,9 @@ # 문서 -- [참가자 파일 GCS 저장](participant-files-gcs.md): 승인된 main 파일 저장과 Backend 영수증 연결 제안 +- [2026-10-11 Runtime 후속 조건](reports/2026-10-10-independent-preparation/runtime-followup-2026-10-11.md): 새 Grade digest 미승인·이전 리소스 미확인과 Afterimage/KOTH 네트워크 처리 분리 +- [2026-10-10 독립 연동 준비](reports/2026-10-10-independent-preparation/README.md): 최신 37개 참가자 파일 검사, 문제별 네트워크 검토 후보와 Backend GCS 준비 +- [참가자 파일 GCS 저장](participant-files-gcs.md): Backend 저장 담당과 비활성 CI 업로드 경로 +- [2026-10-07 연동 준비 결과](reports/2026-10-07-integration-readiness/README.md): 실제 산출물의 로컬 Backend 소비 시험, 발행 목록과 남은 요청사항 문제 저장소와 DevSecOps 공급망을 연결할 때 필요한 예제와 운영 문서를 관리합니다. diff --git a/docs/participant-files-contract.md b/docs/participant-files-contract.md index 1b14fac..fa11de9 100644 --- a/docs/participant-files-contract.md +++ b/docs/participant-files-contract.md @@ -66,6 +66,7 @@ Actions artifact의 90일 보관은 전달과 통합 테스트를 위한 임시 운영에서는 Backend poller가 ZIP을 GCS/S3 등의 Object Storage로 복사하고 DB에는 object key, checksum, 크기와 릴리스 연결 정보만 저장하는 방식을 권장합니다. -CI가 GCS에 직접 저장하는 선택 기능과 저장 담당 전환 제안은 -[참가자 파일 GCS 저장](participant-files-gcs.md)에 정리했습니다. 기본 비활성이며 -object key·IAM·Backend 수집 계약 승인 전까지 기존 전달 방식을 유지합니다. +현재 합의는 Backend가 `default_storage`로 저장하고, 해당 저장소를 GCS에 +연결하는 방식입니다. DevSecOps는 Actions ZIP·manifest 발행까지만 담당합니다. +CI 직접 GCS 업로드 옵션은 비활성을 유지합니다. 설정과 준비 항목은 +[참가자 파일 GCS 저장](participant-files-gcs.md)에 정리했습니다. diff --git a/docs/participant-files-gcs.md b/docs/participant-files-gcs.md index fb32d8b..8245263 100644 --- a/docs/participant-files-gcs.md +++ b/docs/participant-files-gcs.md @@ -2,10 +2,18 @@ ## 현재 범위 +**2026-10-07 운영 합의: Backend가 파일 저장을 담당합니다.** DevSecOps는 +ZIP과 manifest를 Actions artifact로 발행하고, Backend Poller가 검증한 뒤 +`default_storage`를 통해 저장합니다. 2026-10-10 확인 기준 Backend #80에는 +GCS storage backend와 설정·의존성이 준비돼 있습니다. PR 병합, 서버 인증과 +bucket 권한 적용, 실제 저장·다운로드는 별도 검증이 필요합니다. +`enable_user_files_gcs_upload:false`를 유지하며 CI가 GCS 영수증을 보내는 경로로 +전환하지 않습니다. 아래 CI 업로드 설명은 비활성 선택 기능의 기록입니다. + 참가자 파일은 Docker image가 아니므로 GHCR에 넣지 않습니다. 기존 CI가 `prob/for_user/`를 검사·ZIP 패키징하고 Actions artifact로 전달하는 기능은 유지합니다. -이번 변경은 승인된 main 발행에서 같은 ZIP과 manifest를 GCS에도 저장하는 -선택 기능입니다. 기본값은 비활성이며 실제 GCS 저장과 Backend 다운로드 연결은 +기존 선택 기능은 승인된 main 발행에서 같은 ZIP과 manifest를 GCS에도 저장하는 +경로입니다. 기본값은 비활성이며 실제 GCS 저장과 Backend 다운로드 연결은 아직 검증하지 않았습니다. 아래 object key와 영수증은 리뷰용 제안 계약입니다. ## 사용할 인프라 @@ -17,7 +25,8 @@ | Workload Identity Provider | projects/309055091666/locations/global/workloadIdentityPools/github-actions/providers/msg-github-actions | | CI Service Account | gcs-file-upload-devops@msg-broker.iam.gserviceaccount.com | -이 설정은 GitHub Actions에 들어갑니다. 출제자의 info.yaml에는 Google 인증이나 +아래 설정은 비활성 CI 직접 업로드 기능용이며 Backend 서버 인증 설정이 아닙니다. +CI 직접 업로드를 승인할 때만 GitHub Actions에 들어갑니다. 출제자의 info.yaml에는 Google 인증이나 bucket 주소를 추가하지 않습니다. Service Account JSON key도 사용하지 않습니다. `google-github-actions/auth@v3`의 WIF 방식으로 짧은 수명의 인증을 받습니다. @@ -85,7 +94,7 @@ Backend가 새 GCS 영수증을 수집하거나 object key로 파일을 등록 아직 연결되지 않았습니다. PR을 병합해도 이 경로를 자동 전환하지 않으며, `enable_user_files_gcs_upload:false`를 유지합니다. -책임자·Backend·DevSecOps가 다음 중 하나를 선택해야 합니다. +현재는 아래 기존 방식을 선택했습니다. 다른 방식으로 전환하려면 별도 합의가 필요합니다. | 선택 | 저장 담당 | DevSecOps 처리 | Backend 처리 | |---|---|---|---| @@ -136,11 +145,15 @@ python3 -m scripts.upload_user_files_gcs \ ## 남은 확인 -- 책임자: object key, 영수증 형식, CI 저장 담당 전환 승인 -- 인프라: WIF 신뢰 조건, bucket IAM, 공개 차단과 보존 정책 -- Backend: 영수증 수집·DB 연결·다운로드, 중복 저장 담당 제거 -- 실제 파일 있음/없음과 정적/동적 4종 업로드·다운로드 테스트 -- 저장 도중 실패, 재시도, 같은 revision 충돌, present:false 처리 검증 +- Backend·인프라: Backend 실행 Service Account와 ADC 인증, 준비된 GCS storage 설정의 실제 배포 +- 인프라: `2026msg_gcs` bucket의 위치, IAM, 공개 차단과 보존 정책 +- Backend: object key와 다운로드 방식 확정, 파일 검증 후 `default_storage` 저장 +- 실제 GCS에서 정적/동적 및 파일 있음/없음 4종 저장·다운로드 시험 +- 저장 실패·재시도·revision 충돌·present:false와 활성 릴리스 관계 확인 + +CI용 `gcs-file-upload-devops` 계정이나 WIF 설정을 Backend 인증으로 그대로 +사용한다고 가정하지 않습니다. Backend 담당이 사용할 신원을 인프라 담당과 +확정해야 합니다. 로컬 파일 저장소 시험 통과는 GCS IAM·업로드 검증이 아닙니다. 참고: [GCS generation precondition](https://cloud.google.com/storage/docs/request-preconditions), [WIF 인증 action](https://github.com/google-github-actions/auth). diff --git a/docs/reports/2026-10-07-integration-readiness/README.md b/docs/reports/2026-10-07-integration-readiness/README.md new file mode 100644 index 0000000..ab1f4e2 --- /dev/null +++ b/docs/reports/2026-10-07-integration-readiness/README.md @@ -0,0 +1,181 @@ +# 연동 준비와 실제 산출물 소비 시험 + +기준일: 2026-10-07. 완료한 시험과 외부 준비가 필요한 항목을 구분합니다. +Backend·Scheduler·Runtime의 구현이나 운영 DB는 변경하지 않았습니다. + +2026-10-10 현재 main 재점검과 네트워크·GCS 준비 상태는 +[후속 준비 보고서](../2026-10-10-independent-preparation/README.md)에 있습니다. +아래 10월 7일 시험과 발행 스냅샷은 당시 증거로 유지합니다. + +## 한눈에 보기 + +| 작업 | 결과 | 확인 범위 | +|---|---|---| +| DevSecOps main 단위 테스트 | 175개 통과 | 로컬 시험 서버를 포함한 테스트 | +| Backend #80 기존 관련 테스트 | 83개 통과 | 릴리스·Poller·참가자 파일 원본 테스트 | +| 실제 산출물 네 종류 소비 | 통과 | 메모리 SQLite, 임시 파일 저장소, 원본 Backend 코드 | +| 최신 GHCR 목록 조회 | 성공 | 46개 패키지, 161개 버전 | +| 기존 전체 발행 이미지 대조 | 37/37 존재 | GHCR 목록의 digest/version 참조, 실제 pull 시험 아님 | +| 승인 WEB Runtime smoke | 실패 | API 연결 시간 초과, 생성·삭제 결과 미확인 | +| GCS 저장 | 미실행 | Backend 저장 방식 유지, CI 업로드 비활성 | +| GHCR 삭제 | 0개 | 보호 목록 확인 전 삭제 금지 | + +175개 테스트의 첫 실행에서는 샌드박스의 로컬 HTTP bind 제한으로 19개가 +실패했습니다. 로컬 서버를 허용한 재실행에서 전체가 통과했습니다. 이를 운영 +Runtime의 정상 동작 증거로 사용하지 않습니다. + +## 사용한 실제 산출물 + +| 구분 | 문제 | revision | 성공한 main 실행 | +|---|---|---|---| +| 동적·파일 없음 | misc-cashout | 449 | [37341655773](https://github.com/MSG-CTF/2026_MSG_CTF/actions/runs/37341655773) | +| 동적·파일 있음 | pwn-random6 | 455 | [37345781390](https://github.com/MSG-CTF/2026_MSG_CTF/actions/runs/37345781390) | +| 정적·파일 없음 | forensic-is-this-job-legit | 466 | [37353062378](https://github.com/MSG-CTF/2026_MSG_CTF/actions/runs/37353062378) | +| 정적·파일 있음 | misc-hidden-order | 469 | [37354078451](https://github.com/MSG-CTF/2026_MSG_CTF/actions/runs/37354078451) | + +새 revision 시험에는 이전 [pwn-random6 revision 330](https://github.com/MSG-CTF/2026_MSG_CTF/actions/runs/36388354543)의 +실제 bundle도 사용했습니다. 정확한 artifact 이름·ID와 workflow 메타데이터는 +[input.json](input.json)에 있습니다. + +## Backend 소비 시험 + +실행 코드: [Backend #80](https://github.com/MSG-CTF/msg-backend/pull/80)의 +`8ed90393220154cd0983a49dd52abf87534d0c9b`입니다. +Backend 소스는 수정하지 않고 원본 migrations, Poller, validator, DB 모델, +관리자 활성화 API, 참가자 상세·다운로드 API를 호출했습니다. + +GitHub CLI로 실제 ZIP·JSON을 다운로드하고 workflow 성공·main·SHA 메타데이터를 +조회했습니다. 로컬 소비 시험에서는 **GitHub HTTP 계층만 이 다운로드 파일로 +대체**했습니다. 따라서 실제 GitHub API 인증·리다이렉트·증분 페이지 조회를 +시험한 것은 아닙니다. 운영 DB나 GCS에도 접속하지 않았습니다. + +확인 결과: + +- 이전 revision 330 등록·활성화 후 새 revision 455 등록에도 active 330 유지. +- 관리자 활성화 API 호출 후에만 active 455로 전환. +- 새 릴리스 2건, 참가자 파일 기록 4건 등록. +- 컨테이너 image digest·포트와 합산 resource_profile의 DB 재조회 값 일치. +- 같은 산출물 재수집 시 등록 0건, 추가 ZIP·bundle 다운로드 호출 0건. +- 파일 있음 2종의 다운로드 200, 발행 ZIP과 바이트·SHA-256 일치. +- 문제 접근 권한 제거 후 파일 다운로드 403. +- 파일 없음 2종은 files 응답이 비어 있고 저장 object key 없음. + +상세 결과: [backend-consumer-result.json](backend-consumer-result.json). + +**현재 파일 표시 정책도 확인이 필요합니다.** 이 Backend 커밋은 동적 문제의 +파일을 active release revision 기준으로, 정적 문제는 최신 revision 기준으로 +선택합니다. 새 present:false만 등록했다고 이전 active의 파일을 곧바로 숨기지 +않습니다. 이전 안내의 '최신 present:false 우선'과 달라 Backend에 현재 정책 +확인을 요청합니다. 이번 시험은 새 present:false로 기존 파일을 숨기는 시나리오나 +새 파일 변경 발행까지 검증한 것이 아닙니다. + +## 전체 발행 목록과 GHCR 보존 + +[publication-handoff.json](publication-handoff.json)은 기존 전체 발행 검증 +스냅샷입니다. 기준 source SHA는 `1dea73b652f9eeb98204c1fda7f66b9afb89505d`, +pipeline SHA는 `2d275ae083324eb83b776ace81daa3a669d2c11c`입니다. +전체 문제 37개, 동적 24개·정적 13개, publish bundle 24개, 참가자 bundle 37개 +(ZIP 있음 28개·없음 9개)입니다. 이번 작업에서 전체 문제 CI를 재발행한 것은 아닙니다. +공유용 문제별 구분·revision·실행 링크는 [전체 발행 표](publication-table.md)에 있습니다. + +[최신 삭제 없는 조회 실행](https://github.com/MSG-CTF/msgctf-devsecops/actions/runs/37563390461)은 +성공했습니다. 2026-10-07 11:44 KST 기준 161개 버전 중 보존 분류 145개, +검토 후보 16개입니다. 날짜 기준이 지나면서 전날 후보 15개에서 1개가 늘었으며 +삭제 권한이 생겼다는 뜻은 아닙니다. + +[ghcr-check-result.json](ghcr-check-result.json)에 최신 조회 결과와 기존 발행 +이미지 37개의 대조 결과를 기록했습니다. 37개 모두 해당 GHCR 목록에서 확인했습니다. +패키지 46개는 플랫폼·시험 패키지도 포함하므로 문제 수와 같지 않습니다. +이 목록의 존재 확인은 private pull, cold pull 속도, 실행 digest 확인이 아닙니다. + +실제 삭제는 Backend active·rollback, Scheduler 대기·reset·재시도, Runtime 실행, +KOTH 복구·rollback의 최신 전체 목록과 OCI 참조 관계·관리자 승인 후에만 검토합니다. +모든 검토 후보의 `deletion_authorized`는 false입니다. + +## Runtime 시험과 중단 지점 + +[승인 WEB smoke 실행 37562649497](https://github.com/MSG-CTF/2026_MSG_CTF/actions/runs/37562649497)은 +11:34~11:45 KST에 `POST /internal/v1/instances` 연결 시간 초과로 실패했습니다. +복구용 같은 요청 재시도도 시간 초과였습니다. `SUCCEEDED` 생성·삭제 결과는 없습니다. +별도 로컬 무인증 HTTPS 점검도 TCP 443 연결 시간 초과였습니다. + +정책상 승인된 기존 Grade Tampering digest와 기존 수동 workflow만 사용했습니다. +PR #16의 실제 publish bundle 자동 smoke를 시험한 것이 아닙니다. +target은 `b794d71b-51ef-45fd-87c1-9721e2999e79`, 시험 team은 +`c0a720f9-4301-4a1f-804f-222769cf90b2`이고 제한은 300m/256MiB/512MiB였습니다. +Secret 원문을 열람하거나 다른 인증으로 바꾸지 않았습니다. + +TCP 연결 시간 초과가 관찰됐지만 VM 중지·주소 변경·방화벽·서비스 리스너 중 +어느 것이 원인인지는 아직 확인하지 못했습니다. Runtime 담당의 서버 확인이 +필요합니다. 요청 수신 여부와 잔여 operation/workload/Namespace 확인도 부탁드립니다. +삭제 성공이나 '리소스가 전혀 생성되지 않음'을 단정하지 않습니다. 확인 전 재생성 +시험을 반복하지 않으며 PWN·reset·전체 격리 시험도 실행하지 않습니다. + +## 현재 발행 digest 정책 등록 요청 + +기존 승인 digest와 최신 발행 digest는 다릅니다. Runtime의 자동 승인을 가정하지 않습니다. +전체 이미지 주소는 [published-image-references.json](published-image-references.json)에 있습니다. + +| 문제 | 발행 revision | 현재 발행 digest | +|---|---|---| +| web-grade-tampering | 458 | c409e49cf70a58be3ca19553b2db09da9d9607fd3462eaf00bdb29b20a44e39e | +| web-daily-point | 457 | 3b8129fe265d72dd8cc989a73dabf15c822ecc2a6e5cde95ec45119fb1397a11 | +| web-open-house | 461 | ad459de4ec1b5687be9b17cf445973344cf8aaee150bc759a5f02e79435d236d | + +Runtime 담당이 UID·쓰기 경로·공개 포트를 검토해 정확한 digest 정책에 등록한 +뒤에만 PR #16의 실제 bundle smoke 대상으로 사용합니다. + +## GCS 준비 체크리스트 + +저장 담당은 Backend입니다. CI의 GCS 직접 업로드는 false로 유지합니다. +`msg-broker`/`2026msg_gcs`는 전달받은 설정이며 실제 IAM·bucket 접근은 검증하지 않았습니다. + +- Backend·인프라: Backend 실행 Service Account와 ADC 인증 방식 확정. +- Backend: GCS용 Django storage backend·의존성·STORAGES 설정 준비. +- 인프라: bucket 위치, 비공개 접근, IAM 최소 권한과 보존 정책 확인. +- Backend: object key, 참가자 권한 검사, 다운로드 방식과 만료시간 결정. +- 담당 합의 후 실제 GCS 4종 저장·다운로드·재수집 시험. + +CI용 Service Account를 Backend 계정으로 간주하거나 서비스 계정 key를 +info.yaml·bundle·채팅에 넣지 않습니다. 운영 구성은 해당 담당자가 적용합니다. + +## 다음 요청과 진행 순서 + +| 담당 | 요청 | 이후 작업 | +|---|---|---| +| DevSecOps 리뷰 담당 | PR #16 검증 범위와 새 결과 검토 | 승인 후 병합 및 caller 참조 동시 갱신 | +| Backend #26·#80 | 실제 HTTP Poller·개발 DB에서 4종 재확인, present:false 정책 확인 | 등록·다운로드 증거 및 병합·배포 SHA 공유 | +| Backend·KOTH | 별도 KothChallenge와 release 연결 확정 | KOTH 6개 실제 수집 시험 | +| Runtime #45 | API 접속 복구, 잔여 리소스 확인, 최신 digest 정책 승인 | 생성·접속·삭제 기능 smoke 재실행 | +| Backend·Runtime·Scheduler·KOTH | 기준 시각과 미확인 범위를 포함한 보호 digest 목록 | 삭제 후보 재계산 후 별도 삭제 PR·승인 | +| Backend·인프라 | GCS 인증·storage 설정 | 실제 GCS 저장·참가자 다운로드 시험 | + +그다음 Backend → Scheduler → Runtime 생성·조회·reset·삭제 E2E와 네트워크 격리, +healthcheck·필수 실행 설정을 확인합니다. 다른 파트의 미지원 기능을 DevSecOps에서 +임의로 완성하거나 시험 성공으로 표시하지 않습니다. + +## 로컬 소비 시험 재현 + +[probe_backend.py](probe_backend.py)는 수동 증거 재현 도구입니다. 운영 pipeline에 +추가하지 않으며 Backend 코드를 대체하지 않습니다. `.env` 없는 별도 Backend +checkout과 해당 커밋의 requirements 환경이 필요합니다. DB는 메모리 SQLite로, +저장은 자동 정리되는 임시 폴더로 강제합니다. 임시 계정은 시험 DB에만 생성합니다. + +1. Backend #80의 위 SHA를 별도 checkout하고 pinned requirements로 venv를 구성합니다. +2. input.json을 `/input.json`으로 두고 네 문제의 publish/user bundle을 + GitHub CLI로 내려받습니다. 디렉터리는 `/artifacts//publish/`와 + `/artifacts//user/`입니다. publish 폴더는 동적 두 문제만 필요합니다. +3. revision 330 bundle을 `/artifacts/pwn-random6/revision-330//` + 아래에 둡니다. 정확한 run ID와 artifact-name은 input.json에 있습니다. +4. 아래 명령을 Backend venv의 Python으로 실행합니다. + +```bash +/absolute/path/to/backend/.venv/bin/python probe_backend.py \ + --backend /absolute/path/to/backend \ + --evidence /absolute/path/to/evidence \ + --output /absolute/path/to/backend-consumer-result.json +``` + +기준 SHA가 다르거나 `.env`가 존재하면 실행을 거절합니다. 실행이 끝나면 DB와 +저장 파일은 남지 않습니다. 결과 JSON에는 metadata만 기록하며 ZIP·토큰·플래그는 +공유 저장소에 넣지 않습니다. 실행 중 403 로그 2개는 의도한 권한 거절 시험입니다. diff --git a/docs/reports/2026-10-07-integration-readiness/backend-consumer-result.json b/docs/reports/2026-10-07-integration-readiness/backend-consumer-result.json new file mode 100644 index 0000000..c708ea8 --- /dev/null +++ b/docs/reports/2026-10-07-integration-readiness/backend-consumer-result.json @@ -0,0 +1,94 @@ +{ + "status": "PASS", + "backend_sha": "8ed90393220154cd0983a49dd52abf87534d0c9b", + "django_version": "5.2.17", + "scope": "REAL_ACTIONS_ARTIFACTS_LOCAL_BACKEND_CONSUMER", + "database": "isolated_in_memory_sqlite", + "storage": "temporary_local_filesystem", + "github_transport_mocked": true, + "production_db_modified": false, + "gcs_verified": false, + "runtime_verified": false, + "koth_mapping_verified": false, + "first_release_poll": { + "registered": 2, + "duplicate": 0, + "unmatched": 0, + "invalid": 0, + "error": 0 + }, + "first_user_poll": { + "registered": 4, + "duplicate": 0, + "unmatched": 0, + "invalid": 0, + "error": 0 + }, + "second_release_poll": { + "registered": 0, + "duplicate": 0, + "unmatched": 0, + "invalid": 0, + "error": 0 + }, + "second_user_poll": { + "registered": 0, + "duplicate": 0, + "unmatched": 0, + "invalid": 0, + "error": 0 + }, + "release_download_calls": 2, + "user_download_calls": 4, + "previous_active_revision": 330, + "new_revision": 455, + "active_preserved_until_admin_activation": true, + "admin_activation_verified": true, + "cases": [ + { + "challenge_slug": "misc-cashout", + "registry_revision": 449, + "runtime_required": true, + "present": false, + "registered": true, + "detail_files_count": 0 + }, + { + "challenge_slug": "pwn-random6", + "registry_revision": 455, + "runtime_required": true, + "present": true, + "registered": true, + "detail_files_count": 1, + "download_status": 200, + "locked_download_status": 403, + "sha256": "c79f362a6f2473386405ca09b79705b96cf3d03cc46f05f2e5a747de3c80baae", + "checksum_verified": true, + "object_key": "participant-files/pwn-random6/455/1dea73b652f9eeb98204c1fda7f66b9afb89505d/c79f362a6f2473386405ca09b79705b96cf3d03cc46f05f2e5a747de3c80baae.zip", + "storage_exists": true + }, + { + "challenge_slug": "forensic-is-this-job-legit", + "registry_revision": 466, + "runtime_required": false, + "present": false, + "registered": true, + "detail_files_count": 0 + }, + { + "challenge_slug": "misc-hidden-order", + "registry_revision": 469, + "runtime_required": false, + "present": true, + "registered": true, + "detail_files_count": 1, + "download_status": 200, + "locked_download_status": 403, + "sha256": "9fbb05a0a4f8b052145cfd0ce26a6e2afe1642e4f7807f527c9a8cc584164f6b", + "checksum_verified": true, + "object_key": "participant-files/misc-hidden-order/469/1dea73b652f9eeb98204c1fda7f66b9afb89505d/9fbb05a0a4f8b052145cfd0ce26a6e2afe1642e4f7807f527c9a8cc584164f6b.zip", + "storage_exists": true + } + ], + "participant_file_visibility_policy": "dynamic_active_release_revision; static_latest_revision" +} diff --git a/docs/reports/2026-10-07-integration-readiness/ghcr-check-result.json b/docs/reports/2026-10-07-integration-readiness/ghcr-check-result.json new file mode 100644 index 0000000..385cee4 --- /dev/null +++ b/docs/reports/2026-10-07-integration-readiness/ghcr-check-result.json @@ -0,0 +1,616 @@ +{ + "inventory_run_id": 37563390461, + "inventory_run_url": "https://github.com/MSG-CTF/msgctf-devsecops/actions/runs/37563390461", + "inventory_collected_at": "2026-10-07T02:44:12.388568+00:00", + "source_sha": "1dea73b652f9eeb98204c1fda7f66b9afb89505d", + "counts": { + "packages": 46, + "versions": 161, + "retained_versions": 145, + "review_candidates": 16 + }, + "status": "BLOCKED_PENDING_USAGE_CONFIRMATION", + "deletion_enabled": false, + "deleted_versions": 0, + "published_images_checked": 37, + "published_images_found": 37, + "images": [ + { + "challenge_slug": "web-afterimage", + "registry_revision": 440, + "name": "portal", + "image": "ghcr.io/msg-ctf/challenges/web-afterimage/portal@sha256:4f0409c9369f0797fed4d9b7f6da121f08b16fdedf5324db17734da553569fc6", + "ghcr_version_id": 1339643642, + "found_in_inventory": true, + "current_inventory_version_id": 1339643642 + }, + { + "challenge_slug": "web-afterimage", + "registry_revision": 440, + "name": "core", + "image": "ghcr.io/msg-ctf/challenges/web-afterimage/core@sha256:b25f1415222bd57d0f7823959576d627fb05d0b08abc4fc252bbfead5a04fb77", + "ghcr_version_id": 1339643235, + "found_in_inventory": true, + "current_inventory_version_id": 1339643235 + }, + { + "challenge_slug": "web-afterimage", + "registry_revision": 440, + "name": "bot", + "image": "ghcr.io/msg-ctf/challenges/web-afterimage/bot@sha256:881176049a36d0e0a7b774c100c732d8c42b27839a220007cba6fb9e17b42180", + "ghcr_version_id": 1339646487, + "found_in_inventory": true, + "current_inventory_version_id": 1339646487 + }, + { + "challenge_slug": "web-afterimage", + "registry_revision": 440, + "name": "exporter", + "image": "ghcr.io/msg-ctf/challenges/web-afterimage/exporter@sha256:164c890cde9ced65cbd43f96b93bfde6f9eaf20301406caa550a8fb194d16f0b", + "ghcr_version_id": 1339639011, + "found_in_inventory": true, + "current_inventory_version_id": 1339639011 + }, + { + "challenge_slug": "web-afterimage", + "registry_revision": 440, + "name": "inventory-metadata", + "image": "ghcr.io/msg-ctf/challenges/web-afterimage/inventory-metadata@sha256:2104947680985ca26b4e7324ca4482f4e95fa792f17f567e285844433f331b9a", + "ghcr_version_id": 1339637819, + "found_in_inventory": true, + "current_inventory_version_id": 1339637819 + }, + { + "challenge_slug": "web-afterimage", + "registry_revision": 440, + "name": "indexer", + "image": "ghcr.io/msg-ctf/challenges/web-afterimage/indexer@sha256:443349ba9c571fde04f13c81750c808ccd0c8b10c356fd554b730def6c97ec6d", + "ghcr_version_id": 1339641524, + "found_in_inventory": true, + "current_inventory_version_id": 1339641524 + }, + { + "challenge_slug": "web-afterimage", + "registry_revision": 440, + "name": "case-vault", + "image": "ghcr.io/msg-ctf/challenges/web-afterimage/case-vault@sha256:b4a63aa56c447d1f9eda0d884f26ddabe145acb806fdcf8c1a192f19cfaab306", + "ghcr_version_id": 1339639711, + "found_in_inventory": true, + "current_inventory_version_id": 1339639711 + }, + { + "challenge_slug": "crypto-nerves", + "registry_revision": 441, + "name": "web", + "image": "ghcr.io/msg-ctf/challenges/crypto-nerves/web@sha256:942e2b250f5ae9c67a4c7f18945737ff612143b9d0fdeb8ea2a55a3d861f97fe", + "ghcr_version_id": 1339681337, + "found_in_inventory": true, + "current_inventory_version_id": 1339681337 + }, + { + "challenge_slug": "crypto-reused-seal", + "registry_revision": 442, + "name": "chall", + "image": "ghcr.io/msg-ctf/challenges/crypto-reused-seal/chall@sha256:c7ae5210cec55c74a8d1848ace9e36e412af88e9f4eeace29fc183bb42371564", + "ghcr_version_id": 1339712859, + "found_in_inventory": true, + "current_inventory_version_id": 1339712859 + }, + { + "challenge_slug": "koth-card-battle-arena", + "registry_revision": 443, + "name": "service", + "image": "ghcr.io/msg-ctf/challenges/koth-card-battle-arena/service@sha256:4e15aa91db9d50940ec0106a05b52773f891fd5b7386e6b7051b6d7fb8f49915", + "ghcr_version_id": 1339739507, + "found_in_inventory": true, + "current_inventory_version_id": 1339739507 + }, + { + "challenge_slug": "koth-dependency-hell", + "registry_revision": 444, + "name": "service", + "image": "ghcr.io/msg-ctf/challenges/koth-dependency-hell/service@sha256:129e8cec446bf95aeec34b7d391c0655baa81cbddc9804f17b910ae650a86a4e", + "ghcr_version_id": 1339766689, + "found_in_inventory": true, + "current_inventory_version_id": 1339766689 + }, + { + "challenge_slug": "koth-dependency-hell", + "registry_revision": 444, + "name": "backend", + "image": "ghcr.io/msg-ctf/challenges/koth-dependency-hell/backend@sha256:3e05cd8977f814e69efc2a76a3f1d62a0e6171eacad5fe05a0c1073c4aa44f83", + "ghcr_version_id": 1339772163, + "found_in_inventory": true, + "current_inventory_version_id": 1339772163 + }, + { + "challenge_slug": "koth-dependency-hell", + "registry_revision": 444, + "name": "score-service", + "image": "ghcr.io/msg-ctf/challenges/koth-dependency-hell/score-service@sha256:c2124be02c139fb61ca5664bbd645f7e4f1e41c1f92786dbcc17361c1b4e533e", + "ghcr_version_id": 1339769389, + "found_in_inventory": true, + "current_inventory_version_id": 1339769389 + }, + { + "challenge_slug": "koth-dependency-hell", + "registry_revision": 444, + "name": "judge-coordinator", + "image": "ghcr.io/msg-ctf/challenges/koth-dependency-hell/judge-coordinator@sha256:52f5db3e9b4a1fe7f7e14ac411f391aa394570d4d086ac1d6ced602ba2cad7e9", + "ghcr_version_id": 1339773424, + "found_in_inventory": true, + "current_inventory_version_id": 1339773424 + }, + { + "challenge_slug": "koth-grand-tour-duel", + "registry_revision": 445, + "name": "service", + "image": "ghcr.io/msg-ctf/challenges/koth-grand-tour-duel/service@sha256:100c8507280a599d9653310807528fd93142cd56547e417e97a0485788942067", + "ghcr_version_id": 1339805533, + "found_in_inventory": true, + "current_inventory_version_id": 1339805533 + }, + { + "challenge_slug": "koth-jenga", + "registry_revision": 446, + "name": "jenga", + "image": "ghcr.io/msg-ctf/challenges/koth-jenga/jenga@sha256:fb1a67d43235c7a1954801696365af499e3cf1e69f665a80ce610d52ef0d7806", + "ghcr_version_id": 1339835715, + "found_in_inventory": true, + "current_inventory_version_id": 1339835715 + }, + { + "challenge_slug": "koth-pixel-smuggler", + "registry_revision": 447, + "name": "service", + "image": "ghcr.io/msg-ctf/challenges/koth-pixel-smuggler/service@sha256:295a356a009b6c07b5047315cf191fb27dd46ff1f75416bd256ecc95671d3d3a", + "ghcr_version_id": 1339866978, + "found_in_inventory": true, + "current_inventory_version_id": 1339866978 + }, + { + "challenge_slug": "koth-swanopoly", + "registry_revision": 448, + "name": "service", + "image": "ghcr.io/msg-ctf/challenges/koth-swanopoly/service@sha256:e3a3f7ce2888855a787c1dca330ba38c061e750eefc965ba49b8ac18ac418863", + "ghcr_version_id": 1339893199, + "found_in_inventory": true, + "current_inventory_version_id": 1339893199 + }, + { + "challenge_slug": "koth-swanopoly", + "registry_revision": 448, + "name": "backend", + "image": "ghcr.io/msg-ctf/challenges/koth-swanopoly/backend@sha256:b0325f8b2228f2dcf387f4b1ee33de164d01dba4c878da387ea7c3a48e7980c3", + "ghcr_version_id": 1339893837, + "found_in_inventory": true, + "current_inventory_version_id": 1339893837 + }, + { + "challenge_slug": "koth-swanopoly", + "registry_revision": 448, + "name": "test", + "image": "ghcr.io/msg-ctf/challenges/koth-swanopoly/test@sha256:bbf84c945a60adcbd7658e034547967802f330a08723eca4c6e0f86cf9ffc2c0", + "ghcr_version_id": 1339893873, + "found_in_inventory": true, + "current_inventory_version_id": 1339893873 + }, + { + "challenge_slug": "koth-swanopoly", + "registry_revision": 448, + "name": "submit", + "image": "ghcr.io/msg-ctf/challenges/koth-swanopoly/submit@sha256:5d229732e1649edf02345dd9adceda3cce720851749716867c2ba7c87413f859", + "ghcr_version_id": 1339897859, + "found_in_inventory": true, + "current_inventory_version_id": 1339897859 + }, + { + "challenge_slug": "misc-cashout", + "registry_revision": 449, + "name": "web", + "image": "ghcr.io/msg-ctf/challenges/misc-cashout/web@sha256:581a4b1b8145cd3f744715b2817f37d733c89dc03020d57cdd64705f317985d9", + "ghcr_version_id": 1339921253, + "found_in_inventory": true, + "current_inventory_version_id": 1339921253 + }, + { + "challenge_slug": "misc-reqr", + "registry_revision": 450, + "name": "web", + "image": "ghcr.io/msg-ctf/challenges/misc-reqr/web@sha256:810ba1868b56114ae6c4ce182fedae4c6f53480197c2234b4cdab712eeeccdc7", + "ghcr_version_id": 1339947316, + "found_in_inventory": true, + "current_inventory_version_id": 1339947316 + }, + { + "challenge_slug": "osint-the-past-has-an-address", + "registry_revision": 451, + "name": "web", + "image": "ghcr.io/msg-ctf/challenges/osint-the-past-has-an-address/web@sha256:133195d94746fd69a14def176393e99531af3a47fda5faa03b73bd308e79a362", + "ghcr_version_id": 1339970276, + "found_in_inventory": true, + "current_inventory_version_id": 1339970276 + }, + { + "challenge_slug": "pwn-ghost-file", + "registry_revision": 452, + "name": "chall", + "image": "ghcr.io/msg-ctf/challenges/pwn-ghost-file/chall@sha256:fe5c7242ce948ea3817d2bfe8b3c146f324af5dbb0bbf617bc3fbd36ceb8046b", + "ghcr_version_id": 1339995724, + "found_in_inventory": true, + "current_inventory_version_id": 1339995724 + }, + { + "challenge_slug": "pwn-note", + "registry_revision": 453, + "name": "service", + "image": "ghcr.io/msg-ctf/challenges/pwn-note/service@sha256:c449da75a6a3eb0560b1d43034771749338897219afc560104da5c9b6c6a5471", + "ghcr_version_id": 1340023851, + "found_in_inventory": true, + "current_inventory_version_id": 1340023851 + }, + { + "challenge_slug": "pwn-price-tag", + "registry_revision": 454, + "name": "price-tag", + "image": "ghcr.io/msg-ctf/challenges/pwn-price-tag/price-tag@sha256:1556a19564052695fec77b15c81c70a9b9e609df0f51681eae4d00fe667b87ac", + "ghcr_version_id": 1340047964, + "found_in_inventory": true, + "current_inventory_version_id": 1340047964 + }, + { + "challenge_slug": "pwn-random6", + "registry_revision": 455, + "name": "random6", + "image": "ghcr.io/msg-ctf/challenges/pwn-random6/random6@sha256:b1984430b5a4fe4761a9dcd425359fa398bc95ca5bddef6d4f3d53948f4fdd9d", + "ghcr_version_id": 1340071138, + "found_in_inventory": true, + "current_inventory_version_id": 1340071138 + }, + { + "challenge_slug": "rev-tinyvm", + "registry_revision": 456, + "name": "tinyvm", + "image": "ghcr.io/msg-ctf/challenges/rev-tinyvm/tinyvm@sha256:45b676934b4f4f139ee9e2a1739c14e9ac8d3e8831d279f8998a1458ce0c94da", + "ghcr_version_id": 1340092024, + "found_in_inventory": true, + "current_inventory_version_id": 1340092024 + }, + { + "challenge_slug": "web-daily-point", + "registry_revision": 457, + "name": "web", + "image": "ghcr.io/msg-ctf/challenges/web-daily-point/web@sha256:3b8129fe265d72dd8cc989a73dabf15c822ecc2a6e5cde95ec45119fb1397a11", + "ghcr_version_id": 1340118792, + "found_in_inventory": true, + "current_inventory_version_id": 1340118792 + }, + { + "challenge_slug": "web-grade-tampering", + "registry_revision": 458, + "name": "web", + "image": "ghcr.io/msg-ctf/challenges/web-grade-tampering/web@sha256:c409e49cf70a58be3ca19553b2db09da9d9607fd3462eaf00bdb29b20a44e39e", + "ghcr_version_id": 1340143579, + "found_in_inventory": true, + "current_inventory_version_id": 1340143579 + }, + { + "challenge_slug": "web-logout-please", + "registry_revision": 459, + "name": "service", + "image": "ghcr.io/msg-ctf/challenges/web-logout-please/service@sha256:25b64b802d632bb0e0b5790580f86d88d8a05e2fff7c19a83b4b6e5d79d88be7", + "ghcr_version_id": 1340165353, + "found_in_inventory": true, + "current_inventory_version_id": 1340165353 + }, + { + "challenge_slug": "web-notebook", + "registry_revision": 460, + "name": "web", + "image": "ghcr.io/msg-ctf/challenges/web-notebook/web@sha256:d4249f02fb0745df557dc65382911ec00da883e2fa6bde434c5b63c14cb81db3", + "ghcr_version_id": 1340187248, + "found_in_inventory": true, + "current_inventory_version_id": 1340187248 + }, + { + "challenge_slug": "web-notebook", + "registry_revision": 460, + "name": "db", + "image": "ghcr.io/msg-ctf/challenges/web-notebook/db@sha256:396878dd36296204aa326c5acfaba267e76e8dd604a940ffdd67e1122f2dc872", + "ghcr_version_id": 1340188388, + "found_in_inventory": true, + "current_inventory_version_id": 1340188388 + }, + { + "challenge_slug": "web-open-house", + "registry_revision": 461, + "name": "web", + "image": "ghcr.io/msg-ctf/challenges/web-open-house/web@sha256:ad459de4ec1b5687be9b17cf445973344cf8aaee150bc759a5f02e79435d236d", + "ghcr_version_id": 1340223363, + "found_in_inventory": true, + "current_inventory_version_id": 1340223363 + }, + { + "challenge_slug": "web3-infinite-pack", + "registry_revision": 462, + "name": "server", + "image": "ghcr.io/msg-ctf/challenges/web3-infinite-pack/server@sha256:375f463fcc994103f8dd778d2c2ade642a3f926451185d695476d4abe3169112", + "ghcr_version_id": 1340249046, + "found_in_inventory": true, + "current_inventory_version_id": 1340249046 + }, + { + "challenge_slug": "web3-split-brain-oracle", + "registry_revision": 463, + "name": "challenge", + "image": "ghcr.io/msg-ctf/challenges/web3-split-brain-oracle/challenge@sha256:2eb556ab51dc5214c1e4c7ae73a7a1c63d81cb35d980bf40923597456da2ffc4", + "ghcr_version_id": 1340275675, + "found_in_inventory": true, + "current_inventory_version_id": 1340275675 + } + ], + "required_before_deletion": [ + "Backend active release·rollback digest의 최신 전체 목록", + "Scheduler/Runtime 실행 중 인스턴스 digest의 최신 전체 목록", + "KOTH 별도 사용·rollback digest 목록", + "OCI index/manifest 참조 관계 확인과 관리자 승인" + ], + "candidates": [ + { + "package": "challenges/pwn-random6/random6", + "package_class": "CHALLENGE", + "version_id": 1107824022, + "image": "ghcr.io/msg-ctf/challenges/pwn-random6/random6@sha256:a5418f576904d6a0fcbb60c9078f3457174444177e784745fc57fa3d9c206c37", + "tags": [ + "01ae70fb509e41036a060e3c01881d4f980896ba-31161223393-1" + ], + "created_at": "2026-08-07T08:21:12+00:00", + "updated_at": "2026-08-07T08:21:12+00:00", + "decision": "REVIEW_ONLY", + "reasons": [ + "OLD_VERSION_REQUIRES_USAGE_CONFIRMATION" + ], + "deletion_authorized": false + }, + { + "package": "challenges/koth-template/service", + "package_class": "SELF_TEST", + "version_id": 1173829039, + "image": "ghcr.io/msg-ctf/challenges/koth-template/service@sha256:2e36d81962888eb29d8a467b94eb83df29ce0af5b9c798dd2f6d031f0271d773", + "tags": [ + "8cf8892588ca43fab2fd57c16d32b8791cac6b8b-32959545593-1-cec5aef86583474cb0516c72297c7b75" + ], + "created_at": "2026-08-26T10:42:58+00:00", + "updated_at": "2026-08-26T10:42:58+00:00", + "decision": "REVIEW_ONLY", + "reasons": [ + "OLD_VERSION_REQUIRES_USAGE_CONFIRMATION" + ], + "deletion_authorized": false + }, + { + "package": "challenges/koth-template/service", + "package_class": "SELF_TEST", + "version_id": 1170973802, + "image": "ghcr.io/msg-ctf/challenges/koth-template/service@sha256:58dbaa889bbb6c77a22145d0138e98456e1bcf7d4ea766207bd66954cc0a6a04", + "tags": [ + "4aea21147d4dafe214f4a4e69016361dfc1c667c-32876556248-1-74ddbfc6c4fa4d6ea3d76e366dc097b0" + ], + "created_at": "2026-08-25T17:14:29+00:00", + "updated_at": "2026-08-25T17:14:29+00:00", + "decision": "REVIEW_ONLY", + "reasons": [ + "OLD_VERSION_REQUIRES_USAGE_CONFIRMATION" + ], + "deletion_authorized": false + }, + { + "package": "challenges/koth-template/service", + "package_class": "SELF_TEST", + "version_id": 1165345465, + "image": "ghcr.io/msg-ctf/challenges/koth-template/service@sha256:fad36dab3852951fade10ccfd8a804c632eaf5c978442c043ca6e458080edfd6", + "tags": [ + "0fbfbfda9e63936392158f54fb5c1db2b3d84db4-32723330120-1-8fdaba6c0855402fa764a3ccc4501158" + ], + "created_at": "2026-08-24T11:45:24+00:00", + "updated_at": "2026-08-24T11:45:24+00:00", + "decision": "REVIEW_ONLY", + "reasons": [ + "OLD_VERSION_REQUIRES_USAGE_CONFIRMATION" + ], + "deletion_authorized": false + }, + { + "package": "challenges/koth-template/service", + "package_class": "SELF_TEST", + "version_id": 1165326823, + "image": "ghcr.io/msg-ctf/challenges/koth-template/service@sha256:4c3df73a496cce072f065fda7d6765223894d786b68a17e31d03e14debe3db55", + "tags": [ + "ebf1cce68047a5a8819bdac3f511749dffe86413-32722884352-1-95c19b7704ad4182b476e87dcb50ca44" + ], + "created_at": "2026-08-24T11:40:04+00:00", + "updated_at": "2026-08-24T11:40:04+00:00", + "decision": "REVIEW_ONLY", + "reasons": [ + "OLD_VERSION_REQUIRES_USAGE_CONFIRMATION" + ], + "deletion_authorized": false + }, + { + "package": "challenges/koth-template/service", + "package_class": "SELF_TEST", + "version_id": 1165282103, + "image": "ghcr.io/msg-ctf/challenges/koth-template/service@sha256:23b46a231f1933d811207b7395cba2684d7becf6a1e758b6b8de51726131864f", + "tags": [ + "6eae0c7f4f09072a4adeb65d79341771741908d0-32721810592-1-5124dd74736240d5a90467b3e994f238" + ], + "created_at": "2026-08-24T11:27:41+00:00", + "updated_at": "2026-08-24T11:27:41+00:00", + "decision": "REVIEW_ONLY", + "reasons": [ + "OLD_VERSION_REQUIRES_USAGE_CONFIRMATION" + ], + "deletion_authorized": false + }, + { + "package": "challenges/koth-template/service", + "package_class": "SELF_TEST", + "version_id": 1165202164, + "image": "ghcr.io/msg-ctf/challenges/koth-template/service@sha256:ea34aadc65f2145a21ba0b95bbc2b258bf0095a0ba28fd02600f5285ca961ea4", + "tags": [ + "9c0088f1ede9ccc4a9226466da21bb38c26f9d03-32719785974-1-f813a10e3d6c47d5b78377515c80fb62" + ], + "created_at": "2026-08-24T11:03:24+00:00", + "updated_at": "2026-08-24T11:03:24+00:00", + "decision": "REVIEW_ONLY", + "reasons": [ + "OLD_VERSION_REQUIRES_USAGE_CONFIRMATION" + ], + "deletion_authorized": false + }, + { + "package": "challenges/koth-template/service", + "package_class": "SELF_TEST", + "version_id": 1164962537, + "image": "ghcr.io/msg-ctf/challenges/koth-template/service@sha256:02d0eecadba943dfaf7d8eb83d872d922378010ed8912ef7390d9105f09e1002", + "tags": [ + "647149e6da79ccb8cfc840a6a510ddb1a07e1939-32713627303-1-dd1990694a5f48c58a6229551e3f40da" + ], + "created_at": "2026-08-24T09:51:23+00:00", + "updated_at": "2026-08-24T09:51:23+00:00", + "decision": "REVIEW_ONLY", + "reasons": [ + "OLD_VERSION_REQUIRES_USAGE_CONFIRMATION" + ], + "deletion_authorized": false + }, + { + "package": "challenges/crypto-reused-seal/chall", + "package_class": "CHALLENGE", + "version_id": 1165581209, + "image": "ghcr.io/msg-ctf/challenges/crypto-reused-seal/chall@sha256:b68e31e0074c5dee3fa4eef68d636cebea046e12e9ddabe9732eec4c77152983", + "tags": [ + "bb1c7377cbe17fffb6be558e51cda70a3611a0c3-32728957892-1" + ], + "created_at": "2026-08-24T12:49:10+00:00", + "updated_at": "2026-08-24T12:49:10+00:00", + "decision": "REVIEW_ONLY", + "reasons": [ + "OLD_VERSION_REQUIRES_USAGE_CONFIRMATION" + ], + "deletion_authorized": false + }, + { + "package": "challenges/crypto-nerves/web", + "package_class": "CHALLENGE", + "version_id": 1184786172, + "image": "ghcr.io/msg-ctf/challenges/crypto-nerves/web@sha256:975feda7248cb93a6846caa88d6922ddb946a87d7de8115f606f1c8d7253239e", + "tags": [ + "22b2ac69e49c7a49a12cbb35846af70a798866dd-33232137163-1-a5ac949449434324898072e4b7b63f93" + ], + "created_at": "2026-08-29T03:47:47+00:00", + "updated_at": "2026-08-29T03:47:47+00:00", + "decision": "REVIEW_ONLY", + "reasons": [ + "OLD_VERSION_REQUIRES_USAGE_CONFIRMATION" + ], + "deletion_authorized": false + }, + { + "package": "challenges/crypto-nerves/web", + "package_class": "CHALLENGE", + "version_id": 1184750579, + "image": "ghcr.io/msg-ctf/challenges/crypto-nerves/web@sha256:bf0a3bdfd7a011c8abb08ae35c4e4e438db8df28696736ef93e57b9ec69bb9a7", + "tags": [ + "b5a1722c4c873cbf5bc283f5528ab4158b21e6cb-33231008297-1-be42695a40b04c638d5f3125f7784a12" + ], + "created_at": "2026-08-29T03:21:04+00:00", + "updated_at": "2026-08-29T03:21:04+00:00", + "decision": "REVIEW_ONLY", + "reasons": [ + "OLD_VERSION_REQUIRES_USAGE_CONFIRMATION" + ], + "deletion_authorized": false + }, + { + "package": "challenges/crypto-nerves/web", + "package_class": "CHALLENGE", + "version_id": 1184705517, + "image": "ghcr.io/msg-ctf/challenges/crypto-nerves/web@sha256:e9359476cde8716ba2d40330ba0cb537073aff06712d8561d20c15673dd6a110", + "tags": [ + "428f8ba732532e4005474a97e1e66fd900a96902-33229587073-1-6ad61c0070e44c77b8c3a5072921d2d0" + ], + "created_at": "2026-08-29T02:45:17+00:00", + "updated_at": "2026-08-29T02:45:17+00:00", + "decision": "REVIEW_ONLY", + "reasons": [ + "OLD_VERSION_REQUIRES_USAGE_CONFIRMATION" + ], + "deletion_authorized": false + }, + { + "package": "challenges/crypto-nerves/web", + "package_class": "CHALLENGE", + "version_id": 1183721127, + "image": "ghcr.io/msg-ctf/challenges/crypto-nerves/web@sha256:1751666846fa743f2c5f8db747b4895ffe2775b365507dbf1c7bb13bca82abf1", + "tags": [ + "a4eb0ae83accbc10eb1c76e0738c7086ea1c20c2-33200557006-1-6840beba60b1401188c795fbcad3947a" + ], + "created_at": "2026-08-28T18:46:23+00:00", + "updated_at": "2026-08-28T18:46:23+00:00", + "decision": "REVIEW_ONLY", + "reasons": [ + "OLD_VERSION_REQUIRES_USAGE_CONFIRMATION" + ], + "deletion_authorized": false + }, + { + "package": "challenges/web-logout-please/service", + "package_class": "CHALLENGE", + "version_id": 1208096698, + "image": "ghcr.io/msg-ctf/challenges/web-logout-please/service@sha256:638f059405546b90100831323b4067a12af58b385f854a6744566e256a84fa20", + "tags": [ + "4b80d9e8a8e1f32c6668b674697788a8c37f57e6-33845870774-1-2abbc712c69c46f582c7892298277bd5" + ], + "created_at": "2026-09-04T06:51:36+00:00", + "updated_at": "2026-09-04T06:51:36+00:00", + "decision": "REVIEW_ONLY", + "reasons": [ + "OLD_VERSION_REQUIRES_USAGE_CONFIRMATION" + ], + "deletion_authorized": false + }, + { + "package": "challenges/misc-reqr/web", + "package_class": "CHALLENGE", + "version_id": 1208429120, + "image": "ghcr.io/msg-ctf/challenges/misc-reqr/web@sha256:334dbecb6361f260bb797b8e5b10ce1c46ce168c9e7eb1d9a48a6e5bc413016d", + "tags": [ + "ab9947056ea3a1fe994b74ba86901882f1a1fc92-33853864361-1-609c6495e30a42a98ef03a3173b96b25" + ], + "created_at": "2026-09-04T08:35:33+00:00", + "updated_at": "2026-09-04T08:35:33+00:00", + "decision": "REVIEW_ONLY", + "reasons": [ + "OLD_VERSION_REQUIRES_USAGE_CONFIRMATION" + ], + "deletion_authorized": false + }, + { + "package": "challenges/pwn-price-tag/price-tag", + "package_class": "CHALLENGE", + "version_id": 1215700095, + "image": "ghcr.io/msg-ctf/challenges/pwn-price-tag/price-tag@sha256:7874a52cd032d101dbb8865772762ce3d6206954b72578389909a6ffef8906b8", + "tags": [ + "a7e37653b82d816cfe3012da79abd23a181e180e-34040834919-1-224f351a5ee1436694da03921f646839" + ], + "created_at": "2026-09-06T15:01:48+00:00", + "updated_at": "2026-09-06T15:01:48+00:00", + "decision": "REVIEW_ONLY", + "reasons": [ + "OLD_VERSION_REQUIRES_USAGE_CONFIRMATION" + ], + "deletion_authorized": false + } + ] +} diff --git a/docs/reports/2026-10-07-integration-readiness/input.json b/docs/reports/2026-10-07-integration-readiness/input.json new file mode 100644 index 0000000..264aaf7 --- /dev/null +++ b/docs/reports/2026-10-07-integration-readiness/input.json @@ -0,0 +1,98 @@ +{ + "repository": "MSG-CTF/2026_MSG_CTF", + "backend_sha": "8ed90393220154cd0983a49dd52abf87534d0c9b", + "cases": [ + { + "challenge_slug": "misc-cashout", + "runtime_required": true, + "registry_revision": 449, + "run": { + "conclusion": "success", + "head_branch": "main", + "head_sha": "1dea73b652f9eeb98204c1fda7f66b9afb89505d", + "html_url": "https://github.com/MSG-CTF/2026_MSG_CTF/actions/runs/37341655773", + "id": 37341655773, + "status": "completed" + }, + "publish_artifact": { + "id": 11358877179, + "name": "misc-cashout-37341655773-1-07d1e51f85d74e4481ddafdfbb55b74c-publish-bundle" + }, + "user_artifact": { + "id": 11358034774, + "name": "misc-cashout-37341655773-1-07d1e51f85d74e4481ddafdfbb55b74c-user-files-bundle" + } + }, + { + "challenge_slug": "pwn-random6", + "runtime_required": true, + "registry_revision": 455, + "run": { + "conclusion": "success", + "head_branch": "main", + "head_sha": "1dea73b652f9eeb98204c1fda7f66b9afb89505d", + "html_url": "https://github.com/MSG-CTF/2026_MSG_CTF/actions/runs/37345781390", + "id": 37345781390, + "status": "completed" + }, + "publish_artifact": { + "id": 11360925900, + "name": "pwn-random6-37345781390-1-097b7820c05041db8f8c9c8193a965e2-publish-bundle" + }, + "user_artifact": { + "id": 11359944048, + "name": "pwn-random6-37345781390-1-097b7820c05041db8f8c9c8193a965e2-user-files-bundle" + } + }, + { + "challenge_slug": "forensic-is-this-job-legit", + "runtime_required": false, + "registry_revision": 466, + "run": { + "conclusion": "success", + "head_branch": "main", + "head_sha": "1dea73b652f9eeb98204c1fda7f66b9afb89505d", + "html_url": "https://github.com/MSG-CTF/2026_MSG_CTF/actions/runs/37353062378", + "id": 37353062378, + "status": "completed" + }, + "publish_artifact": null, + "user_artifact": { + "id": 11363875661, + "name": "forensic-is-this-job-legit-37353062378-1-e27736309b7844c28cb46be1eda58a59-user-files-bundle" + } + }, + { + "challenge_slug": "misc-hidden-order", + "runtime_required": false, + "registry_revision": 469, + "run": { + "conclusion": "success", + "head_branch": "main", + "head_sha": "1dea73b652f9eeb98204c1fda7f66b9afb89505d", + "html_url": "https://github.com/MSG-CTF/2026_MSG_CTF/actions/runs/37354078451", + "id": 37354078451, + "status": "completed" + }, + "publish_artifact": null, + "user_artifact": { + "id": 11364086714, + "name": "misc-hidden-order-37354078451-1-d354e6f9e0d44abf9e5146eb046ba484-user-files-bundle" + } + } + ], + "previous_release": { + "run": { + "conclusion": "success", + "head_branch": "main", + "head_sha": "e225529e55b9250117e93af36b28f4e82265f1a7", + "html_url": "https://github.com/MSG-CTF/2026_MSG_CTF/actions/runs/36388354543", + "id": 36388354543, + "status": "completed" + }, + "artifact": { + "id": 10955805059, + "name": "pwn-random6-36388354543-1-edd24b94528e48c8add09b3088c34837-publish-bundle" + } + } +} diff --git a/docs/reports/2026-10-07-integration-readiness/probe_backend.py b/docs/reports/2026-10-07-integration-readiness/probe_backend.py new file mode 100644 index 0000000..37f4cdb --- /dev/null +++ b/docs/reports/2026-10-07-integration-readiness/probe_backend.py @@ -0,0 +1,230 @@ +"""실제 산출물을 Backend 코드로 검사하는 로컬 전용 시험. 운영 DB/API는 사용하지 않는다.""" + +import argparse +import copy +import hashlib +import importlib +import json +import os +from pathlib import Path +import secrets +import subprocess +import sys +import tempfile +from unittest.mock import patch + + +def require(condition, message): + if not condition: + raise AssertionError(message) + + +def read_json(path): + return json.loads(path.read_text(encoding="utf-8")) + + +def run(args): + backend = args.backend.resolve() + evidence = args.evidence.resolve() + snapshot = read_json(evidence / "input.json") + sha = subprocess.check_output(["git", "rev-parse", "HEAD"], cwd=backend, text=True).strip() + require(sha == snapshot["backend_sha"], "Backend 기준 commit이 다릅니다") + require(not (backend / ".env").exists(), "운영 환경변수 파일이 있는 checkout은 사용하지 않습니다") + sys.path.insert(0, str(backend)) + os.environ["DJANGO_SECRET_KEY"] = secrets.token_urlsafe(48) + os.environ["JWT_SECRET"] = secrets.token_urlsafe(48) + os.environ.pop("DJANGO_SETTINGS_MODULE", None) + + import django + from django.conf import settings + + require(not settings.configured, "이미 구성된 Django 환경은 사용하지 않습니다") + base = importlib.import_module("config.settings") + configuration = {name: getattr(base, name) for name in dir(base) if name.isupper()} + with tempfile.TemporaryDirectory(prefix="msgctf-consumer-probe-") as temporary: + configuration.update( + DATABASES={"default": {"ENGINE": "django.db.backends.sqlite3", "NAME": ":memory:"}}, + CACHES={"default": {"BACKEND": "django.core.cache.backends.locmem.LocMemCache"}}, + MEDIA_ROOT=temporary, + STORAGES={ + "default": {"BACKEND": "django.core.files.storage.FileSystemStorage"}, + "staticfiles": {"BACKEND": "django.contrib.staticfiles.storage.StaticFilesStorage"}, + }, + ALLOWED_HOSTS=["testserver"], + DEBUG=True, + SECURE_SSL_REDIRECT=False, + RELEASE_POLL_SOURCE_REF="refs/heads/main", + RELEASE_POLL_GITHUB_TOKEN="", + ) + settings.configure(**configuration) + django.setup() + + from django.core.management import call_command + from django.core.files.storage import default_storage + from django.db import connections + from rest_framework.test import APIClient + from apps.accounts.models import Team, User + from apps.board.models import Cell, TeamChallengeAccess + from apps.challenge.models import Challenge + from apps.instances.models import ChallengeRelease, ChallengeRuntimeConfig, ChallengeUserFileBundle + from apps.instances.poller import poll_once, register_bundle, validate_bundle_source + from apps.instances.user_files import poll_user_files_once + + call_command("migrate", verbosity=0, interactive=False) + require(connections["default"].vendor == "sqlite", "로컬 SQLite 이외 DB는 사용하지 않습니다") + require(settings.DATABASES["default"]["NAME"] == ":memory:", "메모리 시험 DB가 아닙니다") + team = Team.objects.create(team_name="local-integration-probe") + password = secrets.token_urlsafe(24) + admin = User.objects.create_user(login_id="probe-admin", password=password, nickname="admin", role="ADMIN") + player = User.objects.create_user(login_id="probe-player", password=password, nickname="player", team=team) + + def client_for(user): + client = APIClient() + response = client.post("/api/v1/auth/login", {"login_id": user.login_id, "password": password}, format="json") + require(response.status_code == 200, "시험 사용자 로그인 실패") + client.credentials(HTTP_AUTHORIZATION="Bearer " + response.data["data"]["access_token"]) + return client + + admin_client, player_client = client_for(admin), client_for(player) + challenges = {} + runs, publish_payloads, user_payloads = {}, {}, {} + publish_artifacts, user_artifacts = [], [] + for index, case in enumerate(snapshot["cases"], 1): + slug = case["challenge_slug"] + category = {"pwn": "PWN", "forensic": "FORENSIC", "misc": "MISC"}[slug.split("-")[0]] + challenge = Challenge.objects.create(challenge_slug=slug, title=slug, category=category, + difficulty="EASY", score=500, description="로컬 산출물 시험", flag_hash="local-probe-placeholder", is_published=True) + challenges[slug] = challenge + cell = Cell.objects.create(cell_index=index, type="CHALLENGE", difficulty="EASY", name=slug) + TeamChallengeAccess.objects.create(team=team, challenge=challenge, source_cell=cell) + run_data = case["run"] + require(run_data["status"] == "completed" and run_data["conclusion"] == "success", "출처 workflow가 성공 상태가 아닙니다") + runs[run_data["id"]] = run_data + + def artifact_metadata(item): + return {**item, "expired": False, "workflow_run": { + "id": run_data["id"], "head_branch": run_data["head_branch"], "head_sha": run_data["head_sha"]}} + + if case["publish_artifact"]: + artifact = artifact_metadata(case["publish_artifact"]) + publish_artifacts.append(artifact) + payload = read_json(evidence / "artifacts" / slug / "publish" / "artifact-v2.json") + publish_payloads[artifact["id"]] = payload + validate_bundle_source(artifact, run_data, payload) + artifact = artifact_metadata(case["user_artifact"]) + user_artifacts.append(artifact) + directory = evidence / "artifacts" / slug / "user" + user_payloads[artifact["id"]] = (read_json(directory / "user-files.json"), + (directory / "user-files.zip").read_bytes() if (directory / "user-files.zip").exists() else None) + + previous = snapshot["previous_release"] + old_artifact = {**previous["artifact"], "workflow_run": {"id": previous["run"]["id"], + "head_branch": previous["run"]["head_branch"], "head_sha": previous["run"]["head_sha"]}} + old_path = evidence / "artifacts/pwn-random6/revision-330" / old_artifact["name"] / "artifact-v2.json" + old_payload = read_json(old_path) + validate_bundle_source(old_artifact, previous["run"], old_payload) + status, old_release = register_bundle(old_payload) + require(status == "registered", "이전 실제 revision 등록 실패") + + def activate(challenge, release): + response = admin_client.post(f"/api/v1/admin/challenges/{challenge.pk}/releases/{release.pk}/activate", {}, format="json") + require(response.status_code == 200, "관리자 릴리스 활성화 실패") + + random_challenge = challenges["pwn-random6"] + activate(random_challenge, old_release) + release_downloads = patch("apps.instances.poller.download_bundle", side_effect=lambda artifact, **_: copy.deepcopy(publish_payloads[artifact["id"]])) + user_downloads = patch("apps.instances.user_files.download_user_files_bundle", side_effect=lambda artifact, **_: copy.deepcopy(user_payloads[artifact["id"]])) + + # GitHub HTTP 계층만 실제 다운로드 파일과 메타데이터로 대체한다. 소비·검증·DB 코드는 Backend 원본을 사용한다. + with patch("apps.instances.poller.list_artifacts_by_suffix", side_effect=lambda suffix, **_: publish_artifacts if suffix == "-publish-bundle" else user_artifacts), \ + patch("apps.instances.poller.get_workflow_run", side_effect=lambda artifact, **_: runs[artifact["workflow_run"]["id"]]), \ + patch("apps.instances.user_files.get_workflow_run", side_effect=lambda artifact, **_: runs[artifact["workflow_run"]["id"]]), \ + release_downloads as release_download, user_downloads as user_download: + first_release = poll_once() + first_user = poll_user_files_once() + counts_before = (release_download.call_count, user_download.call_count) + second_release = poll_once() + second_user = poll_user_files_once() + require((release_download.call_count, user_download.call_count) == counts_before, "재수집 시 파일을 다시 다운로드했습니다") + + require(first_release["registered"] == 2 and first_release["invalid"] == 0, "실제 릴리스 2개 등록 실패") + require(first_user["registered"] == 4 and first_user["invalid"] == 0, "참가자 파일 네 종류 등록 실패") + require(all(value == 0 for value in second_release.values()), "릴리스 재수집 결과가 비어 있지 않습니다") + require(all(value == 0 for value in second_user.values()), "참가자 파일 재수집 결과가 비어 있지 않습니다") + random_config = ChallengeRuntimeConfig.objects.get(challenge=random_challenge) + require(random_config.current_release_id == old_release.pk, "새 revision 등록으로 active가 바뀌었습니다") + new_release = ChallengeRelease.objects.get(challenge=random_challenge, registry_revision=455) + require(new_release.registry_revision > old_release.registry_revision, "신규 revision이 아닙니다") + activate(random_challenge, new_release) + + cases = [] + for case in snapshot["cases"]: + slug = case["challenge_slug"] + challenge = challenges[slug] + if case["runtime_required"]: + release = ChallengeRelease.objects.get(challenge=challenge, registry_revision=case["registry_revision"]) + source = publish_payloads[case["publish_artifact"]["id"]] + require(release.cpu_millicores == source["resource_profile"]["cpu_millicores"] and + release.memory_mib == source["resource_profile"]["memory_mib"] and + release.ephemeral_storage_mib == source["resource_profile"]["ephemeral_storage_mib"], "리소스 DB 보존 실패") + persisted = {row.name: row for row in release.containers.all()} + for container in source["workload"]["containers"]: + require(persisted[container["name"]].image_ref == container["image"] and + persisted[container["name"]].ports == container["ports"], "컨테이너 digest·포트 DB 보존 실패") + activate(challenge, release) + bundle = ChallengeUserFileBundle.objects.get(challenge=challenge, registry_revision=case["registry_revision"]) + manifest, archive = user_payloads[case["user_artifact"]["id"]] + require(bundle.present == manifest["user_files"]["present"], "present DB 보존 실패") + detail = player_client.get(f"/api/v1/challenges/{challenge.pk}") + require(detail.status_code == 200, "참가자 문제 조회 실패") + files = detail.data["data"]["files"] + row = {"challenge_slug": slug, "registry_revision": case["registry_revision"], "runtime_required": case["runtime_required"], + "present": bundle.present, "registered": True, "detail_files_count": len(files)} + if bundle.present: + require(len(files) == 1, "파일 응답이 누락됐습니다") + response = player_client.get(files[0]["download_url"]) + require(response.status_code == 200, "참가자 ZIP 다운로드 실패") + downloaded = b"".join(response.streaming_content) + response.close() + require(hashlib.sha256(downloaded).hexdigest() == bundle.sha256, "다운로드 checksum 불일치") + require(downloaded == archive, "다운로드 ZIP이 발행 파일과 다릅니다") + access = TeamChallengeAccess.objects.get(team=team, challenge=challenge) + access.delete() + denied = player_client.get(files[0]["download_url"]) + require(denied.status_code == 403, "문제 미개방 다운로드가 허용됐습니다") + row.update(download_status=200, locked_download_status=403, sha256=bundle.sha256, checksum_verified=True, + object_key=bundle.object_key, storage_exists=default_storage.exists(bundle.object_key)) + else: + require(files == [] and not bundle.object_key, "파일 없음 처리 실패") + cases.append(row) + + report = {"status": "PASS", "backend_sha": sha, "django_version": django.get_version(), + "scope": "REAL_ACTIONS_ARTIFACTS_LOCAL_BACKEND_CONSUMER", "database": "isolated_in_memory_sqlite", "storage": "temporary_local_filesystem", + "github_transport_mocked": True, "production_db_modified": False, "gcs_verified": False, + "runtime_verified": False, "koth_mapping_verified": False, "first_release_poll": first_release, "first_user_poll": first_user, + "second_release_poll": second_release, "second_user_poll": second_user, "release_download_calls": counts_before[0], "user_download_calls": counts_before[1], + "previous_active_revision": old_release.registry_revision, "new_revision": new_release.registry_revision, + "active_preserved_until_admin_activation": True, "admin_activation_verified": True, "cases": cases, + "participant_file_visibility_policy": "dynamic_active_release_revision; static_latest_revision"} + connections.close_all() + return report + + +def main(): + parser = argparse.ArgumentParser(description=__doc__) + parser.add_argument("--backend", required=True, type=Path) + parser.add_argument("--evidence", required=True, type=Path) + parser.add_argument("--output", required=True, type=Path) + args = parser.parse_args() + try: + report = run(args) + except Exception as error: + report = {"status": "FAILED", "error_type": type(error).__name__, "production_db_modified": False, "gcs_verified": False} + args.output.write_text(json.dumps(report, indent=2) + "\n", encoding="utf-8") + raise + args.output.write_text(json.dumps(report, ensure_ascii=False, indent=2) + "\n", encoding="utf-8") + print(json.dumps({"status": report["status"], "cases": len(report["cases"]), "backend_sha": report["backend_sha"]})) + + +if __name__ == "__main__": + main() diff --git a/docs/reports/2026-10-07-integration-readiness/publication-handoff.json b/docs/reports/2026-10-07-integration-readiness/publication-handoff.json new file mode 100644 index 0000000..f54e079 --- /dev/null +++ b/docs/reports/2026-10-07-integration-readiness/publication-handoff.json @@ -0,0 +1,885 @@ +{ + "schema_version": "1.0", + "repository": "MSG-CTF/2026_MSG_CTF", + "source_sha": "1dea73b652f9eeb98204c1fda7f66b9afb89505d", + "devsecops_sha": "2d275ae083324eb83b776ace81daa3a669d2c11c", + "backend_registration_verified": false, + "runtime_deployment_verified": false, + "gcs_upload_verified": false, + "problems": [ + { + "challenge_slug": "web-afterimage", + "runtime_required": true, + "registry_revision": 440, + "run_id": 37334074888, + "run_url": "https://github.com/MSG-CTF/2026_MSG_CTF/actions/runs/37334074888", + "verification_status": "PASS", + "artifacts": [ + { + "id": 11356360017, + "name": "web-afterimage-37334074888-1-38e36e37572e43a0a87ebe7709fa6598-user-files-bundle" + }, + { + "id": 11356355981, + "name": "web-afterimage-37334074888-1-38e36e37572e43a0a87ebe7709fa6598-publish-bundle" + } + ], + "user_files": { + "present": true, + "sha256": "8178e99ff8c17a4da3c8f2d34c97522fc71f977872110cff0421f9532bed8afa", + "size_bytes": 1588732, + "file_count": 18, + "uncompressed_size_bytes": 2280730 + }, + "publish_bundle_sha256": "04ef16710cbd99bf9309402c59a459dbc55802cce79d3f0f2266119ccf4b8cbc" + }, + { + "challenge_slug": "crypto-nerves", + "runtime_required": true, + "registry_revision": 441, + "run_id": 37334933862, + "run_url": "https://github.com/MSG-CTF/2026_MSG_CTF/actions/runs/37334933862", + "verification_status": "PASS", + "artifacts": [ + { + "id": 11355533744, + "name": "crypto-nerves-37334933862-1-b127fbd328c547afaca45305ea07f5e5-publish-bundle" + }, + { + "id": 11355114876, + "name": "crypto-nerves-37334933862-1-b127fbd328c547afaca45305ea07f5e5-user-files-bundle" + } + ], + "user_files": { + "present": true, + "sha256": "a10816f5e9ebfe71d7cf4ad0cde0453b546cca8f8a3fbb53833d624f1f5b5a3c", + "size_bytes": 24991, + "file_count": 4, + "uncompressed_size_bytes": 68389 + }, + "publish_bundle_sha256": "433ccae23b61f5ff2e3f339fb6298ca9ec8ba7d179266a072f6ef874076fc8ea" + }, + { + "challenge_slug": "crypto-reused-seal", + "runtime_required": true, + "registry_revision": 442, + "run_id": 37335859080, + "run_url": "https://github.com/MSG-CTF/2026_MSG_CTF/actions/runs/37335859080", + "verification_status": "PASS", + "artifacts": [ + { + "id": 11356427789, + "name": "crypto-reused-seal-37335859080-1-59fd8bcaac264188a36fc63c44b62d50-publish-bundle" + }, + { + "id": 11356097654, + "name": "crypto-reused-seal-37335859080-1-59fd8bcaac264188a36fc63c44b62d50-user-files-bundle" + } + ], + "user_files": { + "present": false + }, + "publish_bundle_sha256": "0c7aad5fd54ce53a8f9d6913b57c5596e4b43c6f24ab5f897d9ab172683d4ddb" + }, + { + "challenge_slug": "koth-card-battle-arena", + "runtime_required": true, + "registry_revision": 443, + "run_id": 37336642379, + "run_url": "https://github.com/MSG-CTF/2026_MSG_CTF/actions/runs/37336642379", + "verification_status": "PASS", + "artifacts": [ + { + "id": 11357075959, + "name": "koth-card-battle-arena-37336642379-1-89f893dde8f243d38dd0dcf45155172c-user-files-bundle" + }, + { + "id": 11356309517, + "name": "koth-card-battle-arena-37336642379-1-89f893dde8f243d38dd0dcf45155172c-publish-bundle" + } + ], + "user_files": { + "present": false + }, + "publish_bundle_sha256": "7844c08311bc3ba481f48178920f03dea3142d797267454daeffe353d85b7434" + }, + { + "challenge_slug": "koth-dependency-hell", + "runtime_required": true, + "registry_revision": 444, + "run_id": 37337432038, + "run_url": "https://github.com/MSG-CTF/2026_MSG_CTF/actions/runs/37337432038", + "verification_status": "PASS", + "artifacts": [ + { + "id": 11357620710, + "name": "koth-dependency-hell-37337432038-1-7406e45246cd4a848330ea866edc5e4b-publish-bundle" + }, + { + "id": 11357321350, + "name": "koth-dependency-hell-37337432038-1-7406e45246cd4a848330ea866edc5e4b-user-files-bundle" + } + ], + "user_files": { + "present": true, + "sha256": "42899db41749387f0c855b20ed8f5f9285f5940a3b2b41730b2fb327f5786968", + "size_bytes": 7233494, + "file_count": 23, + "uncompressed_size_bytes": 7378022 + }, + "publish_bundle_sha256": "2c2fe3214bb0ad576278e4e87b8bc49b0c9cbac37f4bf879776f1f88ee8f9cf8" + }, + { + "challenge_slug": "koth-grand-tour-duel", + "runtime_required": true, + "registry_revision": 445, + "run_id": 37338403644, + "run_url": "https://github.com/MSG-CTF/2026_MSG_CTF/actions/runs/37338403644", + "verification_status": "PASS", + "artifacts": [ + { + "id": 11356973486, + "name": "koth-grand-tour-duel-37338403644-1-dcc3196286eb4148906fdfa833c0f80f-user-files-bundle" + }, + { + "id": 11356958587, + "name": "koth-grand-tour-duel-37338403644-1-dcc3196286eb4148906fdfa833c0f80f-publish-bundle" + } + ], + "user_files": { + "present": true, + "sha256": "73f0065a33b7d00e5c7cf01e2a1df19a741c637407aadb3ff3b8a8fc7c7a1088", + "size_bytes": 6200, + "file_count": 4, + "uncompressed_size_bytes": 26577 + }, + "publish_bundle_sha256": "1637a381bd8f86d53f52cc0f62d304e9c360cc42ce2de61ec37597fa351e3076" + }, + { + "challenge_slug": "koth-jenga", + "runtime_required": true, + "registry_revision": 446, + "run_id": 37339180199, + "run_url": "https://github.com/MSG-CTF/2026_MSG_CTF/actions/runs/37339180199", + "verification_status": "PASS", + "artifacts": [ + { + "id": 11358295627, + "name": "koth-jenga-37339180199-1-f9e1094e73b94c1e8ac6b6693c98d6bf-publish-bundle" + }, + { + "id": 11358171036, + "name": "koth-jenga-37339180199-1-f9e1094e73b94c1e8ac6b6693c98d6bf-user-files-bundle" + } + ], + "user_files": { + "present": true, + "sha256": "3ec76320fee6df656091dad4e1e41e95a7fb01f413235d9d8386e2c2fc0fb472", + "size_bytes": 20089, + "file_count": 34, + "uncompressed_size_bytes": 24566 + }, + "publish_bundle_sha256": "34e9ac4928797b2ff202b7ed758dbbebc69c23d23bea622619047246882b0f59" + }, + { + "challenge_slug": "koth-pixel-smuggler", + "runtime_required": true, + "registry_revision": 447, + "run_id": 37340006626, + "run_url": "https://github.com/MSG-CTF/2026_MSG_CTF/actions/runs/37340006626", + "verification_status": "PASS", + "artifacts": [ + { + "id": 11358053130, + "name": "koth-pixel-smuggler-37340006626-1-40065b4d9d054ca7b406adfeb29e6b87-publish-bundle" + }, + { + "id": 11358017746, + "name": "koth-pixel-smuggler-37340006626-1-40065b4d9d054ca7b406adfeb29e6b87-user-files-bundle" + } + ], + "user_files": { + "present": true, + "sha256": "a5e1acb7aeb6f86feb00cd447203d1ebe1dbc5a343702dafc0fde0aefd53b9ea", + "size_bytes": 10453, + "file_count": 6, + "uncompressed_size_bytes": 23264 + }, + "publish_bundle_sha256": "3f7a30383501cb36e7b8388185dfbb652a5a6a47105ca3f3d7c739b218b75747" + }, + { + "challenge_slug": "koth-swanopoly", + "runtime_required": true, + "registry_revision": 448, + "run_id": 37340833660, + "run_url": "https://github.com/MSG-CTF/2026_MSG_CTF/actions/runs/37340833660", + "verification_status": "PASS", + "artifacts": [ + { + "id": 11358691552, + "name": "koth-swanopoly-37340833660-1-ee5babe0faa040b89b418006cf1994fe-user-files-bundle" + }, + { + "id": 11357509549, + "name": "koth-swanopoly-37340833660-1-ee5babe0faa040b89b418006cf1994fe-publish-bundle" + } + ], + "user_files": { + "present": true, + "sha256": "12d36897cebc8d4334fdf3f3c9438338e91968acde808e8ba3b1d30db540d2e3", + "size_bytes": 8765, + "file_count": 4, + "uncompressed_size_bytes": 24947 + }, + "publish_bundle_sha256": "40abcbfe04be37b3246fa938a0c42c289e79428de4db7ea6acd96ebbcfb4527d" + }, + { + "challenge_slug": "misc-cashout", + "runtime_required": true, + "registry_revision": 449, + "run_id": 37341655773, + "run_url": "https://github.com/MSG-CTF/2026_MSG_CTF/actions/runs/37341655773", + "verification_status": "PASS", + "artifacts": [ + { + "id": 11358877179, + "name": "misc-cashout-37341655773-1-07d1e51f85d74e4481ddafdfbb55b74c-publish-bundle" + }, + { + "id": 11358034774, + "name": "misc-cashout-37341655773-1-07d1e51f85d74e4481ddafdfbb55b74c-user-files-bundle" + } + ], + "user_files": { + "present": false + }, + "publish_bundle_sha256": "0e0a3a31190c18d64dcc13a80c9aeac2b273202b43cab0f9305ed8b79329e483" + }, + { + "challenge_slug": "misc-reqr", + "runtime_required": true, + "registry_revision": 450, + "run_id": 37342332259, + "run_url": "https://github.com/MSG-CTF/2026_MSG_CTF/actions/runs/37342332259", + "verification_status": "PASS", + "artifacts": [ + { + "id": 11358967776, + "name": "misc-reqr-37342332259-1-0c127cd242af4aa7b9b3e496fbfe4ed3-publish-bundle" + }, + { + "id": 11358907487, + "name": "misc-reqr-37342332259-1-0c127cd242af4aa7b9b3e496fbfe4ed3-user-files-bundle" + } + ], + "user_files": { + "present": true, + "sha256": "0b66140a4f3e34df657737f90a2f4ab5a175fcb9bc9e4a0e3aa2b70a8de5a027", + "size_bytes": 416309, + "file_count": 2, + "uncompressed_size_bytes": 416159 + }, + "publish_bundle_sha256": "0bb00d8b8cc5d07eb815625631f22c37ca819bf298a4f2d88fa4423e01dac74b" + }, + { + "challenge_slug": "osint-the-past-has-an-address", + "runtime_required": true, + "registry_revision": 451, + "run_id": 37342994911, + "run_url": "https://github.com/MSG-CTF/2026_MSG_CTF/actions/runs/37342994911", + "verification_status": "PASS", + "artifacts": [ + { + "id": 11359381730, + "name": "osint-the-past-has-an-address-37342994911-1-2cbd17b1028d4365911d9a6ac620813d-publish-bundle" + }, + { + "id": 11358574868, + "name": "osint-the-past-has-an-address-37342994911-1-2cbd17b1028d4365911d9a6ac620813d-user-files-bundle" + } + ], + "user_files": { + "present": true, + "sha256": "70f67360f3b6199fc04b7a909a22588d90a05e2cb3188f67d38b31c1a0094ef0", + "size_bytes": 617, + "file_count": 1, + "uncompressed_size_bytes": 703 + }, + "publish_bundle_sha256": "db105dc0fd149aef524593166f30d6d16a2a9165cbad2c40f5ac3a221f7560e0" + }, + { + "challenge_slug": "pwn-ghost-file", + "runtime_required": true, + "registry_revision": 452, + "run_id": 37343605194, + "run_url": "https://github.com/MSG-CTF/2026_MSG_CTF/actions/runs/37343605194", + "verification_status": "PASS", + "artifacts": [ + { + "id": 11360260549, + "name": "pwn-ghost-file-37343605194-1-04667bf1688242a79e24429bbcfab3b8-publish-bundle" + }, + { + "id": 11359148724, + "name": "pwn-ghost-file-37343605194-1-04667bf1688242a79e24429bbcfab3b8-user-files-bundle" + } + ], + "user_files": { + "present": true, + "sha256": "e8f9ae2074721dd3ca362ca9b4e86f04b25b4052d6261a3140e3a8a66f0c6fcb", + "size_bytes": 1073155, + "file_count": 4, + "uncompressed_size_bytes": 2477038 + }, + "publish_bundle_sha256": "0fac0734c8e2597cf6afd6b57c9fc614f760989b2559543b4f0f6a3026b68f4a" + }, + { + "challenge_slug": "pwn-note", + "runtime_required": true, + "registry_revision": 453, + "run_id": 37344347417, + "run_url": "https://github.com/MSG-CTF/2026_MSG_CTF/actions/runs/37344347417", + "verification_status": "PASS", + "artifacts": [ + { + "id": 11359463172, + "name": "pwn-note-37344347417-1-98b0494aa62b4217a4feb530d21753fb-publish-bundle" + }, + { + "id": 11358954789, + "name": "pwn-note-37344347417-1-98b0494aa62b4217a4feb530d21753fb-user-files-bundle" + } + ], + "user_files": { + "present": true, + "sha256": "b76f1795bff7a80a110c7fe0901d19bf35e25b416130d4ceca9b5d25064890fa", + "size_bytes": 2691, + "file_count": 1, + "uncompressed_size_bytes": 14336 + }, + "publish_bundle_sha256": "fa9cadd9885fa35e3e222e600d613038921a33de03aa020083946f6e4309c6ca" + }, + { + "challenge_slug": "pwn-price-tag", + "runtime_required": true, + "registry_revision": 454, + "run_id": 37345085174, + "run_url": "https://github.com/MSG-CTF/2026_MSG_CTF/actions/runs/37345085174", + "verification_status": "PASS", + "artifacts": [ + { + "id": 11360077587, + "name": "pwn-price-tag-37345085174-1-64edb0a0122f492d953d853af04687c4-user-files-bundle" + }, + { + "id": 11359793345, + "name": "pwn-price-tag-37345085174-1-64edb0a0122f492d953d853af04687c4-publish-bundle" + } + ], + "user_files": { + "present": true, + "sha256": "f1a7428e8d3ac40c34766662e7d3536f3298494f37a44c5999b7a234f65081f4", + "size_bytes": 4118, + "file_count": 2, + "uncompressed_size_bytes": 18228 + }, + "publish_bundle_sha256": "58f4760a3686fa86d9f913499ef73f4bd4a742ccb8e87f60fc6e8810efb94b83" + }, + { + "challenge_slug": "pwn-random6", + "runtime_required": true, + "registry_revision": 455, + "run_id": 37345781390, + "run_url": "https://github.com/MSG-CTF/2026_MSG_CTF/actions/runs/37345781390", + "verification_status": "PASS", + "artifacts": [ + { + "id": 11360925900, + "name": "pwn-random6-37345781390-1-097b7820c05041db8f8c9c8193a965e2-publish-bundle" + }, + { + "id": 11359944048, + "name": "pwn-random6-37345781390-1-097b7820c05041db8f8c9c8193a965e2-user-files-bundle" + } + ], + "user_files": { + "present": true, + "sha256": "c79f362a6f2473386405ca09b79705b96cf3d03cc46f05f2e5a747de3c80baae", + "size_bytes": 209277, + "file_count": 1, + "uncompressed_size_bytes": 209117 + }, + "publish_bundle_sha256": "17d1f57af167bab1ffad88e1f5351a363f9f76d333924c6e6555f5fd281b5f14" + }, + { + "challenge_slug": "rev-tinyvm", + "runtime_required": true, + "registry_revision": 456, + "run_id": 37346389352, + "run_url": "https://github.com/MSG-CTF/2026_MSG_CTF/actions/runs/37346389352", + "verification_status": "PASS", + "artifacts": [ + { + "id": 11361330612, + "name": "rev-tinyvm-37346389352-1-78d06e2bd0574fea8e332b8d6331d918-publish-bundle" + }, + { + "id": 11360198718, + "name": "rev-tinyvm-37346389352-1-78d06e2bd0574fea8e332b8d6331d918-user-files-bundle" + } + ], + "user_files": { + "present": true, + "sha256": "9647051fd32ad2060e5b9da663ebd7e795f3ce64026a82cceabddc88171e998f", + "size_bytes": 22234, + "file_count": 2, + "uncompressed_size_bytes": 37218 + }, + "publish_bundle_sha256": "13ac40a3434ce654f7473af064927073fca229494a9d444869c816e6ffa9984a" + }, + { + "challenge_slug": "web-daily-point", + "runtime_required": true, + "registry_revision": 457, + "run_id": 37346988116, + "run_url": "https://github.com/MSG-CTF/2026_MSG_CTF/actions/runs/37346988116", + "verification_status": "PASS", + "artifacts": [ + { + "id": 11361181297, + "name": "web-daily-point-37346988116-1-5b6d0b28edc140edaf3cd0a6106f8a2d-publish-bundle" + }, + { + "id": 11360504424, + "name": "web-daily-point-37346988116-1-5b6d0b28edc140edaf3cd0a6106f8a2d-user-files-bundle" + } + ], + "user_files": { + "present": false + }, + "publish_bundle_sha256": "c4ab66ccae41fbbdae75baf44e31470c484450ee094eb5f147c61d7668e20d9f" + }, + { + "challenge_slug": "web-grade-tampering", + "runtime_required": true, + "registry_revision": 458, + "run_id": 37347786917, + "run_url": "https://github.com/MSG-CTF/2026_MSG_CTF/actions/runs/37347786917", + "verification_status": "PASS", + "artifacts": [ + { + "id": 11361271586, + "name": "web-grade-tampering-37347786917-1-7f4bf320bf6b44059e234af19843f3a9-user-files-bundle" + }, + { + "id": 11361197371, + "name": "web-grade-tampering-37347786917-1-7f4bf320bf6b44059e234af19843f3a9-publish-bundle" + } + ], + "user_files": { + "present": false + }, + "publish_bundle_sha256": "d2d6c36f168f9fcd9c48e9330ca66c45ab5b4486da26a558399a907445b2a57c" + }, + { + "challenge_slug": "web-logout-please", + "runtime_required": true, + "registry_revision": 459, + "run_id": 37348453268, + "run_url": "https://github.com/MSG-CTF/2026_MSG_CTF/actions/runs/37348453268", + "verification_status": "PASS", + "artifacts": [ + { + "id": 11361831162, + "name": "web-logout-please-37348453268-1-3329f32770e547119bfe494579fd0555-user-files-bundle" + }, + { + "id": 11361751712, + "name": "web-logout-please-37348453268-1-3329f32770e547119bfe494579fd0555-publish-bundle" + } + ], + "user_files": { + "present": true, + "sha256": "c0a697dea72cadb3ccc0f26f6faaad981450424091ab0a73ed569d4221041336", + "size_bytes": 117, + "file_count": 1, + "uncompressed_size_bytes": 1 + }, + "publish_bundle_sha256": "a262d60c64883666d0c4296b57bc1807dc935d411d3874f740d9b8514ed3c7f1" + }, + { + "challenge_slug": "web-notebook", + "runtime_required": true, + "registry_revision": 460, + "run_id": 37349112874, + "run_url": "https://github.com/MSG-CTF/2026_MSG_CTF/actions/runs/37349112874", + "verification_status": "PASS", + "artifacts": [ + { + "id": 11362181667, + "name": "web-notebook-37349112874-1-c8d20c58fe76460595db1dd7be8e435f-publish-bundle" + }, + { + "id": 11361558723, + "name": "web-notebook-37349112874-1-c8d20c58fe76460595db1dd7be8e435f-user-files-bundle" + } + ], + "user_files": { + "present": false + }, + "publish_bundle_sha256": "d1101e58a58832f2224a7a76ed4cccb847eb288ee72f15421002c1b2b25d33b6" + }, + { + "challenge_slug": "web-open-house", + "runtime_required": true, + "registry_revision": 461, + "run_id": 37349840954, + "run_url": "https://github.com/MSG-CTF/2026_MSG_CTF/actions/runs/37349840954", + "verification_status": "PASS", + "artifacts": [ + { + "id": 11362441967, + "name": "web-open-house-37349840954-1-385dc9b02f534fc99abbe28c0d59189c-publish-bundle" + }, + { + "id": 11361873577, + "name": "web-open-house-37349840954-1-385dc9b02f534fc99abbe28c0d59189c-user-files-bundle" + } + ], + "user_files": { + "present": false + }, + "publish_bundle_sha256": "88ea192dd17fea3005a050020c2fc4a386027931b2b19a9371c4f4ca0f188cea" + }, + { + "challenge_slug": "web3-infinite-pack", + "runtime_required": true, + "registry_revision": 462, + "run_id": 37350749821, + "run_url": "https://github.com/MSG-CTF/2026_MSG_CTF/actions/runs/37350749821", + "verification_status": "PASS", + "artifacts": [ + { + "id": 11362248498, + "name": "web3-infinite-pack-37350749821-1-9565797716c8410eb6cb297b5f58212b-publish-bundle" + }, + { + "id": 11362043651, + "name": "web3-infinite-pack-37350749821-1-9565797716c8410eb6cb297b5f58212b-user-files-bundle" + } + ], + "user_files": { + "present": false + }, + "publish_bundle_sha256": "99967fe5a842b503a2e33f1d12d0cdba7fb55a070cd4f5ce0d94b29774dab457" + }, + { + "challenge_slug": "web3-split-brain-oracle", + "runtime_required": true, + "registry_revision": 463, + "run_id": 37351489269, + "run_url": "https://github.com/MSG-CTF/2026_MSG_CTF/actions/runs/37351489269", + "verification_status": "PASS", + "artifacts": [ + { + "id": 11363675247, + "name": "web3-split-brain-oracle-37351489269-1-0d3bdaa4de254bad8391ce17fc810f82-publish-bundle" + }, + { + "id": 11362104357, + "name": "web3-split-brain-oracle-37351489269-1-0d3bdaa4de254bad8391ce17fc810f82-user-files-bundle" + } + ], + "user_files": { + "present": true, + "sha256": "ea5fbadb9665014263807bc465b576017472b0e5d049a6ecd291b245b9c4b75e", + "size_bytes": 1838218, + "file_count": 40, + "uncompressed_size_bytes": 3832465 + }, + "publish_bundle_sha256": "f14dca667e1eacf4552a89832a8812a56ab6da8c5a8926d88a03f1a945479b9c" + }, + { + "challenge_slug": "crypto-tr88", + "runtime_required": false, + "registry_revision": 464, + "run_id": 37352298164, + "run_url": "https://github.com/MSG-CTF/2026_MSG_CTF/actions/runs/37352298164", + "verification_status": "PASS", + "artifacts": [ + { + "id": 11362409339, + "name": "crypto-tr88-37352298164-1-fbd75e8ceba343c691cbb21b02b21978-user-files-bundle" + } + ], + "user_files": { + "present": true, + "sha256": "3e97f4ff3bb35c402a098846440beeff27537851bebd083826a03989ca2c06f7", + "size_bytes": 14781996, + "file_count": 19, + "uncompressed_size_bytes": 14776831 + }, + "publish_bundle_sha256": null + }, + { + "challenge_slug": "forensic-evidence", + "runtime_required": false, + "registry_revision": 465, + "run_id": 37352717625, + "run_url": "https://github.com/MSG-CTF/2026_MSG_CTF/actions/runs/37352717625", + "verification_status": "PASS", + "artifacts": [ + { + "id": 11363466676, + "name": "forensic-evidence-37352717625-1-7b34c7ef113246d688ce8bcd2f8f7eaf-user-files-bundle" + } + ], + "user_files": { + "present": true, + "sha256": "f511386665b4f2f09d178f97a17f8cdeb6d51c29cc2360eb1699521851fa4b7c", + "size_bytes": 332, + "file_count": 1, + "uncompressed_size_bytes": 213 + }, + "publish_bundle_sha256": null + }, + { + "challenge_slug": "forensic-is-this-job-legit", + "runtime_required": false, + "registry_revision": 466, + "run_id": 37353062378, + "run_url": "https://github.com/MSG-CTF/2026_MSG_CTF/actions/runs/37353062378", + "verification_status": "PASS", + "artifacts": [ + { + "id": 11363875661, + "name": "forensic-is-this-job-legit-37353062378-1-e27736309b7844c28cb46be1eda58a59-user-files-bundle" + } + ], + "user_files": { + "present": false + }, + "publish_bundle_sha256": null + }, + { + "challenge_slug": "forensic-leftovers", + "runtime_required": false, + "registry_revision": 467, + "run_id": 37353397731, + "run_url": "https://github.com/MSG-CTF/2026_MSG_CTF/actions/runs/37353397731", + "verification_status": "PASS", + "artifacts": [ + { + "id": 11363178907, + "name": "forensic-leftovers-37353397731-1-876a59881c694bbea610f073c1f3c99d-user-files-bundle" + } + ], + "user_files": { + "present": true, + "sha256": "6c0d93994997ee36299b625b9367b5130b31cd1d2f1e04d33696e115092faa3c", + "size_bytes": 245, + "file_count": 1, + "uncompressed_size_bytes": 124 + }, + "publish_bundle_sha256": null + }, + { + "challenge_slug": "forensic-the-last-record", + "runtime_required": false, + "registry_revision": 468, + "run_id": 37353735902, + "run_url": "https://github.com/MSG-CTF/2026_MSG_CTF/actions/runs/37353735902", + "verification_status": "PASS", + "artifacts": [ + { + "id": 11363423059, + "name": "forensic-the-last-record-37353735902-1-12d2d7a3234f4f2491e50d0193617e58-user-files-bundle" + } + ], + "user_files": { + "present": true, + "sha256": "d285599d8edf9bc76a661f8ee49fdd55e9fdbc515caa9a973e30ff9a07b1ddba", + "size_bytes": 733, + "file_count": 1, + "uncompressed_size_bytes": 834 + }, + "publish_bundle_sha256": null + }, + { + "challenge_slug": "misc-hidden-order", + "runtime_required": false, + "registry_revision": 469, + "run_id": 37354078451, + "run_url": "https://github.com/MSG-CTF/2026_MSG_CTF/actions/runs/37354078451", + "verification_status": "PASS", + "artifacts": [ + { + "id": 11364086714, + "name": "misc-hidden-order-37354078451-1-d354e6f9e0d44abf9e5146eb046ba484-user-files-bundle" + } + ], + "user_files": { + "present": true, + "sha256": "9fbb05a0a4f8b052145cfd0ce26a6e2afe1642e4f7807f527c9a8cc584164f6b", + "size_bytes": 1093803, + "file_count": 3, + "uncompressed_size_bytes": 1176727 + }, + "publish_bundle_sha256": null + }, + { + "challenge_slug": "misc-snack-thief", + "runtime_required": false, + "registry_revision": 470, + "run_id": 37354420459, + "run_url": "https://github.com/MSG-CTF/2026_MSG_CTF/actions/runs/37354420459", + "verification_status": "PASS", + "artifacts": [ + { + "id": 11364620236, + "name": "misc-snack-thief-37354420459-1-de60314d46604eb1818159aa427fd4e2-user-files-bundle" + } + ], + "user_files": { + "present": true, + "sha256": "557ca105a9159b34cea6e77690f4404aab4445a0f8b9d57c02c496a76064656d", + "size_bytes": 22735145, + "file_count": 1, + "uncompressed_size_bytes": 25033830 + }, + "publish_bundle_sha256": null + }, + { + "challenge_slug": "osint-ramen-man", + "runtime_required": false, + "registry_revision": 471, + "run_id": 37354891450, + "run_url": "https://github.com/MSG-CTF/2026_MSG_CTF/actions/runs/37354891450", + "verification_status": "PASS", + "artifacts": [ + { + "id": 11364506285, + "name": "osint-ramen-man-37354891450-1-0ceb5c9674144b94b77116c2a559d8ce-user-files-bundle" + } + ], + "user_files": { + "present": true, + "sha256": "e2086ab5462d707944f038c515c4bdac5f85375b6da96832a904e631a5a05031", + "size_bytes": 563352, + "file_count": 1, + "uncompressed_size_bytes": 566940 + }, + "publish_bundle_sha256": null + }, + { + "challenge_slug": "osint-trace", + "runtime_required": false, + "registry_revision": 472, + "run_id": 37355231118, + "run_url": "https://github.com/MSG-CTF/2026_MSG_CTF/actions/runs/37355231118", + "verification_status": "PASS", + "artifacts": [ + { + "id": 11363848439, + "name": "osint-trace-37355231118-1-ce37c2252d384e838e181037fddcfac7-user-files-bundle" + } + ], + "user_files": { + "present": true, + "sha256": "2162bc61d943194febab4db762aec973e5991cc9ededbde8254487d08a413bc3", + "size_bytes": 7689938, + "file_count": 1, + "uncompressed_size_bytes": 7710195 + }, + "publish_bundle_sha256": null + }, + { + "challenge_slug": "pwn-msgdriver", + "runtime_required": false, + "registry_revision": 473, + "run_id": 37355605999, + "run_url": "https://github.com/MSG-CTF/2026_MSG_CTF/actions/runs/37355605999", + "verification_status": "PASS", + "artifacts": [ + { + "id": 11364671824, + "name": "pwn-msgdriver-37355605999-1-1d1f185bf6964a98bc9426955e267952-user-files-bundle" + } + ], + "user_files": { + "present": true, + "sha256": "213f35b825e7c47d457edc82fbaf84826bc91d91879be2f4f164486a7dfb69ff", + "size_bytes": 11804, + "file_count": 3, + "uncompressed_size_bytes": 22794 + }, + "publish_bundle_sha256": null + }, + { + "challenge_slug": "rev-ezpz", + "runtime_required": false, + "registry_revision": 474, + "run_id": 37355958294, + "run_url": "https://github.com/MSG-CTF/2026_MSG_CTF/actions/runs/37355958294", + "verification_status": "PASS", + "artifacts": [ + { + "id": 11363943766, + "name": "rev-ezpz-37355958294-1-68e7fb766ef845cd949d1e51228a4bba-user-files-bundle" + } + ], + "user_files": { + "present": true, + "sha256": "972106721605feed80b0817b81dd52bbd81b7fce17f5ccaee6686f7dddad7063", + "size_bytes": 96870545, + "file_count": 1, + "uncompressed_size_bytes": 96848220 + }, + "publish_bundle_sha256": null + }, + { + "challenge_slug": "rev-phantom-lattice", + "runtime_required": false, + "registry_revision": 475, + "run_id": 37356673439, + "run_url": "https://github.com/MSG-CTF/2026_MSG_CTF/actions/runs/37356673439", + "verification_status": "PASS", + "artifacts": [ + { + "id": 11364782921, + "name": "rev-phantom-lattice-37356673439-1-65c91f047b7e49fd843c05392ba5ed4a-user-files-bundle" + } + ], + "user_files": { + "present": true, + "sha256": "ca3d2822a7f1dbdcd00cc65831be127a48698459c89ea9daa1e9f053b84cd897", + "size_bytes": 3397, + "file_count": 1, + "uncompressed_size_bytes": 14472 + }, + "publish_bundle_sha256": null + }, + { + "challenge_slug": "rev-rework", + "runtime_required": false, + "registry_revision": 476, + "run_id": 37356949017, + "run_url": "https://github.com/MSG-CTF/2026_MSG_CTF/actions/runs/37356949017", + "verification_status": "PASS", + "artifacts": [ + { + "id": 11364892451, + "name": "rev-rework-37356949017-1-87d831b7ec86442799cd8333741e13b6-user-files-bundle" + } + ], + "user_files": { + "present": true, + "sha256": "1b3f0cf7c49cb9649e5cb0d3d0c03be70969950ce2cd8ddae482a2da262c35d6", + "size_bytes": 3628766, + "file_count": 1, + "uncompressed_size_bytes": 3633387 + }, + "publish_bundle_sha256": null + } + ] +} diff --git a/docs/reports/2026-10-07-integration-readiness/publication-table.md b/docs/reports/2026-10-07-integration-readiness/publication-table.md new file mode 100644 index 0000000..b7d1fbd --- /dev/null +++ b/docs/reports/2026-10-07-integration-readiness/publication-table.md @@ -0,0 +1,45 @@ +# 전체 발행 목록 대조 + +발행 기준 source SHA: `1dea73b652f9eeb98204c1fda7f66b9afb89505d`. 기존 성공 발행 목록이며 2026-10-07에 전체 빌드를 재실행한 결과가 아닙니다. + +동적 이미지 37개는 2026-10-07 GHCR 목록에서 모두 확인했습니다. Backend 개발 DB 등록과 K3s 실행은 이 표의 성공 범위에 포함되지 않습니다. + +| 문제 | 구분 | revision | 기존 발행 실행 | 참가자 ZIP | 이미지 수 | +|---|---|---|---|---|---| +| web-afterimage | 동적 | 440 | [37334074888](https://github.com/MSG-CTF/2026_MSG_CTF/actions/runs/37334074888) | 있음 | 7 | +| crypto-nerves | 동적 | 441 | [37334933862](https://github.com/MSG-CTF/2026_MSG_CTF/actions/runs/37334933862) | 있음 | 1 | +| crypto-reused-seal | 동적 | 442 | [37335859080](https://github.com/MSG-CTF/2026_MSG_CTF/actions/runs/37335859080) | 없음 | 1 | +| koth-card-battle-arena | 동적 | 443 | [37336642379](https://github.com/MSG-CTF/2026_MSG_CTF/actions/runs/37336642379) | 없음 | 1 | +| koth-dependency-hell | 동적 | 444 | [37337432038](https://github.com/MSG-CTF/2026_MSG_CTF/actions/runs/37337432038) | 있음 | 4 | +| koth-grand-tour-duel | 동적 | 445 | [37338403644](https://github.com/MSG-CTF/2026_MSG_CTF/actions/runs/37338403644) | 있음 | 1 | +| koth-jenga | 동적 | 446 | [37339180199](https://github.com/MSG-CTF/2026_MSG_CTF/actions/runs/37339180199) | 있음 | 1 | +| koth-pixel-smuggler | 동적 | 447 | [37340006626](https://github.com/MSG-CTF/2026_MSG_CTF/actions/runs/37340006626) | 있음 | 1 | +| koth-swanopoly | 동적 | 448 | [37340833660](https://github.com/MSG-CTF/2026_MSG_CTF/actions/runs/37340833660) | 있음 | 4 | +| misc-cashout | 동적 | 449 | [37341655773](https://github.com/MSG-CTF/2026_MSG_CTF/actions/runs/37341655773) | 없음 | 1 | +| misc-reqr | 동적 | 450 | [37342332259](https://github.com/MSG-CTF/2026_MSG_CTF/actions/runs/37342332259) | 있음 | 1 | +| osint-the-past-has-an-address | 동적 | 451 | [37342994911](https://github.com/MSG-CTF/2026_MSG_CTF/actions/runs/37342994911) | 있음 | 1 | +| pwn-ghost-file | 동적 | 452 | [37343605194](https://github.com/MSG-CTF/2026_MSG_CTF/actions/runs/37343605194) | 있음 | 1 | +| pwn-note | 동적 | 453 | [37344347417](https://github.com/MSG-CTF/2026_MSG_CTF/actions/runs/37344347417) | 있음 | 1 | +| pwn-price-tag | 동적 | 454 | [37345085174](https://github.com/MSG-CTF/2026_MSG_CTF/actions/runs/37345085174) | 있음 | 1 | +| pwn-random6 | 동적 | 455 | [37345781390](https://github.com/MSG-CTF/2026_MSG_CTF/actions/runs/37345781390) | 있음 | 1 | +| rev-tinyvm | 동적 | 456 | [37346389352](https://github.com/MSG-CTF/2026_MSG_CTF/actions/runs/37346389352) | 있음 | 1 | +| web-daily-point | 동적 | 457 | [37346988116](https://github.com/MSG-CTF/2026_MSG_CTF/actions/runs/37346988116) | 없음 | 1 | +| web-grade-tampering | 동적 | 458 | [37347786917](https://github.com/MSG-CTF/2026_MSG_CTF/actions/runs/37347786917) | 없음 | 1 | +| web-logout-please | 동적 | 459 | [37348453268](https://github.com/MSG-CTF/2026_MSG_CTF/actions/runs/37348453268) | 있음 | 1 | +| web-notebook | 동적 | 460 | [37349112874](https://github.com/MSG-CTF/2026_MSG_CTF/actions/runs/37349112874) | 없음 | 2 | +| web-open-house | 동적 | 461 | [37349840954](https://github.com/MSG-CTF/2026_MSG_CTF/actions/runs/37349840954) | 없음 | 1 | +| web3-infinite-pack | 동적 | 462 | [37350749821](https://github.com/MSG-CTF/2026_MSG_CTF/actions/runs/37350749821) | 없음 | 1 | +| web3-split-brain-oracle | 동적 | 463 | [37351489269](https://github.com/MSG-CTF/2026_MSG_CTF/actions/runs/37351489269) | 있음 | 1 | +| crypto-tr88 | 정적 | 464 | [37352298164](https://github.com/MSG-CTF/2026_MSG_CTF/actions/runs/37352298164) | 있음 | 0 | +| forensic-evidence | 정적 | 465 | [37352717625](https://github.com/MSG-CTF/2026_MSG_CTF/actions/runs/37352717625) | 있음 | 0 | +| forensic-is-this-job-legit | 정적 | 466 | [37353062378](https://github.com/MSG-CTF/2026_MSG_CTF/actions/runs/37353062378) | 없음 | 0 | +| forensic-leftovers | 정적 | 467 | [37353397731](https://github.com/MSG-CTF/2026_MSG_CTF/actions/runs/37353397731) | 있음 | 0 | +| forensic-the-last-record | 정적 | 468 | [37353735902](https://github.com/MSG-CTF/2026_MSG_CTF/actions/runs/37353735902) | 있음 | 0 | +| misc-hidden-order | 정적 | 469 | [37354078451](https://github.com/MSG-CTF/2026_MSG_CTF/actions/runs/37354078451) | 있음 | 0 | +| misc-snack-thief | 정적 | 470 | [37354420459](https://github.com/MSG-CTF/2026_MSG_CTF/actions/runs/37354420459) | 있음 | 0 | +| osint-ramen-man | 정적 | 471 | [37354891450](https://github.com/MSG-CTF/2026_MSG_CTF/actions/runs/37354891450) | 있음 | 0 | +| osint-trace | 정적 | 472 | [37355231118](https://github.com/MSG-CTF/2026_MSG_CTF/actions/runs/37355231118) | 있음 | 0 | +| pwn-msgdriver | 정적 | 473 | [37355605999](https://github.com/MSG-CTF/2026_MSG_CTF/actions/runs/37355605999) | 있음 | 0 | +| rev-ezpz | 정적 | 474 | [37355958294](https://github.com/MSG-CTF/2026_MSG_CTF/actions/runs/37355958294) | 있음 | 0 | +| rev-phantom-lattice | 정적 | 475 | [37356673439](https://github.com/MSG-CTF/2026_MSG_CTF/actions/runs/37356673439) | 있음 | 0 | +| rev-rework | 정적 | 476 | [37356949017](https://github.com/MSG-CTF/2026_MSG_CTF/actions/runs/37356949017) | 있음 | 0 | diff --git a/docs/reports/2026-10-07-integration-readiness/published-image-references.json b/docs/reports/2026-10-07-integration-readiness/published-image-references.json new file mode 100644 index 0000000..ed66807 --- /dev/null +++ b/docs/reports/2026-10-07-integration-readiness/published-image-references.json @@ -0,0 +1,264 @@ +{ + "source_sha": "1dea73b652f9eeb98204c1fda7f66b9afb89505d", + "images": [ + { + "challenge_slug": "web-afterimage", + "registry_revision": 440, + "name": "portal", + "image": "ghcr.io/msg-ctf/challenges/web-afterimage/portal@sha256:4f0409c9369f0797fed4d9b7f6da121f08b16fdedf5324db17734da553569fc6", + "ghcr_version_id": 1339643642 + }, + { + "challenge_slug": "web-afterimage", + "registry_revision": 440, + "name": "core", + "image": "ghcr.io/msg-ctf/challenges/web-afterimage/core@sha256:b25f1415222bd57d0f7823959576d627fb05d0b08abc4fc252bbfead5a04fb77", + "ghcr_version_id": 1339643235 + }, + { + "challenge_slug": "web-afterimage", + "registry_revision": 440, + "name": "bot", + "image": "ghcr.io/msg-ctf/challenges/web-afterimage/bot@sha256:881176049a36d0e0a7b774c100c732d8c42b27839a220007cba6fb9e17b42180", + "ghcr_version_id": 1339646487 + }, + { + "challenge_slug": "web-afterimage", + "registry_revision": 440, + "name": "exporter", + "image": "ghcr.io/msg-ctf/challenges/web-afterimage/exporter@sha256:164c890cde9ced65cbd43f96b93bfde6f9eaf20301406caa550a8fb194d16f0b", + "ghcr_version_id": 1339639011 + }, + { + "challenge_slug": "web-afterimage", + "registry_revision": 440, + "name": "inventory-metadata", + "image": "ghcr.io/msg-ctf/challenges/web-afterimage/inventory-metadata@sha256:2104947680985ca26b4e7324ca4482f4e95fa792f17f567e285844433f331b9a", + "ghcr_version_id": 1339637819 + }, + { + "challenge_slug": "web-afterimage", + "registry_revision": 440, + "name": "indexer", + "image": "ghcr.io/msg-ctf/challenges/web-afterimage/indexer@sha256:443349ba9c571fde04f13c81750c808ccd0c8b10c356fd554b730def6c97ec6d", + "ghcr_version_id": 1339641524 + }, + { + "challenge_slug": "web-afterimage", + "registry_revision": 440, + "name": "case-vault", + "image": "ghcr.io/msg-ctf/challenges/web-afterimage/case-vault@sha256:b4a63aa56c447d1f9eda0d884f26ddabe145acb806fdcf8c1a192f19cfaab306", + "ghcr_version_id": 1339639711 + }, + { + "challenge_slug": "crypto-nerves", + "registry_revision": 441, + "name": "web", + "image": "ghcr.io/msg-ctf/challenges/crypto-nerves/web@sha256:942e2b250f5ae9c67a4c7f18945737ff612143b9d0fdeb8ea2a55a3d861f97fe", + "ghcr_version_id": 1339681337 + }, + { + "challenge_slug": "crypto-reused-seal", + "registry_revision": 442, + "name": "chall", + "image": "ghcr.io/msg-ctf/challenges/crypto-reused-seal/chall@sha256:c7ae5210cec55c74a8d1848ace9e36e412af88e9f4eeace29fc183bb42371564", + "ghcr_version_id": 1339712859 + }, + { + "challenge_slug": "koth-card-battle-arena", + "registry_revision": 443, + "name": "service", + "image": "ghcr.io/msg-ctf/challenges/koth-card-battle-arena/service@sha256:4e15aa91db9d50940ec0106a05b52773f891fd5b7386e6b7051b6d7fb8f49915", + "ghcr_version_id": 1339739507 + }, + { + "challenge_slug": "koth-dependency-hell", + "registry_revision": 444, + "name": "service", + "image": "ghcr.io/msg-ctf/challenges/koth-dependency-hell/service@sha256:129e8cec446bf95aeec34b7d391c0655baa81cbddc9804f17b910ae650a86a4e", + "ghcr_version_id": 1339766689 + }, + { + "challenge_slug": "koth-dependency-hell", + "registry_revision": 444, + "name": "backend", + "image": "ghcr.io/msg-ctf/challenges/koth-dependency-hell/backend@sha256:3e05cd8977f814e69efc2a76a3f1d62a0e6171eacad5fe05a0c1073c4aa44f83", + "ghcr_version_id": 1339772163 + }, + { + "challenge_slug": "koth-dependency-hell", + "registry_revision": 444, + "name": "score-service", + "image": "ghcr.io/msg-ctf/challenges/koth-dependency-hell/score-service@sha256:c2124be02c139fb61ca5664bbd645f7e4f1e41c1f92786dbcc17361c1b4e533e", + "ghcr_version_id": 1339769389 + }, + { + "challenge_slug": "koth-dependency-hell", + "registry_revision": 444, + "name": "judge-coordinator", + "image": "ghcr.io/msg-ctf/challenges/koth-dependency-hell/judge-coordinator@sha256:52f5db3e9b4a1fe7f7e14ac411f391aa394570d4d086ac1d6ced602ba2cad7e9", + "ghcr_version_id": 1339773424 + }, + { + "challenge_slug": "koth-grand-tour-duel", + "registry_revision": 445, + "name": "service", + "image": "ghcr.io/msg-ctf/challenges/koth-grand-tour-duel/service@sha256:100c8507280a599d9653310807528fd93142cd56547e417e97a0485788942067", + "ghcr_version_id": 1339805533 + }, + { + "challenge_slug": "koth-jenga", + "registry_revision": 446, + "name": "jenga", + "image": "ghcr.io/msg-ctf/challenges/koth-jenga/jenga@sha256:fb1a67d43235c7a1954801696365af499e3cf1e69f665a80ce610d52ef0d7806", + "ghcr_version_id": 1339835715 + }, + { + "challenge_slug": "koth-pixel-smuggler", + "registry_revision": 447, + "name": "service", + "image": "ghcr.io/msg-ctf/challenges/koth-pixel-smuggler/service@sha256:295a356a009b6c07b5047315cf191fb27dd46ff1f75416bd256ecc95671d3d3a", + "ghcr_version_id": 1339866978 + }, + { + "challenge_slug": "koth-swanopoly", + "registry_revision": 448, + "name": "service", + "image": "ghcr.io/msg-ctf/challenges/koth-swanopoly/service@sha256:e3a3f7ce2888855a787c1dca330ba38c061e750eefc965ba49b8ac18ac418863", + "ghcr_version_id": 1339893199 + }, + { + "challenge_slug": "koth-swanopoly", + "registry_revision": 448, + "name": "backend", + "image": "ghcr.io/msg-ctf/challenges/koth-swanopoly/backend@sha256:b0325f8b2228f2dcf387f4b1ee33de164d01dba4c878da387ea7c3a48e7980c3", + "ghcr_version_id": 1339893837 + }, + { + "challenge_slug": "koth-swanopoly", + "registry_revision": 448, + "name": "test", + "image": "ghcr.io/msg-ctf/challenges/koth-swanopoly/test@sha256:bbf84c945a60adcbd7658e034547967802f330a08723eca4c6e0f86cf9ffc2c0", + "ghcr_version_id": 1339893873 + }, + { + "challenge_slug": "koth-swanopoly", + "registry_revision": 448, + "name": "submit", + "image": "ghcr.io/msg-ctf/challenges/koth-swanopoly/submit@sha256:5d229732e1649edf02345dd9adceda3cce720851749716867c2ba7c87413f859", + "ghcr_version_id": 1339897859 + }, + { + "challenge_slug": "misc-cashout", + "registry_revision": 449, + "name": "web", + "image": "ghcr.io/msg-ctf/challenges/misc-cashout/web@sha256:581a4b1b8145cd3f744715b2817f37d733c89dc03020d57cdd64705f317985d9", + "ghcr_version_id": 1339921253 + }, + { + "challenge_slug": "misc-reqr", + "registry_revision": 450, + "name": "web", + "image": "ghcr.io/msg-ctf/challenges/misc-reqr/web@sha256:810ba1868b56114ae6c4ce182fedae4c6f53480197c2234b4cdab712eeeccdc7", + "ghcr_version_id": 1339947316 + }, + { + "challenge_slug": "osint-the-past-has-an-address", + "registry_revision": 451, + "name": "web", + "image": "ghcr.io/msg-ctf/challenges/osint-the-past-has-an-address/web@sha256:133195d94746fd69a14def176393e99531af3a47fda5faa03b73bd308e79a362", + "ghcr_version_id": 1339970276 + }, + { + "challenge_slug": "pwn-ghost-file", + "registry_revision": 452, + "name": "chall", + "image": "ghcr.io/msg-ctf/challenges/pwn-ghost-file/chall@sha256:fe5c7242ce948ea3817d2bfe8b3c146f324af5dbb0bbf617bc3fbd36ceb8046b", + "ghcr_version_id": 1339995724 + }, + { + "challenge_slug": "pwn-note", + "registry_revision": 453, + "name": "service", + "image": "ghcr.io/msg-ctf/challenges/pwn-note/service@sha256:c449da75a6a3eb0560b1d43034771749338897219afc560104da5c9b6c6a5471", + "ghcr_version_id": 1340023851 + }, + { + "challenge_slug": "pwn-price-tag", + "registry_revision": 454, + "name": "price-tag", + "image": "ghcr.io/msg-ctf/challenges/pwn-price-tag/price-tag@sha256:1556a19564052695fec77b15c81c70a9b9e609df0f51681eae4d00fe667b87ac", + "ghcr_version_id": 1340047964 + }, + { + "challenge_slug": "pwn-random6", + "registry_revision": 455, + "name": "random6", + "image": "ghcr.io/msg-ctf/challenges/pwn-random6/random6@sha256:b1984430b5a4fe4761a9dcd425359fa398bc95ca5bddef6d4f3d53948f4fdd9d", + "ghcr_version_id": 1340071138 + }, + { + "challenge_slug": "rev-tinyvm", + "registry_revision": 456, + "name": "tinyvm", + "image": "ghcr.io/msg-ctf/challenges/rev-tinyvm/tinyvm@sha256:45b676934b4f4f139ee9e2a1739c14e9ac8d3e8831d279f8998a1458ce0c94da", + "ghcr_version_id": 1340092024 + }, + { + "challenge_slug": "web-daily-point", + "registry_revision": 457, + "name": "web", + "image": "ghcr.io/msg-ctf/challenges/web-daily-point/web@sha256:3b8129fe265d72dd8cc989a73dabf15c822ecc2a6e5cde95ec45119fb1397a11", + "ghcr_version_id": 1340118792 + }, + { + "challenge_slug": "web-grade-tampering", + "registry_revision": 458, + "name": "web", + "image": "ghcr.io/msg-ctf/challenges/web-grade-tampering/web@sha256:c409e49cf70a58be3ca19553b2db09da9d9607fd3462eaf00bdb29b20a44e39e", + "ghcr_version_id": 1340143579 + }, + { + "challenge_slug": "web-logout-please", + "registry_revision": 459, + "name": "service", + "image": "ghcr.io/msg-ctf/challenges/web-logout-please/service@sha256:25b64b802d632bb0e0b5790580f86d88d8a05e2fff7c19a83b4b6e5d79d88be7", + "ghcr_version_id": 1340165353 + }, + { + "challenge_slug": "web-notebook", + "registry_revision": 460, + "name": "web", + "image": "ghcr.io/msg-ctf/challenges/web-notebook/web@sha256:d4249f02fb0745df557dc65382911ec00da883e2fa6bde434c5b63c14cb81db3", + "ghcr_version_id": 1340187248 + }, + { + "challenge_slug": "web-notebook", + "registry_revision": 460, + "name": "db", + "image": "ghcr.io/msg-ctf/challenges/web-notebook/db@sha256:396878dd36296204aa326c5acfaba267e76e8dd604a940ffdd67e1122f2dc872", + "ghcr_version_id": 1340188388 + }, + { + "challenge_slug": "web-open-house", + "registry_revision": 461, + "name": "web", + "image": "ghcr.io/msg-ctf/challenges/web-open-house/web@sha256:ad459de4ec1b5687be9b17cf445973344cf8aaee150bc759a5f02e79435d236d", + "ghcr_version_id": 1340223363 + }, + { + "challenge_slug": "web3-infinite-pack", + "registry_revision": 462, + "name": "server", + "image": "ghcr.io/msg-ctf/challenges/web3-infinite-pack/server@sha256:375f463fcc994103f8dd778d2c2ade642a3f926451185d695476d4abe3169112", + "ghcr_version_id": 1340249046 + }, + { + "challenge_slug": "web3-split-brain-oracle", + "registry_revision": 463, + "name": "challenge", + "image": "ghcr.io/msg-ctf/challenges/web3-split-brain-oracle/challenge@sha256:2eb556ab51dc5214c1e4c7ae73a7a1c63d81cb35d980bf40923597456da2ffc4", + "ghcr_version_id": 1340275675 + } + ] +} diff --git a/docs/reports/2026-10-10-independent-preparation/README.md b/docs/reports/2026-10-10-independent-preparation/README.md new file mode 100644 index 0000000..9bc6f3c --- /dev/null +++ b/docs/reports/2026-10-10-independent-preparation/README.md @@ -0,0 +1,193 @@ +# PR #79와 독립적인 연동 준비 + +기준일: 2026-10-10 KST. 이 보고서는 준비 점검이며 운영 배포 완료 보고서가 아닙니다. + +10월 11일 받은 Runtime 답변으로 Afterimage의 별도 통신 제한과 Dependency Hell의 +별도 공유 KOTH 배포 필요가 확인됐습니다. 현재 smoke 중단 조건과 후속 요청은 +[Runtime 후속 기록](runtime-followup-2026-10-11.md)을 기준으로 확인합니다. +아래 점검과 테스트 결과는 10월 10일 당시의 증거로 유지합니다. + +## 기준과 수행 범위 + +- 문제 저장소 main: `b95a1562491190ccf2bcb54beb34d8e8b76a99f7`. +- DevSecOps main: `40513968fa9e4a8a624dc7c11a6e0a399aada323`을 기존 PR #17에 반영했습니다. +- Backend #80 확인 커밋: `9312f9a91bf1d029b590be9c67dc3bfc46b7c3ac`. +- Runtime 정책 코드 확인 커밋: `701567f410a68518bb628463c8d5480559f31efc`. +- 문제 파일, Backend, Scheduler, Runtime 코드는 수정하지 않았습니다. +- GHCR 발행·삭제, GCS 업로드, 운영 DB 등록, 실제 Runtime 생성·삭제는 실행하지 않았습니다. + +저장소 루트에는 양식용 info.yaml과 실제 문제 폴더가 함께 있습니다. +실행 설정 점검 도구가 루트 양식만 1개 문제로 선택하는 경우를 수정했습니다. +실제 문제 폴더가 있으면 우선 점검하며, 단일 문제 경로 입력은 그대로 지원합니다. +이 수정은 점검 대상 탐색에만 적용되며 빌드·취약점 gate나 발행 조건을 완화하지 않습니다. + +macOS의 README.md/readme.md 충돌은 임시 문제 checkout에서 해당 루트 문서만 +sparse checkout으로 제외했습니다. 문제 폴더는 모두 유지했고 깨끗한 main 상태를 확인했습니다. + +## 참가자 파일 점검 + +| 구분 | 파일 있음 | 파일 없음 | 합계 | +|---|---:|---:|---:| +| 동적 | 16 | 8 | 24 | +| 정적 | 12 | 1 | 13 | +| 전체 | 28 | 9 | 37 | + +- info.yaml 검증과 참가자 파일 경로·크기·파일 수 검사를 37개 모두 통과했습니다. +- ZIP 28개와 파일 없음 manifest 9개를 별도 임시 폴더에 생성했습니다. +- 같은 main snapshot을 두 번 패키징한 전체 결과가 바이트 단위로 같았습니다. +- 압축 전 전체 파일 합계는 166,622,309바이트입니다. 한 문제당 100 MiB 제한은 유지했습니다. +- 가장 큰 문제 rev-ezpz는 압축 전 96,848,220바이트로 현재 한도 안입니다. +- 시험용 revision은 1입니다. 실제 release revision이나 Backend 등록 데이터로 사용하지 않습니다. +- GCS 저장 계획 생성도 dry-run이며 인증과 업로드를 실행하지 않았습니다. +- 이 결과는 참가자 공개 내용 승인이나 secret·악성코드 검사 완료를 의미하지 않습니다. + +문제별 검사 metadata와 ZIP checksum은 [participant-files-check.json](participant-files-check.json)에 +있습니다. ZIP 본문과 원본 참가자 파일은 저장소에 넣지 않습니다. + +팀 공유용 전체 문제 목록은 [참가자 파일 표](participant-files-table.md)에 있습니다. + +### 최근 실제 Actions 발행 확인 + +[Daily Point main 실행 37888914252](https://github.com/MSG-CTF/2026_MSG_CTF/actions/runs/37888914252)은 +main snapshot과 같은 SHA로 성공했습니다. + +- user artifact: `web-daily-point-37888914252-1-9b0afd9907bc449f84347d30fc67039d-user-files-bundle`. +- artifact ID: `11597860681`. +- 내려받은 manifest: schema 1.0, revision 500, source_ref refs/heads/main, + source_sha b95a1562491190ccf2bcb54beb34d8e8b76a99f7, present:false. +- 문제 build·scan·aggregate와 publish bundle 발행 job도 성공했습니다. +- K3s smoke는 skipped입니다. GCS 저장·Backend 다운로드 성공 증거는 아닙니다. + +이번 작업은 전체 37개 Actions 재발행이 아닙니다. +기존 전체 발행 스냅샷은 [10월 7일 보고서](../2026-10-07-integration-readiness/README.md)에 보존합니다. + +## 문제별 네트워크 검토 + +Runtime의 STANDARD@v2 정책 코드에는 다음 기본 동작이 있습니다. + +- 기본 ingress·egress 차단. +- 필요한 클러스터 DNS와 동일 인스턴스 내부 통신 허용. +- public 포트만 외부 공개. +- 다른 인스턴스·팀의 private 통신 차단. + +완성된 NetworkPolicy YAML이나 internal_connections를 bundle에 추가하지 않습니다. +현재는 외부 egress 예외나 컨테이너별 내부 통신 제한을 선언하는 출제자 계약이 없습니다. +env·secret_env 지원은 주소·인증값 전달이며 네트워크 정책 예외를 자동 허용하지 않습니다. + +| 문제 | Compose에서 발견한 설정 | 확인할 사항 | +|---|---|---| +| web-afterimage | edge, appnet, vaultnet, cartridgenet, exportnet의 5개 네트워크; 4개 internal | Runtime 내부 전체 허용으로 vault·indexer·exporter에 의도하지 않은 직접 접근이 가능해지는지 | +| koth-dependency-hell | 기본 Compose app/database/judge, 운영 overlay app/internal/outbound/public | 어떤 Compose가 운영 기준인지, DB·judge 분리와 outbound 의도가 필수인지, 초기화 서비스 처리 | +| koth-jenga | docker-compose.layers.yml 단독 YAML 해석 실패 | 생성·병합용 파일인지와 실제 사용 방법을 출제자에게 확인; 이 점검만으로 CI 실패나 문제 오류로 판정하지 않음 | + +[network-review.json](network-review.json)은 네트워크 이름과 서비스 연결 목록만 포함합니다. +환경변수 값·FLAG·소스 본문은 포함하지 않습니다. +정적 점검은 YAML/Compose에 보이는 설정만 찾으므로, 후보가 아닌 문제가 모두 안전하다는 뜻은 아닙니다. +실제 통신과 차단은 Runtime·출제자와 검증해야 합니다. + +Runtime은 컨테이너별 Pod·Service 구조입니다. 다른 컨테이너에는 localhost가 아니라 +실제 Runtime Service DNS로 연결해야 합니다. Compose 서비스명과 Runtime DNS가 +자동으로 일치한다고 가정하지 않습니다. + +### 출제자와 책임자에게 확인할 내용 + +1. 허용해야 할 컨테이너 간 통신과 반드시 차단해야 할 통신은 무엇인가요? +2. 지금 네트워크 분리가 풀이 경로와 보안 경계에 필수인가요, 단순 배포 편의인가요? +3. 외부 통신이 필수라면 대상·프로토콜·포트와 필요 시점을 알려주세요. +4. Runtime의 내부 전체 허용·외부 차단으로 실행해도 원래 출제 의도가 유지되나요? +5. 임시 저장 경로·초기화 작업·reset 시 보존/재생성할 설정도 확인해주세요. + +비밀값 원문은 답변·info.yaml·bundle에 넣지 않습니다. +확인 결과로 기본 정책 적용 가능/별도 Runtime 정책 필요/계약 미지원 문제를 구분합니다. +제한된 정책 의도를 지원하기로 합의한 뒤에만 DevSecOps validator와 bundle 필드를 변경합니다. + +## Backend ZIP/GCS 준비 + +저장 담당은 Backend이며 CI 직접 업로드는 계속 비활성입니다. + +현재 Backend #80에는 다음 코드가 있습니다. + +- 성공한 Actions artifact 수집과 실행 중 workflow 재시도. +- manifest·ZIP 무결성, 크기·개수 검증과 중복 처리. +- default_storage를 통한 저장과 DB metadata 등록. +- GCS_ENABLED, GCS_PROJECT_ID, GCS_BUCKET_NAME, GCS_OBJECT_PREFIX 설정. +- django-storages[google] 의존성. +- 동적 문제 active revision의 파일 선택, 정적 문제 최신 revision 선택. +- present:false인 선택 버전은 파일 없음으로 처리하며 이전 저장 객체는 보존. + +Backend storage backend 내부 object key는 다음과 같습니다. + +```text +participant-files////.zip +``` + +GCS_OBJECT_PREFIX는 저장 backend의 location으로 이 경로 앞에 붙습니다. +실제 bucket·prefix·서버 인증·IAM이 적용됐다고 간주하지 않습니다. +CI용 WIF Service Account를 Backend 실행 계정으로 자동 재사용하지 않습니다. + +### Backend·인프라 요청사항 + +- #26의 main 충돌 해결 후 최종 CI와 배포 SHA·migration 상태를 공유해주세요. +- #80에 최신 #26을 반영하고 최신 커밋의 CI 결과를 남겨주세요. +- Backend 실행 인증 신원과 bucket 접근, GCS_ENABLED 설정 상태를 확인해주세요. +- GCS_PROJECT_ID=msg-broker, GCS_BUCKET_NAME=2026msg_gcs 사용 여부와 prefix를 확정해주세요. +- 저장 후 ZIP checksum과 참가자 권한 검사·다운로드를 실제 GCS에서 확인해주세요. +- 등록·다운로드 실패와 실행 중 workflow는 재시도되고, 성공한 같은 artifact는 중복 저장되지 않는지 확인해주세요. + +권장 검증 대상은 기존 실제 artifact가 있는 아래 네 종류입니다. +정확한 run·revision은 [기존 재현 입력](../2026-10-07-integration-readiness/input.json)에 있습니다. + +| 종류 | 문제 | +|---|---| +| 정적·파일 있음 | misc-hidden-order | +| 정적·파일 없음 | forensic-is-this-job-legit | +| 동적·파일 있음 | pwn-random6 | +| 동적·파일 없음 | misc-cashout | + +그다음 파일 변경 버전 활성화, 파일 없음 버전 활성화, 롤백, +권한 없는 다운로드 거절과 재수집 추가 다운로드 0을 확인합니다. +기존 로컬 소비 시험은 SQLite·임시 파일 저장소이며 실제 GCS 검증을 대체하지 않습니다. + +## #79와 무관하게 진행할 순서 + +1. Backend #26 충돌 해결, #80 최신 CI와 GCS 실행 환경 준비. +2. 위 네트워크 후보에 대해 출제자·Runtime·책임자의 필수 통신 조건 확인. +3. DevSecOps #19, Backend #101, Scheduler #60, Runtime #46의 실행 설정 연동 리뷰. +4. Scheduler #59 healthcheck 배포와 활성화 조건, 정상/실패 probe 검증 계획 확인. +5. 승인된 Runtime 서버·토큰·digest가 준비되면 단일 WEB 기능 smoke 후 #17 증거 추가. + +문제 저장소 #79는 최신 파이프라인을 main에 적용하는 작업이므로 별도 리뷰를 기다립니다. +#19 등 새 schema 2.1 계약은 다른 소비자 준비 없이 caller에 적용하지 않습니다. +KOTH 모델 연결, 실제 팀 격리, 운영 Secret 관리, PWN/gVisor와 전체 E2E는 별도 완료 조건입니다. +GHCR 보호 digest와 OCI 참조 확인 전 이미지 삭제는 하지 않습니다. + +## 로컬 재현 + +```bash +python3 -B -m scripts.audit_execution_settings /absolute/path/to/problems \ + --source-sha \ + --output-dir /absolute/path/outside/problems/network-audit + +python3 -B -m scripts.collect_user_files \ + --source-root /absolute/path/to/problems \ + --source-sha --revision 1 \ + --output-dir /absolute/path/outside/problems/user-files + +python3 -B -m unittest discover -s tests +``` + +참가자 파일 명령은 시험용 패키징입니다. 생성물을 Actions나 Backend로 보내지 않습니다. +깨끗한 main checkout에서만 실행하고, 시험이 끝나면 ZIP·문제 checkout·캐시를 제거합니다. +공유할 검사 metadata와 checksum만 이 보고서에 보존합니다. + +## 검증 결과 + +- 단위 테스트 192개 통과: 기존 189개와 문제 탐색 회귀 테스트 3개. +- 파일 패키징·GCS dry-run·점검 도구 관련 42개 테스트 통과. +- 37개 문제 참가자 파일 수집 두 번 성공, 전체 결과 바이트 동일. +- 37개 실행 설정 점검 완료, Jenga overlay 1개는 해석 미완으로 기록. +- git diff --check 통과. + +첫 전체 시험은 샌드박스의 로컬 HTTP bind 제한으로 19개 오류가 났습니다. +허용된 로컬 테스트 환경에서 재실행해 192개 모두 통과했습니다. 실제 Runtime API 요청이 아닙니다. + diff --git a/docs/reports/2026-10-10-independent-preparation/network-review.json b/docs/reports/2026-10-10-independent-preparation/network-review.json new file mode 100644 index 0000000..5fb2dc0 --- /dev/null +++ b/docs/reports/2026-10-10-independent-preparation/network-review.json @@ -0,0 +1,208 @@ +{ + "source_sha": "b95a1562491190ccf2bcb54beb34d8e8b76a99f7", + "audit_only": true, + "problem_count": 37, + "dynamic_count": 24, + "static_count": 13, + "incomplete": [ + { + "challenge_slug": "koth-jenga", + "unparsed_compose": [ + { + "path": "docker-compose.layers.yml", + "error": "yaml_unparsed" + } + ] + } + ], + "network_segmentation_candidates": [ + { + "challenge_slug": "koth-dependency-hell", + "compose": [ + { + "path": "prob/for_organizer/docker-compose.yml", + "networks": [ + "app", + "database", + "judge" + ], + "internal_networks": [ + "database", + "judge" + ], + "services": [ + { + "name": "backend", + "networks": [ + "app", + "database", + "judge" + ] + }, + { + "name": "checker", + "networks": [ + "app" + ] + }, + { + "name": "data-init", + "networks": [] + }, + { + "name": "database-migration", + "networks": [ + "database" + ] + }, + { + "name": "frontend", + "networks": [ + "app" + ] + }, + { + "name": "judge-worker", + "networks": [ + "judge" + ] + }, + { + "name": "postgres", + "networks": [ + "database" + ] + }, + { + "name": "protected-keys-init", + "networks": [ + "database" + ] + } + ] + }, + { + "path": "prob/for_organizer/deploy/compose.production.yml", + "networks": [ + "app", + "internal", + "outbound", + "public" + ], + "internal_networks": [ + "app", + "internal" + ], + "services": [ + { + "name": "backend", + "networks": [ + "app", + "outbound" + ] + }, + { + "name": "backend-internal", + "networks": [ + "internal", + "outbound" + ] + }, + { + "name": "data-init", + "networks": [] + }, + { + "name": "frontend", + "networks": [ + "app", + "public" + ] + }, + { + "name": "migrate", + "networks": [ + "outbound" + ] + } + ] + } + ] + }, + { + "challenge_slug": "web-afterimage", + "compose": [ + { + "path": "prob/for_organizer/docker-compose.yml", + "networks": [ + "appnet", + "cartridgenet", + "edge", + "exportnet", + "vaultnet" + ], + "internal_networks": [ + "appnet", + "cartridgenet", + "exportnet", + "vaultnet" + ], + "services": [ + { + "name": "bot", + "networks": [ + "appnet" + ] + }, + { + "name": "case-vault", + "networks": [ + "vaultnet" + ] + }, + { + "name": "core", + "networks": [ + "appnet", + "vaultnet" + ] + }, + { + "name": "exporter", + "networks": [ + "exportnet" + ] + }, + { + "name": "indexer", + "networks": [ + "cartridgenet" + ] + }, + { + "name": "inventory-metadata", + "networks": [ + "exportnet" + ] + }, + { + "name": "portal", + "networks": [ + "appnet", + "cartridgenet", + "edge", + "exportnet" + ] + } + ] + } + ] + } + ], + "no_new_network_contract": true, + "default_policy": "STANDARD@v2", + "default_egress": "NONE", + "same_instance_communication": "ALLOW", + "other_instance_communication": "DENY", + "actual_network_test": false +} diff --git a/docs/reports/2026-10-10-independent-preparation/participant-files-check.json b/docs/reports/2026-10-10-independent-preparation/participant-files-check.json new file mode 100644 index 0000000..f4e4edf --- /dev/null +++ b/docs/reports/2026-10-10-independent-preparation/participant-files-check.json @@ -0,0 +1,421 @@ +{ + "source_sha": "b95a1562491190ccf2bcb54beb34d8e8b76a99f7", + "source_ref": "refs/heads/main", + "test_registry_revision": 1, + "mode": "LOCAL_PACKAGING_ONLY", + "published": false, + "gcs_uploaded": false, + "backend_registered": false, + "repeat_bytes_identical": true, + "problem_count": 37, + "with_files": 28, + "without_files": 9, + "total_uncompressed_size_bytes": 166622309, + "problems": [ + { + "challenge_slug": "crypto-nerves", + "user_files": { + "present": true, + "archive": "user-files.zip", + "sha256": "a10816f5e9ebfe71d7cf4ad0cde0453b546cca8f8a3fbb53833d624f1f5b5a3c", + "size_bytes": 24991, + "file_count": 4, + "uncompressed_size_bytes": 68389 + }, + "is_server": true + }, + { + "challenge_slug": "crypto-reused-seal", + "user_files": { + "present": false + }, + "is_server": true + }, + { + "challenge_slug": "crypto-tr88", + "user_files": { + "present": true, + "archive": "user-files.zip", + "sha256": "3e97f4ff3bb35c402a098846440beeff27537851bebd083826a03989ca2c06f7", + "size_bytes": 14781996, + "file_count": 19, + "uncompressed_size_bytes": 14776831 + }, + "is_server": false + }, + { + "challenge_slug": "forensic-evidence", + "user_files": { + "present": true, + "archive": "user-files.zip", + "sha256": "f511386665b4f2f09d178f97a17f8cdeb6d51c29cc2360eb1699521851fa4b7c", + "size_bytes": 332, + "file_count": 1, + "uncompressed_size_bytes": 213 + }, + "is_server": false + }, + { + "challenge_slug": "forensic-is-this-job-legit", + "user_files": { + "present": false + }, + "is_server": false + }, + { + "challenge_slug": "forensic-leftovers", + "user_files": { + "present": true, + "archive": "user-files.zip", + "sha256": "6c0d93994997ee36299b625b9367b5130b31cd1d2f1e04d33696e115092faa3c", + "size_bytes": 245, + "file_count": 1, + "uncompressed_size_bytes": 124 + }, + "is_server": false + }, + { + "challenge_slug": "forensic-the-last-record", + "user_files": { + "present": true, + "archive": "user-files.zip", + "sha256": "53584b38f05bbf84fc93946dfdcd5463bb17ba87aa46aa0207ef9e3a698a0e4a", + "size_bytes": 737, + "file_count": 1, + "uncompressed_size_bytes": 834 + }, + "is_server": false + }, + { + "challenge_slug": "koth-card-battle-arena", + "user_files": { + "present": false + }, + "is_server": true + }, + { + "challenge_slug": "koth-dependency-hell", + "user_files": { + "present": true, + "archive": "user-files.zip", + "sha256": "42899db41749387f0c855b20ed8f5f9285f5940a3b2b41730b2fb327f5786968", + "size_bytes": 7233494, + "file_count": 23, + "uncompressed_size_bytes": 7378022 + }, + "is_server": true + }, + { + "challenge_slug": "koth-grand-tour-duel", + "user_files": { + "present": true, + "archive": "user-files.zip", + "sha256": "71691bc39aa357fd9dcc9520423f330c3dbf948a58bf0d40c8f02ac1eed56fe3", + "size_bytes": 8568, + "file_count": 4, + "uncompressed_size_bytes": 32559 + }, + "is_server": true + }, + { + "challenge_slug": "koth-jenga", + "user_files": { + "present": true, + "archive": "user-files.zip", + "sha256": "3ec76320fee6df656091dad4e1e41e95a7fb01f413235d9d8386e2c2fc0fb472", + "size_bytes": 20089, + "file_count": 34, + "uncompressed_size_bytes": 24566 + }, + "is_server": true + }, + { + "challenge_slug": "koth-pixel-smuggler", + "user_files": { + "present": true, + "archive": "user-files.zip", + "sha256": "a5e1acb7aeb6f86feb00cd447203d1ebe1dbc5a343702dafc0fde0aefd53b9ea", + "size_bytes": 10453, + "file_count": 6, + "uncompressed_size_bytes": 23264 + }, + "is_server": true + }, + { + "challenge_slug": "koth-swanopoly", + "user_files": { + "present": true, + "archive": "user-files.zip", + "sha256": "12d36897cebc8d4334fdf3f3c9438338e91968acde808e8ba3b1d30db540d2e3", + "size_bytes": 8765, + "file_count": 4, + "uncompressed_size_bytes": 24947 + }, + "is_server": true + }, + { + "challenge_slug": "misc-cashout", + "user_files": { + "present": false + }, + "is_server": true + }, + { + "challenge_slug": "misc-hidden-order", + "user_files": { + "present": true, + "archive": "user-files.zip", + "sha256": "9fbb05a0a4f8b052145cfd0ce26a6e2afe1642e4f7807f527c9a8cc584164f6b", + "size_bytes": 1093803, + "file_count": 3, + "uncompressed_size_bytes": 1176727 + }, + "is_server": false + }, + { + "challenge_slug": "misc-reqr", + "user_files": { + "present": true, + "archive": "user-files.zip", + "sha256": "0b66140a4f3e34df657737f90a2f4ab5a175fcb9bc9e4a0e3aa2b70a8de5a027", + "size_bytes": 416309, + "file_count": 2, + "uncompressed_size_bytes": 416159 + }, + "is_server": true + }, + { + "challenge_slug": "misc-snack-thief", + "user_files": { + "present": true, + "archive": "user-files.zip", + "sha256": "557ca105a9159b34cea6e77690f4404aab4445a0f8b9d57c02c496a76064656d", + "size_bytes": 22735145, + "file_count": 1, + "uncompressed_size_bytes": 25033830 + }, + "is_server": false + }, + { + "challenge_slug": "osint-ramen-man", + "user_files": { + "present": true, + "archive": "user-files.zip", + "sha256": "e2086ab5462d707944f038c515c4bdac5f85375b6da96832a904e631a5a05031", + "size_bytes": 563352, + "file_count": 1, + "uncompressed_size_bytes": 566940 + }, + "is_server": false + }, + { + "challenge_slug": "osint-the-past-has-an-address", + "user_files": { + "present": true, + "archive": "user-files.zip", + "sha256": "70f67360f3b6199fc04b7a909a22588d90a05e2cb3188f67d38b31c1a0094ef0", + "size_bytes": 617, + "file_count": 1, + "uncompressed_size_bytes": 703 + }, + "is_server": true + }, + { + "challenge_slug": "osint-trace", + "user_files": { + "present": true, + "archive": "user-files.zip", + "sha256": "2162bc61d943194febab4db762aec973e5991cc9ededbde8254487d08a413bc3", + "size_bytes": 7689938, + "file_count": 1, + "uncompressed_size_bytes": 7710195 + }, + "is_server": false + }, + { + "challenge_slug": "pwn-ghost-file", + "user_files": { + "present": true, + "archive": "user-files.zip", + "sha256": "e8f9ae2074721dd3ca362ca9b4e86f04b25b4052d6261a3140e3a8a66f0c6fcb", + "size_bytes": 1073155, + "file_count": 4, + "uncompressed_size_bytes": 2477038 + }, + "is_server": true + }, + { + "challenge_slug": "pwn-msgdriver", + "user_files": { + "present": true, + "archive": "user-files.zip", + "sha256": "213f35b825e7c47d457edc82fbaf84826bc91d91879be2f4f164486a7dfb69ff", + "size_bytes": 11804, + "file_count": 3, + "uncompressed_size_bytes": 22794 + }, + "is_server": false + }, + { + "challenge_slug": "pwn-note", + "user_files": { + "present": true, + "archive": "user-files.zip", + "sha256": "b76f1795bff7a80a110c7fe0901d19bf35e25b416130d4ceca9b5d25064890fa", + "size_bytes": 2691, + "file_count": 1, + "uncompressed_size_bytes": 14336 + }, + "is_server": true + }, + { + "challenge_slug": "pwn-price-tag", + "user_files": { + "present": true, + "archive": "user-files.zip", + "sha256": "f1a7428e8d3ac40c34766662e7d3536f3298494f37a44c5999b7a234f65081f4", + "size_bytes": 4118, + "file_count": 2, + "uncompressed_size_bytes": 18228 + }, + "is_server": true + }, + { + "challenge_slug": "pwn-random6", + "user_files": { + "present": true, + "archive": "user-files.zip", + "sha256": "c79f362a6f2473386405ca09b79705b96cf3d03cc46f05f2e5a747de3c80baae", + "size_bytes": 209277, + "file_count": 1, + "uncompressed_size_bytes": 209117 + }, + "is_server": true + }, + { + "challenge_slug": "rev-ezpz", + "user_files": { + "present": true, + "archive": "user-files.zip", + "sha256": "972106721605feed80b0817b81dd52bbd81b7fce17f5ccaee6686f7dddad7063", + "size_bytes": 96870545, + "file_count": 1, + "uncompressed_size_bytes": 96848220 + }, + "is_server": false + }, + { + "challenge_slug": "rev-phantom-lattice", + "user_files": { + "present": true, + "archive": "user-files.zip", + "sha256": "ca3d2822a7f1dbdcd00cc65831be127a48698459c89ea9daa1e9f053b84cd897", + "size_bytes": 3397, + "file_count": 1, + "uncompressed_size_bytes": 14472 + }, + "is_server": false + }, + { + "challenge_slug": "rev-rework", + "user_files": { + "present": true, + "archive": "user-files.zip", + "sha256": "1b3f0cf7c49cb9649e5cb0d3d0c03be70969950ce2cd8ddae482a2da262c35d6", + "size_bytes": 3628766, + "file_count": 1, + "uncompressed_size_bytes": 3633387 + }, + "is_server": false + }, + { + "challenge_slug": "rev-tinyvm", + "user_files": { + "present": true, + "archive": "user-files.zip", + "sha256": "9647051fd32ad2060e5b9da663ebd7e795f3ce64026a82cceabddc88171e998f", + "size_bytes": 22234, + "file_count": 2, + "uncompressed_size_bytes": 37218 + }, + "is_server": true + }, + { + "challenge_slug": "web-afterimage", + "user_files": { + "present": true, + "archive": "user-files.zip", + "sha256": "8178e99ff8c17a4da3c8f2d34c97522fc71f977872110cff0421f9532bed8afa", + "size_bytes": 1588732, + "file_count": 18, + "uncompressed_size_bytes": 2280730 + }, + "is_server": true + }, + { + "challenge_slug": "web-daily-point", + "user_files": { + "present": false + }, + "is_server": true + }, + { + "challenge_slug": "web-grade-tampering", + "user_files": { + "present": false + }, + "is_server": true + }, + { + "challenge_slug": "web-logout-please", + "user_files": { + "present": true, + "archive": "user-files.zip", + "sha256": "c0a697dea72cadb3ccc0f26f6faaad981450424091ab0a73ed569d4221041336", + "size_bytes": 117, + "file_count": 1, + "uncompressed_size_bytes": 1 + }, + "is_server": true + }, + { + "challenge_slug": "web-notebook", + "user_files": { + "present": false + }, + "is_server": true + }, + { + "challenge_slug": "web-open-house", + "user_files": { + "present": false + }, + "is_server": true + }, + { + "challenge_slug": "web3-infinite-pack", + "user_files": { + "present": false + }, + "is_server": true + }, + { + "challenge_slug": "web3-split-brain-oracle", + "user_files": { + "present": true, + "archive": "user-files.zip", + "sha256": "ea5fbadb9665014263807bc465b576017472b0e5d049a6ecd291b245b9c4b75e", + "size_bytes": 1838218, + "file_count": 40, + "uncompressed_size_bytes": 3832465 + }, + "is_server": true + } + ], + "limitations": [ + "로컬 패키징과 반복 실행의 바이트 일치만 검사했습니다.", + "registry_revision 1은 시험용이며 실제 발행 revision이 아닙니다.", + "Actions 발행, Docker 빌드, Gitleaks, Trivy, GCS 저장과 Backend 등록을 실행하지 않았습니다.", + "참가자에게 공개할 내용과 비밀정보 포함 여부에 대한 운영 승인을 대체하지 않습니다." + ] +} diff --git a/docs/reports/2026-10-10-independent-preparation/participant-files-table.md b/docs/reports/2026-10-10-independent-preparation/participant-files-table.md new file mode 100644 index 0000000..e65e96d --- /dev/null +++ b/docs/reports/2026-10-10-independent-preparation/participant-files-table.md @@ -0,0 +1,46 @@ +# 최신 참가자 파일 패키징 목록 + +기준 main: `b95a1562491190ccf2bcb54beb34d8e8b76a99f7` (2026-10-10 확인). +37개 문제의 로컬 검증 결과입니다. 실제 Actions 재발행·GCS 저장·Backend 등록 목록이 아닙니다. +revision 1은 패키징 시험용이며 실제 릴리스로 사용하지 않습니다. 바이트 수는 압축 전 크기입니다. + +| 문제 | 구분 | 참가자 파일 | 파일 수 | 압축 전 바이트 | +|---|---|---|---:|---:| +| crypto-nerves | 동적 | ZIP | 4 | 68389 | +| crypto-reused-seal | 동적 | manifest만 | 0 | 0 | +| crypto-tr88 | 정적 | ZIP | 19 | 14776831 | +| forensic-evidence | 정적 | ZIP | 1 | 213 | +| forensic-is-this-job-legit | 정적 | manifest만 | 0 | 0 | +| forensic-leftovers | 정적 | ZIP | 1 | 124 | +| forensic-the-last-record | 정적 | ZIP | 1 | 834 | +| koth-card-battle-arena | 동적 | manifest만 | 0 | 0 | +| koth-dependency-hell | 동적 | ZIP | 23 | 7378022 | +| koth-grand-tour-duel | 동적 | ZIP | 4 | 32559 | +| koth-jenga | 동적 | ZIP | 34 | 24566 | +| koth-pixel-smuggler | 동적 | ZIP | 6 | 23264 | +| koth-swanopoly | 동적 | ZIP | 4 | 24947 | +| misc-cashout | 동적 | manifest만 | 0 | 0 | +| misc-hidden-order | 정적 | ZIP | 3 | 1176727 | +| misc-reqr | 동적 | ZIP | 2 | 416159 | +| misc-snack-thief | 정적 | ZIP | 1 | 25033830 | +| osint-ramen-man | 정적 | ZIP | 1 | 566940 | +| osint-the-past-has-an-address | 동적 | ZIP | 1 | 703 | +| osint-trace | 정적 | ZIP | 1 | 7710195 | +| pwn-ghost-file | 동적 | ZIP | 4 | 2477038 | +| pwn-msgdriver | 정적 | ZIP | 3 | 22794 | +| pwn-note | 동적 | ZIP | 1 | 14336 | +| pwn-price-tag | 동적 | ZIP | 2 | 18228 | +| pwn-random6 | 동적 | ZIP | 1 | 209117 | +| rev-ezpz | 정적 | ZIP | 1 | 96848220 | +| rev-phantom-lattice | 정적 | ZIP | 1 | 14472 | +| rev-rework | 정적 | ZIP | 1 | 3633387 | +| rev-tinyvm | 동적 | ZIP | 2 | 37218 | +| web-afterimage | 동적 | ZIP | 18 | 2280730 | +| web-daily-point | 동적 | manifest만 | 0 | 0 | +| web-grade-tampering | 동적 | manifest만 | 0 | 0 | +| web-logout-please | 동적 | ZIP | 1 | 1 | +| web-notebook | 동적 | manifest만 | 0 | 0 | +| web-open-house | 동적 | manifest만 | 0 | 0 | +| web3-infinite-pack | 동적 | manifest만 | 0 | 0 | +| web3-split-brain-oracle | 동적 | ZIP | 40 | 3832465 | + diff --git a/docs/reports/2026-10-10-independent-preparation/runtime-followup-2026-10-11.md b/docs/reports/2026-10-10-independent-preparation/runtime-followup-2026-10-11.md new file mode 100644 index 0000000..1544953 --- /dev/null +++ b/docs/reports/2026-10-10-independent-preparation/runtime-followup-2026-10-11.md @@ -0,0 +1,98 @@ +# Runtime 답변 반영과 다음 연동 조건 + +기준일: 2026-10-11 KST. 사용자가 전달한 Runtime 담당 답변을 기록합니다. +이번 기록에서 서버·정책 파일·Secret·K3s 리소스를 직접 재검증하지 않았습니다. +기존 [10월 10일 정적 점검](README.md)과 담당자가 확인한 내용을 구분합니다. + +## 배포 시험의 중단 조건 + +| 항목 | 받은 답변 | 다음 확인 | +|---|---|---| +| 10월 7일 시간 초과 생성 요청 | 이전 GCP K3s에 접속할 수 없어 잔여 리소스 확인 불가 | Runtime·인프라가 operation/workload/Namespace와 클러스터 상태를 확인 | +| CI 인증 | GitHub Secret 등록 및 팀·Target·승인 이미지 제한 토큰 설정 기록 확인 | Tailscale SSH 재인증 후 현재 서버 설정과 Secret의 일치 여부 확인 | +| Grade Tampering 이미지 | 새 bundle은 c409e49c…44e39e, 정책은 이전 9ffbf476…0956d만 허용 | Runtime이 새 digest를 검토·정책 등록·배포 후 배포 SHA와 승인 상태 공유 | + +새 Grade 이미지의 전체 발행 참조는 +[기존 발행 목록](../2026-10-07-integration-readiness/published-image-references.json)에 있습니다. +확인 대상 digest는 +`sha256:c409e49cf70a58be3ca19553b2db09da9d9607fd3462eaf00bdb29b20a44e39e`입니다. +이 목록은 기존 발행 스냅샷이며 이미지 정책 승인이나 실제 pull 증거가 아닙니다. + +이 답변은 현재 토큰 일치나 잔여 리소스 없음까지 확인했다는 뜻이 아닙니다. +기존 이미지·무제한 토큰으로 우회하거나 정책을 임의 승인하지 않습니다. +확인 전에 새 생성 시험이나 시간 초과 요청 재실행을 하지 않습니다. +서버 인증과 정책 변경은 Runtime·인프라 담당이 진행합니다. + +## 문제별 네트워크 처리 + +### Afterimage + +Runtime 답변으로 STANDARD@v2의 동일 인스턴스 전체 통신 허용이 Compose의 내부망 +분리를 재현하지 못한다는 점이 확인됐습니다. +모든 서비스가 같은 문제에 속한다는 이유로 현재 기본 정책 적용을 완료로 기록하지 않습니다. + +DevSecOps·출제자가 먼저 정리할 내용: + +- 반드시 허용할 출발 서비스·목적 서비스·프로토콜·목적 포트. +- 반드시 차단할 서비스 간 경로와 그 이유. +- 서비스별 공개 포트와 실제 Runtime Service DNS 연결. +- 외부 통신이 필요한 경우 대상·용도·시점. +- 요청된 제한이 유지돼야 하는 정상 동작과 의도된 풀이 경로. + +이 내용은 협의 자료이며 아직 합의된 API나 info.yaml 신규 필드가 아닙니다. +Compose 네트워크 이름을 그대로 NetworkPolicy로 변환하거나 연결 관계를 확정하지 않습니다. +출제자 확인 뒤 Runtime이 문제별 허용 관계의 적용 방식을 정하고, +필요한 정책 선택 정보 또는 제한된 입력 계약과 API 예시를 공유해야 합니다. +해당 계약에 맞춰 DevSecOps는 validator와 publish bundle을 수정하고, +Backend·Scheduler는 저장·생성·reset 전달을 보존합니다. +최종 Kubernetes NetworkPolicy 생성과 통신 검증은 Runtime 담당입니다. + +이전 internal_connections 제거 합의와 raw Kubernetes YAML 입력 금지는 유지합니다. +제한된 설정을 새로 지원하더라도 기존 필드를 임의 복구하지 않습니다. +DevSecOps #19의 환경변수 전달만으로 이 네트워크 분리가 해결되는 것은 아닙니다. + +### Dependency Hell + +Runtime 답변으로 운영용 K8s 구성이 기준이며 대회 전체가 공유하는 KOTH 서비스라는 점이 +확인됐습니다. 이전 정적 점검의 개발·운영 Compose 목록은 참고 자료로만 유지합니다. + +현재 필요한 운영 구성은 별도 Namespace, runner Job, 외부 DB·플랫폼 통신입니다. +일반 참가자 문제 인스턴스용 STANDARD@v2와 egress NONE만으로 운영하지 않습니다. +외부 통신을 전체 허용하거나 일반 팀별 생성·reset smoke에 넣지 않습니다. + +책임자·KOTH·Runtime과 확정할 내용: + +- 운영용 K8s 구성의 실제 저장소 경로와 기준 commit SHA. +- 공유 서비스의 배포·교체·복구 담당 및 생성/정리 경계. +- runner Job과 외부 DB·플랫폼의 통신 대상·인증·제한 정책. +- KOTH publish bundle과 Backend KothChallenge/release 연결 계약. +- 일반 인스턴스 공급망과 별도 배포 경로 사이에서 DevSecOps가 전달할 값과 형식. + +공유 배포라고 확인됐지만 KothChallenge 릴리스 연결이나 자동 배포 계약까지 +확정된 것은 아닙니다. 일반 Challenge에 중복 등록하지 않습니다. +Runtime·KOTH의 배포 로직과 원본 운영 manifest를 DevSecOps가 대신 구현하지 않습니다. + +## 각 파트에 전달할 확인사항 + +| 담당 | 요청 | DevSecOps 후속 작업 | +|---|---|---| +| Afterimage 출제자 | 필수 허용/차단 경로와 원래 풀이 의도 확인 | 비밀값 없는 문제별 통신 요구 정리 | +| Runtime | Afterimage 추가 정책 적용 방식과 지원 입력/API 예시 | 승인된 계약만 info.yaml 검증·bundle에 반영 | +| Runtime·인프라 | 이전 리소스, 현재 제한 토큰, 새 Grade digest 승인·배포 확인 | 준비 확인 후 단일 WEB 기능 smoke | +| 책임자·KOTH·Runtime | Dependency Hell 운영 구성 및 별도 배포 담당·계약 확정 | KOTH 이미지/bundle 공급과 배포 연결 범위 정리 | +| Backend·Scheduler | 추가 정책 계약 확정 후 필드 저장·전달·reset 보존 | 실제 bundle 등록과 생성/삭제 연동 검증 | + +이 문서는 요청문 준비이며 다른 저장소나 출제자에게 자동으로 메시지를 발송하지 않았습니다. +Runtime 답변과 네트워크 합의는 참가자 ZIP/GCS 저장 계약을 변경하지 않습니다. +GCS는 계속 Backend 저장 방식으로, 실제 서버 인증·bucket 권한·4종 저장/다운로드 검증이 남습니다. + +## 이번에 하지 않은 작업 + +- 새로운 info.yaml 네트워크 필드 추가 및 출제자 파일 수정. +- Runtime 정책 코드·이미지 승인 목록·서버 인증·Tailscale 설정 변경. +- 실제 생성·삭제·reset, GCS 업로드, GHCR 발행·삭제. +- 기본 보안 정책 완화와 다른 팀 PR 병합. + +로컬 검사는 문서 링크·JSON 구문·git diff --check입니다. +기존 192개 테스트와 이전 Actions 성공은 이전 커밋의 증거로 유지합니다. +이번 문서 변경의 최신 Actions 결과는 PR 코멘트에 별도로 남깁니다. diff --git a/scripts/README.md b/scripts/README.md index 686d093..39f7ae4 100644 --- a/scripts/README.md +++ b/scripts/README.md @@ -30,6 +30,10 @@ GHCR package와 version을 GET으로 조회하고 최근 이미지·최신 버 출력하지 않으며, 진단 JSON과 문제별 표를 생성합니다. 지원 계약과 사용법은 [실행 설정 계약](../docs/challenge-execution-settings.md)을 참고합니다. +저장소 루트의 양식용 info.yaml과 실제 문제 폴더가 함께 있으면 문제 폴더를 +우선 점검합니다. 단일 문제 경로도 지원합니다. 점검 완료는 실제 네트워크 +정책 적용·통신 성공을 뜻하지 않습니다. + ### `discover_changed_challenges.py` Git 변경 내역에서 `info.yaml`이 있는 문제 디렉터리를 찾아 검증 대상으로 diff --git a/scripts/audit_execution_settings.py b/scripts/audit_execution_settings.py index b976a08..8663cb7 100644 --- a/scripts/audit_execution_settings.py +++ b/scripts/audit_execution_settings.py @@ -196,6 +196,17 @@ def render_markdown(reports, source_sha): return "\n".join(lines) + "\n" +def discover_challenges(root): + root = Path(root) + if root.is_symlink(): + raise ValueError("문제 경로 링크는 지원하지 않습니다") + # 저장소 루트의 양식용 info.yaml보다 실제 문제 폴더를 우선합니다. + children = sorted(path.parent for path in root.glob("*/info.yaml") if not path.parent.is_symlink()) + if children: + return children + return [root] if (root / "info.yaml").exists() else [] + + def main(): parser = argparse.ArgumentParser(description="문제 실행 설정 이름만 점검합니다") parser.add_argument("path", type=Path) @@ -205,7 +216,7 @@ def main(): if not re.fullmatch(r"[0-9a-f]{40}", args.source_sha): parser.error("source-sha는 40자리 commit SHA여야 합니다") root = args.path - paths = [root] if (root / "info.yaml").exists() else sorted(path.parent for path in root.glob("*/info.yaml") if not path.parent.is_symlink()) + paths = discover_challenges(root) if not paths: parser.error("info.yaml이 있는 문제를 찾지 못했습니다") reports = [audit_challenge(path) for path in paths] diff --git a/tests/test_audit_execution_settings.py b/tests/test_audit_execution_settings.py index 2475e38..b103ca3 100644 --- a/tests/test_audit_execution_settings.py +++ b/tests/test_audit_execution_settings.py @@ -5,7 +5,7 @@ import yaml -from scripts.audit_execution_settings import audit_challenge, render_markdown +from scripts.audit_execution_settings import audit_challenge, discover_challenges, render_markdown class ExecutionSettingsAuditTests(unittest.TestCase): @@ -86,6 +86,26 @@ def test_environment_file_is_inspected_without_exposing_values(self): self.assertEqual([item["name"] for item in report["environment_references"]], ["DB_HOST", "FLAG"]) self.assertNotIn("SECRET-CONTENT", json.dumps(report)) + def test_repository_template_does_not_hide_actual_challenges(self): + repository = Path(self.temp.name) + (repository / "info.yaml").write_text("name: template\n", encoding="utf-8") + second = repository / "misc-test" + second.mkdir() + (second / "info.yaml").write_text("name: static\n", encoding="utf-8") + self.assertEqual(discover_challenges(repository), [second, self.root]) + self.assertEqual(len([audit_challenge(path) for path in discover_challenges(repository)]), 2) + + def test_discovery_preserves_single_challenge_input(self): + self.assertEqual(discover_challenges(self.root), [self.root]) + + def test_discovery_skips_linked_challenge_and_rejects_linked_root(self): + repository = Path(self.temp.name) + link = repository / "web-link" + link.symlink_to(self.root, target_is_directory=True) + self.assertEqual(discover_challenges(repository), [self.root]) + with self.assertRaises(ValueError): + discover_challenges(link) + if __name__ == "__main__": unittest.main()