27 lines
2.9 KiB
Markdown
27 lines
2.9 KiB
Markdown
# P05-OIDC-10-A01 — OCI Environment-Key Boundary RCA (CI Queued)
|
|||
|
|
|
||
|
|
**Approved baseline:** `195568a8be978304a686c826cdcbf0ab0d36c6a6`. Scope-first note commit `46e2897380b736b970a0b1de15a161c3600abcb6`; only approved source modified: `tests/ci/login_image/provenance.py`. **CI candidate tested source:** `4452a61b0f5a0892399060fd7569231a564bce02`. Existing Run #99/105 successful workflows and Run #106 historical failure unchanged.
|
||
|
|
|
||
|
|
## Root cause classification (source evidence vs actual image evidence)
|
||
|
|
|
||
|
|
The old unanchored `PAT` credential matcher also matches harmless `PATH` **by string logic**, a source-proven collision. The previous Run #106 intentionally did not reveal the actual environment key, so **PATH as actual rejected key remains UNVERIFIED**. New `provenance.py` uses a finite allowlist of expected benign Node/OCI env names, token-boundary sensitive-key rejection and fixed allowlisted **name-only** diagnostics. Any unknown key is rejected, without logging names or values; credential-bearing `AUTH_SECRET`, `ZITADEL_MASTERKEY`, `LOGIN_CLIENT_PAT`, `ZITADEL_SERVICE_USER_TOKEN`, DB passwords, private/access key names remain fail-closed. Original 12 negatives preserved, 14 newly defined synthetic env negatives plus benign PATH positive — **not yet CI executed**.
|
||
|
|
|
||
|
|
## Existing only approved manual CI — current evidence
|
||
|
|
|
||
|
|
[Gitea Run #108](https://dev.ivib.cc/vibtools/ZitPlane/actions/runs/108), Job #230, exact SHA `4452a61b0f5a0892399060fd7569231a564bce02`; workflow remains `active`. Created 2026-11-23T18:05:23Z. **Last inspection: RUN QUEUED / JOB QUEUED**, job `started_at` unset, no steps/log; actual runner online/labels/capacity/registration **UNKNOWN**.
|
||
|
|
|
||
|
|
| Gate | Result |
|
||
|
|
| --- | --- |
|
||
|
|
| Pre-source Scope Lock + exact two-path source/security audit | **PASS** |
|
||
|
|
| New source fix committed and single Run #108 dispatched | **PASS** |
|
||
|
|
| Immutable Git/OCI pins, frozen PNPM/Next build, nonroot/entrypoint/image ID | **NOT EXECUTED in Run #108** |
|
||
|
|
| Original 12 provenance negative fixtures | **NOT EXECUTED** |
|
||
|
|
| New 14 env-security negatives + harmless PATH positive | **NOT EXECUTED** |
|
||
|
|
| Real image diagnostic proving rejected PATH or another key | **NOT EXECUTED / UNKNOWN** |
|
||
|
|
| Partial source/base SPDX and unsigned attestation | **NOT EXECUTED** |
|
||
|
|
| Run #108 always-owned cleanup and runner task cleanup | **NOT EXECUTED** |
|
||
|
|
| No publishing, Docker service startup or production action | **Only workflow static prohibition verified; Run #108 job not started** |
|
||
|
|
|
||
|
|
**Terminal CI ACCEPTANCE: PENDING/BLOCKED, not PASS or FAIL.** No new run, no rerun, no post-CI source patch, no production deployment, no new image generated as of inspection.
|
||
|
|
|
||
|
|
**Next proposal (separate approval only):** P05-OIDC-10-A02 read-only runner scheduling RCA and **existing Run #108 terminal acceptance**, not a replacement dispatch. Exact Scope Lock: [notes/P05-OIDC-10-A01.md](../notes/P05-OIDC-10-A01.md). Actual release remains blocked; signed SBOM and real production HTTPS/SSO are separate.
|