docs(oidc): record queued A01 Run 108 and strict env-key source behavior across project and operator docs

This commit is contained in:
victorsteele428 committed 2026-11-23 18:12:30 +00:00
1 parent 34fab24043
commit 6f811e81b1
9 files changed
+36

No files matched your search

+2
View File
@@ -83,3 +83,5 @@ Future feature additions need an evidence-backed status update here, an exact de
- **GO/NO-GO: NO-GO** until independently approved P0 release, key/backup and HTTPS/cutover gates. [Complete operator preflight](P05-OIDC-09.md); [exact 13 phase scopes](../notes/P05-OIDC-09.md). - **GO/NO-GO: NO-GO** until independently approved P0 release, key/backup and HTTPS/cutover gates. [Complete operator preflight](P05-OIDC-09.md); [exact 13 phase scopes](../notes/P05-OIDC-09.md).
**P05-OIDC-10 2026-11-23 OCI imported Login provenance status:** [Gitea Run #106](https://dev.ivib.cc/vibtools/ZitPlane/actions/runs/106) Job #222 **COMPLETED FAILURE** on `6ba004808ef47c8856c1a7906faaf7ee807d15a6`. SOURCE+CI VERIFIED: unchanged upstream Login/PNPM lock, Node22 Bookworm/Node24 Alpine pinned index, 12/12 provenance tamper negatives, root frozen 1121 packages and Next16.4.6 standalone build, temporary entrypoint 644→755, source-labeled OCI image ID, nonnetwork entrypoint probe and cleanup. CI FAILED at `IMAGE_SECRET_ENV_KEY` (exact env key not logged), so final image attestation and partial SPDX artifacts NOT EXECUTED. Loose unanchored PAT rule could match standard PATH — **hypothesis only**; next A01 requires separate approval. No registry release, production DNS/TLS/Console/MFA/SSO or signed SBOM verified. [A10 operator details](P05-OIDC-10.md). **P05-OIDC-10 2026-11-23 OCI imported Login provenance status:** [Gitea Run #106](https://dev.ivib.cc/vibtools/ZitPlane/actions/runs/106) Job #222 **COMPLETED FAILURE** on `6ba004808ef47c8856c1a7906faaf7ee807d15a6`. SOURCE+CI VERIFIED: unchanged upstream Login/PNPM lock, Node22 Bookworm/Node24 Alpine pinned index, 12/12 provenance tamper negatives, root frozen 1121 packages and Next16.4.6 standalone build, temporary entrypoint 644→755, source-labeled OCI image ID, nonnetwork entrypoint probe and cleanup. CI FAILED at `IMAGE_SECRET_ENV_KEY` (exact env key not logged), so final image attestation and partial SPDX artifacts NOT EXECUTED. Loose unanchored PAT rule could match standard PATH — **hypothesis only**; next A01 requires separate approval. No registry release, production DNS/TLS/Console/MFA/SSO or signed SBOM verified. [A10 operator details](P05-OIDC-10.md).
**P05-OIDC-10-A01 status (2026-11-24):** SOURCE VERIFIED only: scope-first validator-only safe PATH/PAT env token-boundary, known benign key allowlist, fail-closed credential/unknown/duplicate/malformed/production-mode, original 12 + 14 new negative fixtures and PATH-positive defined. [Run #108](https://dev.ivib.cc/vibtools/ZitPlane/actions/runs/108) Job #230 on `4452a61b0f5a0892399060fd7569231a564bce02` **QUEUED, no steps/log**, so all A01 CI build, negative, provenance/SPDX, nonroot/entrypoint and cleanup gates **NOT EXECUTED**; runner state UNKNOWN. Previous Run #106 failure remains factual; root-cause PATH collision source-verifiable but actual rejected runtime key unconfirmed. Run #99 disposable OIDC and Run #105 static synthetic contract remain accepted historical evidence, **not A01 pass**. Real signed registry release/public HTTPS/MFA/SSO still BLOCKED. Next A02 docs/read-only existing run scheduling/terminal checks requires approval.
+4
View File
@@ -200,3 +200,7 @@ Approved baseline `d3ee3fa4de62463c53d5213c532d097278f928c6`, Scope Lock first `
## P05-OIDC-10 — single CI pinned imported Login build; final provenance env gate FAIL (2026-11-23) ## P05-OIDC-10 — single CI pinned imported Login build; final provenance env gate FAIL (2026-11-23)
Approved baseline `f06773b39322f14b7bae48850574c1243420e7ec`, scope-first note commit `539c7d019d6b238e2214afcbfb59423ed7294175`. Narrow source exact five paths (new `tests/ci/login_image/{provenance.py,provenance-lock.json}`, opt-in `build.sh`, new `.gitea/workflows/p05-login-provenance.yml`, scope note); all prior imported source, package locks, dev/production deployment and existing workflow unchanged. **One** [Gitea Run #106](https://dev.ivib.cc/vibtools/ZitPlane/actions/runs/106) / Job #222 `COMPLETED FAILURE`, source `6ba004808ef47c8856c1a7906faaf7ee807d15a6`: checkout, pinned import source Git SHA, 12/12 in-memory negative, frozen PNPM install, Nx/Next standalone, immutable base digest, temporary entrypoint 0755 and source-labeled disposable OCI local image ID/probe PASS. Builder digest OS/arch/index PASS. OCI environment-key validator `ZITPLANE_P10_FAIL_CLOSED_IMAGE_SECRET_ENV_KEY` **FAIL**; actual key unknown, probable broad PAT substring issue (PATH) but NOT confirmed. Partial source/base SPDX and unsigned JSON attestation **NOT GENERATED**, no production SBOM/signed release. `always()` original exact builder/image/context cleanup SUCCESS, Gitea runner job cleanup observed. No rerun/source patch after failure. Next separately approved `P05-OIDC-10-A01` source-write ONLY `tests/ci/login_image/provenance.py` safe env name diagnostics and secure segment matching, then one independent CI. Original Run #99 custom Login browser OIDC and Run #105 48/48 static synthetic PASS unaffected. [Forensic report](../notes/P05-OIDC-10.md), [operator ledger](P05-OIDC-10.md). Approved baseline `f06773b39322f14b7bae48850574c1243420e7ec`, scope-first note commit `539c7d019d6b238e2214afcbfb59423ed7294175`. Narrow source exact five paths (new `tests/ci/login_image/{provenance.py,provenance-lock.json}`, opt-in `build.sh`, new `.gitea/workflows/p05-login-provenance.yml`, scope note); all prior imported source, package locks, dev/production deployment and existing workflow unchanged. **One** [Gitea Run #106](https://dev.ivib.cc/vibtools/ZitPlane/actions/runs/106) / Job #222 `COMPLETED FAILURE`, source `6ba004808ef47c8856c1a7906faaf7ee807d15a6`: checkout, pinned import source Git SHA, 12/12 in-memory negative, frozen PNPM install, Nx/Next standalone, immutable base digest, temporary entrypoint 0755 and source-labeled disposable OCI local image ID/probe PASS. Builder digest OS/arch/index PASS. OCI environment-key validator `ZITPLANE_P10_FAIL_CLOSED_IMAGE_SECRET_ENV_KEY` **FAIL**; actual key unknown, probable broad PAT substring issue (PATH) but NOT confirmed. Partial source/base SPDX and unsigned JSON attestation **NOT GENERATED**, no production SBOM/signed release. `always()` original exact builder/image/context cleanup SUCCESS, Gitea runner job cleanup observed. No rerun/source patch after failure. Next separately approved `P05-OIDC-10-A01` source-write ONLY `tests/ci/login_image/provenance.py` safe env name diagnostics and secure segment matching, then one independent CI. Original Run #99 custom Login browser OIDC and Run #105 48/48 static synthetic PASS unaffected. [Forensic report](../notes/P05-OIDC-10.md), [operator ledger](P05-OIDC-10.md).
## P05-OIDC-10-A01 — source-level OCI env-key RCA complete, CI still queued
Approved baseline `195568a8be978304a686c826cdcbf0ab0d36c6a6`, Scope Lock first `46e2897380b736b970a0b1de15a161c3600abcb6`. Exactly one source file `tests/ci/login_image/provenance.py` changed, CI-source SHA `4452a61b0f5a0892399060fd7569231a564bce02`, all imported source/workflow/build/OCI lock untouched. Old broad PAT regex matches PATH by code logic, but exact Run #106 offending key still **NOT CONFIRMED** by runtime. Validator accepts only finite benign ENV key names, rejects credential-segment/unknown/duplicate/malformed names, prints only known whitelisted names or fixed generic categories, preserves original 12 negative fixtures, adds 14 security negatives and a benign PATH positive. Pre-run source/security/diff audit PASS (2 exact paths; full tree required pagination). **ONE [Gitea Run #108](https://dev.ivib.cc/vibtools/ZitPlane/actions/runs/108) / Job #230 dispatched; workflow active, run/job QUEUED, not started, no steps or logs**. Runner online/labels/capacity UNKNOWN. Thus original+new tests, frozen Next/OCI build, partial unsigned SPDX+attestation, and cleanup **NOT EXECUTED**, not PASS or FAIL. No new run, rerun, source patch or production operations. **A01 CI acceptance PENDING/BLOCKED;** propose separately approved P05-OIDC-10-A02 read-only existing-run acceptance. [Forensic](../notes/P05-OIDC-10-A01.md), [operator report](P05-OIDC-10-A01.md).
+4
View File
@@ -174,3 +174,7 @@ The checked-in `deployment/production-contract/compose.ci.yaml` contains only `s
## P05-OIDC-10 — provenance workflow is disposable, not a production installer ## P05-OIDC-10 — provenance workflow is disposable, not a production installer
New manual `.gitea/workflows/p05-login-provenance.yml` and `tests/ci/login_image/provenance-lock.json` pin public Node22/Node24 OCI base indexes and original imported Login source Git tree; opt-in `ZITPLANE_PROVENANCE_CI=1` retains existing Run #99/default builder mode. Source `6ba004808ef47c8856c1a7906faaf7ee807d15a6` [Run #106](https://dev.ivib.cc/vibtools/ZitPlane/actions/runs/106) confirmed a frozen 1121-package PNPM install, Next standalone and local digest-pinned nonroot OCI entrypoint probe with 12 security negatives PASS, but final env-key policy FAIL `IMAGE_SECRET_ENV_KEY`, blocking the ephemeral partial material SBOM/unsigned attestation. Builder/image/context and job owned resources were cleaned. Do not execute the new script on a production VPS, publish its local image, use unsigned material SPDX as complete OS/dependency SBOM or perform tag/release. After separately approved safe A01 validator acceptance and later Account OCI work, registry publication and real HTTPS need their own authorizations. [Full report](P05-OIDC-10.md). New manual `.gitea/workflows/p05-login-provenance.yml` and `tests/ci/login_image/provenance-lock.json` pin public Node22/Node24 OCI base indexes and original imported Login source Git tree; opt-in `ZITPLANE_PROVENANCE_CI=1` retains existing Run #99/default builder mode. Source `6ba004808ef47c8856c1a7906faaf7ee807d15a6` [Run #106](https://dev.ivib.cc/vibtools/ZitPlane/actions/runs/106) confirmed a frozen 1121-package PNPM install, Next standalone and local digest-pinned nonroot OCI entrypoint probe with 12 security negatives PASS, but final env-key policy FAIL `IMAGE_SECRET_ENV_KEY`, blocking the ephemeral partial material SBOM/unsigned attestation. Builder/image/context and job owned resources were cleaned. Do not execute the new script on a production VPS, publish its local image, use unsigned material SPDX as complete OS/dependency SBOM or perform tag/release. After separately approved safe A01 validator acceptance and later Account OCI work, registry publication and real HTTPS need their own authorizations. [Full report](P05-OIDC-10.md).
## P05-OIDC-10-A01 — current CI-only environment guard acceptance is NOT READY
No new runtime/setup dependencies, package/lock changes, image publishing, production or DNS/TLS actions. `tests/ci/login_image/provenance.py` now has a source-verified benign PATH acceptance, strict credential segment checking, finite allowed environment key list and 14 new negative definitions in addition to preserved 12; old broad `PAT` source matcher falsely catches PATH in theory, but previous runtime failing key is still UNKNOWN. The sole authorized unchanged workflow dispatch [Run #108](https://dev.ivib.cc/vibtools/ZitPlane/actions/runs/108) tested `4452a61b0f5a0892399060fd7569231a564bce02` and remains **QUEUED**, job #230 has not started. Do not claim an OCI image, temporary SBOM, unsigned attestation or cleanup was produced by A01; no steps executed. Only separately approved runner scheduling RCA/read-only acceptance may inspect existing run. Do not re-dispatch, start Docker services or deploy on Coolify. [A01 operator ledger](P05-OIDC-10-A01.md).
+4
View File
@@ -133,3 +133,7 @@ If the product is not reachable on proposed `auth.vib.tools`/`account.vib.tools`
## P05-OIDC-10 — pinned OCI build succeeds but final image secret-env guard rejects it ## P05-OIDC-10 — pinned OCI build succeeds but final image secret-env guard rejects it
Single [Gitea Run #106](https://dev.ivib.cc/vibtools/ZitPlane/actions/runs/106), tested `6ba004808ef47c8856c1a7906faaf7ee807d15a6`, built immutable source/pinned base temporary imported Login image and verified executable `0755` entrypoint + nonroot probe, but emitted `ZITPLANE_P10_FAIL_CLOSED_IMAGE_SECRET_ENV_KEY` after builder image index match, **before** `materials.spdx.json` and unsigned attestation were written. **Actual environment variable name is UNKNOWN** because logs intentionally avoid raw image/env output. Existing regex checks unanchored `PAT` substring, which can also match harmless `PATH`, but do not assume it without evidence. Never bypass the guard, dump `docker inspect` or expose secret env values. Next A01 (needs separate approval) can log only known safe key names/classes and use strict segment-aware PAT/TOKEN/SECRET matching, with explicit PATH acceptance and actual credential-key rejection fixtures. The `always()` cleanup PASS removed run-owned builder, app image and context; runner removed its temporary container/volumes/network. Original accepted Run #99/105 unaffected; no production deployment; [operator report](P05-OIDC-10.md). Single [Gitea Run #106](https://dev.ivib.cc/vibtools/ZitPlane/actions/runs/106), tested `6ba004808ef47c8856c1a7906faaf7ee807d15a6`, built immutable source/pinned base temporary imported Login image and verified executable `0755` entrypoint + nonroot probe, but emitted `ZITPLANE_P10_FAIL_CLOSED_IMAGE_SECRET_ENV_KEY` after builder image index match, **before** `materials.spdx.json` and unsigned attestation were written. **Actual environment variable name is UNKNOWN** because logs intentionally avoid raw image/env output. Existing regex checks unanchored `PAT` substring, which can also match harmless `PATH`, but do not assume it without evidence. Never bypass the guard, dump `docker inspect` or expose secret env values. Next A01 (needs separate approval) can log only known safe key names/classes and use strict segment-aware PAT/TOKEN/SECRET matching, with explicit PATH acceptance and actual credential-key rejection fixtures. The `always()` cleanup PASS removed run-owned builder, app image and context; runner removed its temporary container/volumes/network. Original accepted Run #99/105 unaffected; no production deployment; [operator report](P05-OIDC-10.md).
## P05-OIDC-10-A01 — distinguish PATH/PAT source collision from queued runner evidence
Original [Run #106](https://dev.ivib.cc/vibtools/ZitPlane/actions/runs/106) `IMAGE_SECRET_ENV_KEY` was emitted by an unanchored regex containing `PAT`; this also matches benign `PATH` **by source logic**, but actual rejected variable name wasn't logged. New `provenance.py` at `4452a61b0f5a0892399060fd7569231a564bce02` uses finite benign OCI key allowlist, true credential whole-token segments, generic unknown class, no environment values or Docker inspect JSON logs. 12 original +14 extra synthetic negatives and PATH positive defined; no run acceptance yet because [Run #108](https://dev.ivib.cc/vibtools/ZitPlane/actions/runs/108) / Job #230 **QUEUED**, started_at unset, no job steps. Do NOT assume runner offline or that PATH was actually the rejected key; also do NOT bypass the guard or dump raw env. Read-only existing-run scheduling evidence is next P05-OIDC-10-A02 approval. No re-dispatch/retry or runner config change authorized; existing production release remains blocked.
+6
View File
@@ -222,3 +222,9 @@ Read-only reviewed accepted [Run #105](https://dev.ivib.cc/vibtools/ZitPlane/act
New `.gitea/workflows/p05-login-provenance.yml` is **manual-only** with a pinned `node:24-alpine@sha256:116b800c…` task container, read-only SHA-pinned checkout, targeted `tests/ci/login_image/provenance.py` source/security and 12 mutation-negative assertions, opt-in existing `build.sh` for pinned Node22 Bookworm builder `sha256:e13726ca…` and temporary pinned Node24 Alpine runtime Dockerfile, an isolated no-network entrypoint probe and unchanged always `cleanup.sh`. Original Run #99 custom Login OIDC workflow, Run #105 static contract workflow, imported `auth/**` and dev Compose untouched. New `.gitea/workflows/p05-login-provenance.yml` is **manual-only** with a pinned `node:24-alpine@sha256:116b800c…` task container, read-only SHA-pinned checkout, targeted `tests/ci/login_image/provenance.py` source/security and 12 mutation-negative assertions, opt-in existing `build.sh` for pinned Node22 Bookworm builder `sha256:e13726ca…` and temporary pinned Node24 Alpine runtime Dockerfile, an isolated no-network entrypoint probe and unchanged always `cleanup.sh`. Original Run #99 custom Login OIDC workflow, Run #105 static contract workflow, imported `auth/**` and dev Compose untouched.
Exactly one [Gitea Run #106](https://dev.ivib.cc/vibtools/ZitPlane/actions/runs/106) Job #222 `COMPLETED FAILURE`, tested SHA `6ba004808ef47c8856c1a7906faaf7ee807d15a6`. Toolchain/checkout and 12/12 negatives PASS, Git immutable source tree and lock PASS, 1121 packages frozen root PNPM10.30.3 install and Next16.4.6 standalone/proto/client build PASS; nested Login package invokes its own hash-qualified PNPM10.28.2. Temporary 644→755 entrypoint PASS, pinned runtime OCI image `sha256:9ddaccf7f6e60e6d72d580de6b285df697d1404cc8f48e5d2719953a4ea69078` built and no-network executable probe PASS, builder linux/amd64 index PASS. `ZITPLANE_P10_FAIL_CLOSED_IMAGE_SECRET_ENV_KEY` **FAIL** before final source-to-image material SPDX-lite/unsigned attestation, so those files **NOT EXECUTED/EMITTED**. Env key unknown; plain regex `PAT` may match ordinary `PATH`, unverified hypothesis. `always()` run-owned builder/image/context cleanup PASS; Gitea runner-owned job container/two volumes/network removed. No CI rerun/post-run source edit. No registry publish/release/live services. Full gate **BLOCKED** pending separately approved P05-OIDC-10-A01 provenance.py-only safe key-boundary RCA. Exactly one [Gitea Run #106](https://dev.ivib.cc/vibtools/ZitPlane/actions/runs/106) Job #222 `COMPLETED FAILURE`, tested SHA `6ba004808ef47c8856c1a7906faaf7ee807d15a6`. Toolchain/checkout and 12/12 negatives PASS, Git immutable source tree and lock PASS, 1121 packages frozen root PNPM10.30.3 install and Next16.4.6 standalone/proto/client build PASS; nested Login package invokes its own hash-qualified PNPM10.28.2. Temporary 644→755 entrypoint PASS, pinned runtime OCI image `sha256:9ddaccf7f6e60e6d72d580de6b285df697d1404cc8f48e5d2719953a4ea69078` built and no-network executable probe PASS, builder linux/amd64 index PASS. `ZITPLANE_P10_FAIL_CLOSED_IMAGE_SECRET_ENV_KEY` **FAIL** before final source-to-image material SPDX-lite/unsigned attestation, so those files **NOT EXECUTED/EMITTED**. Env key unknown; plain regex `PAT` may match ordinary `PATH`, unverified hypothesis. `always()` run-owned builder/image/context cleanup PASS; Gitea runner-owned job container/two volumes/network removed. No CI rerun/post-run source edit. No registry publish/release/live services. Full gate **BLOCKED** pending separately approved P05-OIDC-10-A01 provenance.py-only safe key-boundary RCA.
## P05-OIDC-10-A01 — validator-only env-key boundary, CI dispatch queued
Scope-first `notes/P05-OIDC-10-A01.md` commit `46e2897380b736b970a0b1de15a161c3600abcb6` and immutable tested source `4452a61b0f5a0892399060fd7569231a564bce02`. Source change ONLY `tests/ci/login_image/provenance.py`; `.gitea/workflows/p05-login-provenance.yml`, builder `build.sh`, `cleanup.sh`, OCI index lock, imported `auth/**` and existing Run #99/105 workflows unchanged. Old unanchored `PAT` matcher is proven by source logic to also match benign `PATH`; exact Run #106 rejected key was never logged and remains **UNKNOWN**. New `classify_oci_env_key()` recognizes whole underscore-separated credential segments, allowing only finite expected Node/OCI key names. New `diagnose_oci_image_env()` emits fixed allowlisted benign key names or generic sensitive/unknown/invalid/duplicate classes; no arbitrary keys, values or inspect JSON. Existing 12 + new 14 rejection fixtures and positive PATH fixture are present in source and not yet CI-executed.
One [Gitea Run #108](https://dev.ivib.cc/vibtools/ZitPlane/actions/runs/108) / Job #230 was dispatched on `4452a61b0f5a0892399060fd7569231a564bce02`, existing workflow **active** but run and job **QUEUED** at last read; job `started_at` unset, steps empty, no log; runner online/ubuntu-latest match/capacity/registration **UNKNOWN**, not assumed offline. **No successful/failing A01 job check yet**: immutable runtime build, 12+14 negatives, partial SPDX/unsigned provenance and cleanup are all NOT EXECUTED for Run #108. No new run/rerun/post-dispatch source patch. Proposed P05-OIDC-10-A02 read-only **existing Run #108 scheduling/terminal acceptance** requires separate approval. Prior [Run #106](https://dev.ivib.cc/vibtools/ZitPlane/actions/runs/106) local image build/cleanup and Run #99/105 historical acceptance remain separate.
+4
View File
@@ -99,3 +99,7 @@ Historical [Run #89](https://dev.ivib.cc/vibtools/ZitPlane/actions/runs/89) repo
## P05-OIDC-10 — provenance image build results and residual release blockers ## P05-OIDC-10 — provenance image build results and residual release blockers
[Run #106](https://dev.ivib.cc/vibtools/ZitPlane/actions/runs/106) source `6ba004808ef47c8856c1a7906faaf7ee807d15a6` confirmed imported source-tree and `pnpm-lock.yaml` blob hash integrity, pinned Node22 Bookworm builder/Node24 Alpine runtime index use, root PNPM10.30.3 frozen 1121 packages, Nx/Next16.4.6 standalone PASS, but nested Login package invokes hash-qualified PNPM10.28.2. Those are **historical CI source pins**, not a fresh global CVE scan or claim of exact bit-reproducible OCI output across independent builds. The temporary OCI image ID `sha256:9ddaccf7f6e60e6d72d580de6b285df697d1404cc8f48e5d2719953a4ea69078` and nonroot entrypoint probe PASS, yet final env key scan `IMAGE_SECRET_ENV_KEY` FAIL before unsigned partial SPDX/material provenance generation, so **full P10 acceptance blocked**. Actual key unknown; regex PAT vs PATH a hypothesis. Future genuine complete dependency+OS SBOM, BuildKit signed/cryptographically verified SLSA provenance, updated SCA, repeat-build determinism and immutable registry release are still independently unverified even if next A01 passes. No signing keys, registry push, production or DNS. [Run #106](https://dev.ivib.cc/vibtools/ZitPlane/actions/runs/106) source `6ba004808ef47c8856c1a7906faaf7ee807d15a6` confirmed imported source-tree and `pnpm-lock.yaml` blob hash integrity, pinned Node22 Bookworm builder/Node24 Alpine runtime index use, root PNPM10.30.3 frozen 1121 packages, Nx/Next16.4.6 standalone PASS, but nested Login package invokes hash-qualified PNPM10.28.2. Those are **historical CI source pins**, not a fresh global CVE scan or claim of exact bit-reproducible OCI output across independent builds. The temporary OCI image ID `sha256:9ddaccf7f6e60e6d72d580de6b285df697d1404cc8f48e5d2719953a4ea69078` and nonroot entrypoint probe PASS, yet final env key scan `IMAGE_SECRET_ENV_KEY` FAIL before unsigned partial SPDX/material provenance generation, so **full P10 acceptance blocked**. Actual key unknown; regex PAT vs PATH a hypothesis. Future genuine complete dependency+OS SBOM, BuildKit signed/cryptographically verified SLSA provenance, updated SCA, repeat-build determinism and immutable registry release are still independently unverified even if next A01 passes. No signing keys, registry push, production or DNS.
## P05-OIDC-10-A01 — OCI image ENV policy (proposed CI gate still QUEUED)
Source `4452a61b0f5a0892399060fd7569231a564bce02` replaces unsafe unanchored `PAT` key scan (which by code also matches standard harmless PATH) with strict token-segment credential detection and finite OCI key allowlisting in `tests/ci/login_image/provenance.py`. Unknown/duplicate/malformed keys, AUTH_SECRET, LOGIN_CLIENT_PAT, ZITADEL_MASTERKEY/SERVICE_USER_TOKEN, DB passwords, private/access keys fail closed; benign PATH positive and 14 new in-memory negatives defined, original 12 source/OCI negative fixtures retained. Diagnostic names are either preapproved safe keys or fixed security classes and never expose values or arbitrary input. **Actual image key in prior Run #106 still UNKNOWN**, not conclusively PATH. Existing pinned Node builder/runtime indexes, imported Git tree/PNPM lock, source build and partial unsigned material SPDX implementation unchanged. Exactly one [Run #108](https://dev.ivib.cc/vibtools/ZitPlane/actions/runs/108) queued without running the gate, package/OCI builds or cleanup; **no current A01 CI acceptance**. Full transitive/OS SBOM, cryptographic signatures, registry publishing and production runtime remain release blockers. Previous Run #106 build and Run #99/105 success are historical evidence only.
+4
View File
@@ -266,3 +266,7 @@ Run #101 source `2ca1b4493bd47209d0c7eabf7453feaeb1f5174a`: Compose parse PASS,
- **NEW** `.gitea/workflows/p05-login-provenance.yml`: manual-only dedicated CI for pinned source/build, no registry or production, always unchanged run-owned cleanup. - **NEW** `.gitea/workflows/p05-login-provenance.yml`: manual-only dedicated CI for pinned source/build, no registry or production, always unchanged run-owned cleanup.
- **NEW docs** `notes/P05-OIDC-10.md` pre-source Scope Lock+Run #106 ledger, `docs/P05-OIDC-10.md` operator report, relevant developer/README/MINIFEST/inventory updates. Source-tested `6ba004808ef47c8856c1a7906faaf7ee807d15a6`; no protected `auth/**`/`users/**`/`core/**`/`deployment/**` or pre-existing CI/workflow/lock edits. - **NEW docs** `notes/P05-OIDC-10.md` pre-source Scope Lock+Run #106 ledger, `docs/P05-OIDC-10.md` operator report, relevant developer/README/MINIFEST/inventory updates. Source-tested `6ba004808ef47c8856c1a7906faaf7ee807d15a6`; no protected `auth/**`/`users/**`/`core/**`/`deployment/**` or pre-existing CI/workflow/lock edits.
- **Run #106** [terminal failure](https://dev.ivib.cc/vibtools/ZitPlane/actions/runs/106): pinned image build/12 negatives PASS; environment key guard FAIL, actual key unknown; partial SPDX/attestation not written; cleanup PASS. P05-OIDC-10-A01 must modify only provenance.py if separately approved. - **Run #106** [terminal failure](https://dev.ivib.cc/vibtools/ZitPlane/actions/runs/106): pinned image build/12 negatives PASS; environment key guard FAIL, actual key unknown; partial SPDX/attestation not written; cleanup PASS. P05-OIDC-10-A01 must modify only provenance.py if separately approved.
## P05-OIDC-10-A01 — exact immutable two-path source scope and queued CI
Baseline `195568a8be978304a686c826cdcbf0ab0d36c6a6` to CI source `4452a61b0f5a0892399060fd7569231a564bce02` changed ONLY `notes/P05-OIDC-10-A01.md` (committed FIRST) and `tests/ci/login_image/provenance.py`. The new validator adds exact benign env allowlist, strict sensitive segment matching, safe fixed-name diagnostics, 14 new env negatives/benign PATH positive while preserving original 12. **READ ONLY** `auth/**`, `users/**`, `core/**`, `deployment/**`, `tests/ci/login_image/{build.sh,cleanup.sh,provenance-lock.json}`, all existing workflow YAMLs, other tests and package files. New documentation-only `docs/P05-OIDC-10-A01.md`, README/MINIFEST and notes/project/docs updates after dispatch. One [Run #108](https://dev.ivib.cc/vibtools/ZitPlane/actions/runs/108) / Job #230 **QUEUED** against `4452a61b0f5a0892399060fd7569231a564bce02`; NO executed job steps or cleanup evidence yet, runner scheduling evidence limited. Source-level PAT/PATH collision proven, actual previous image key unknown. Independent proposed A02: read-only runner/Run #108 acceptance, no new CI.
+4
View File
@@ -203,3 +203,7 @@ Actual [Run #104](https://dev.ivib.cc/vibtools/ZitPlane/actions/runs/104) confir
`tests/ci/login_image/provenance.py` new stdlib functions `validate_lock`, `verify_source` (exact tracked `HEAD:auth/ui/v2` Git tree/source Dockerfile/entrypoint/PNPM lock), `pin_dockerfile` (only run-owned temporary Dockerfile FROM replacement), `expected_labels`, `validate_image` (image ID, linux/amd64, USER nextjs, exact entrypoint, source/base labels and allowed env keys), `verify_builder` (OCI base index/arch), `negative_cases` (6 lock tampering + 6 bad OCI image configurations) and `write_material_attestations` (partial source/base SPD​X metadata+unsigned JSON in temporary run context). `tests/ci/login_image/build.sh` default original Run #99 behavior remains; new `ZITPLANE_PROVENANCE_CI=1` source-verified pinned builder/runtime and `--verify-image` opt-in. No real secret values printed. `tests/ci/login_image/provenance.py` new stdlib functions `validate_lock`, `verify_source` (exact tracked `HEAD:auth/ui/v2` Git tree/source Dockerfile/entrypoint/PNPM lock), `pin_dockerfile` (only run-owned temporary Dockerfile FROM replacement), `expected_labels`, `validate_image` (image ID, linux/amd64, USER nextjs, exact entrypoint, source/base labels and allowed env keys), `verify_builder` (OCI base index/arch), `negative_cases` (6 lock tampering + 6 bad OCI image configurations) and `write_material_attestations` (partial source/base SPD​X metadata+unsigned JSON in temporary run context). `tests/ci/login_image/build.sh` default original Run #99 behavior remains; new `ZITPLANE_PROVENANCE_CI=1` source-verified pinned builder/runtime and `--verify-image` opt-in. No real secret values printed.
[Run #106](https://dev.ivib.cc/vibtools/ZitPlane/actions/runs/106) source `6ba004808ef47c8856c1a7906faaf7ee807d15a6`: `verify_source`, `negative_cases` 12/12, temporary `pin_dockerfile`, entrypoint fix, pinned image packaging and `verify_builder` **PASS**; `validate_image` **FAIL** at `IMAGE_SECRET_ENV_KEY`, before `write_material_attestations`. Its current unanchored `PAT` substring regex can also match `PATH`; actual offending key **UNKNOWN**. No attestation files. Next independent P05-OIDC-10-A01: ONLY this validator source to add value-free fixed key classification, retain secret rejection with token boundaries, plus PATH/true-PAT focused negatives; no other source edits. [Run #106](https://dev.ivib.cc/vibtools/ZitPlane/actions/runs/106) source `6ba004808ef47c8856c1a7906faaf7ee807d15a6`: `verify_source`, `negative_cases` 12/12, temporary `pin_dockerfile`, entrypoint fix, pinned image packaging and `verify_builder` **PASS**; `validate_image` **FAIL** at `IMAGE_SECRET_ENV_KEY`, before `write_material_attestations`. Its current unanchored `PAT` substring regex can also match `PATH`; actual offending key **UNKNOWN**. No attestation files. Next independent P05-OIDC-10-A01: ONLY this validator source to add value-free fixed key classification, retain secret rejection with token boundaries, plus PATH/true-PAT focused negatives; no other source edits.
## P05-OIDC-10-A01 — finite OCI environment-key functions (source only)
Only `tests/ci/login_image/provenance.py` changed at candidate SHA `4452a61b0f5a0892399060fd7569231a564bce02`: `SAFE_OCI_ENV_KEYS` is a fixed set of known benign Node/OCI image ENV names (PATH/NODE_VERSION/YARN_VERSION and exact upstream runtime keys). `SENSITIVE_OCI_ENV_SEGMENTS` is an underscore-separated **complete-token** set of AUTH/SECRET/TOKEN/PAT/MASTERKEY/PASSWORD/PRIVATE/KEY/DB and related credentials. `classify_oci_env_key()` maps arbitrary input **only to SAFE/SENSITIVE/UNKNOWN/INVALID**, not its value. `diagnose_oci_image_env()` logs known-safe whitelisted key names and fixed generic error classes, plus legacy PATH matcher evidence **only if verified in a real inspected OCI image**. `validate_image()` fails closed for sensitive, unknown, bad-format, duplicates, non-production NODE_ENV, existing unsafe user/labels/entrypoint/platform and image ID. The 12 original fixture definitions remain; `negative_cases()` now adds 9 sensitive-key + 5 malformed/unknown/duplicate/development-mode rejects (=14) and one benign PATH positive. No value printing, no arbitrary name output, no new network/API operations. **Run #108 currently QUEUED**, so these are SOURCE VERIFIED, NOT CI VERIFIED; actual previous rejected key remains UNKNOWN until runner executes [Run #108](https://dev.ivib.cc/vibtools/ZitPlane/actions/runs/108). No builder, workflow, CI pins or app edits; full details `notes/P05-OIDC-10-A01.md`.
+4
View File
@@ -139,3 +139,7 @@ The read-only source inventory verifies tracked Account npm **package-lock.json*
## P05-OIDC-10 — pinned import build inputs and terminal CI-only outcome ## P05-OIDC-10 — pinned import build inputs and terminal CI-only outcome
Public Docker Hub `node:22-bookworm` OCI index `sha256:e13726ca604184d7a91fcacab1fc09eefd642dc28e79ac34e85540dd93b78cfb` and `node:24-alpine` `sha256:116b800c3754b440ee0aa3ed2f20f5bf3d99a554bfd9adeea09ea8017f6e85f5` are pinned in `tests/ci/login_image/provenance-lock.json`; disposable Gitea CI pulled/used immutable references. Source `auth/ui/v2` Git tree `76683086acb5d4ccf3b2094f894e19a8aa0fafa9` and frozen lock blob verified. [Run #106](https://dev.ivib.cc/vibtools/ZitPlane/actions/runs/106) source `6ba004808ef47c8856c1a7906faaf7ee807d15a6`: 4 PNPM workspace projects, 1121 locked packages, root PNPM `10.30.3` and nested hash-qualified Login `10.28.2` noted (different toolchains), Nx/proto/client/Login standalone build PASS and local OCI entrypoint/image PASS. Builder emits legacy `docker build` deprecation warning; actual production BuildKit/SBOM/signing still unverified. Security gate `IMAGE_SECRET_ENV_KEY` FAIL, preventing material manifest and final provenance acceptance; cleanup PASS. Images temporary, no registry publish, no production secret/endpoint. Next separately approved one-file A01; no local application test. Public Docker Hub `node:22-bookworm` OCI index `sha256:e13726ca604184d7a91fcacab1fc09eefd642dc28e79ac34e85540dd93b78cfb` and `node:24-alpine` `sha256:116b800c3754b440ee0aa3ed2f20f5bf3d99a554bfd9adeea09ea8017f6e85f5` are pinned in `tests/ci/login_image/provenance-lock.json`; disposable Gitea CI pulled/used immutable references. Source `auth/ui/v2` Git tree `76683086acb5d4ccf3b2094f894e19a8aa0fafa9` and frozen lock blob verified. [Run #106](https://dev.ivib.cc/vibtools/ZitPlane/actions/runs/106) source `6ba004808ef47c8856c1a7906faaf7ee807d15a6`: 4 PNPM workspace projects, 1121 locked packages, root PNPM `10.30.3` and nested hash-qualified Login `10.28.2` noted (different toolchains), Nx/proto/client/Login standalone build PASS and local OCI entrypoint/image PASS. Builder emits legacy `docker build` deprecation warning; actual production BuildKit/SBOM/signing still unverified. Security gate `IMAGE_SECRET_ENV_KEY` FAIL, preventing material manifest and final provenance acceptance; cleanup PASS. Images temporary, no registry publish, no production secret/endpoint. Next separately approved one-file A01; no local application test.
## P05-OIDC-10-A01 — no new runtime dependencies or changes to frozen source
Only stdlib-only `tests/ci/login_image/provenance.py` modified to classify known default Node OCI environment keys and fail-close on real credential segments, unknown/duplicate/malformed keys. Root PNPM workspace, nested Login toolchain, Docker base-index lock, existing `build.sh` and workflow unchanged; no image manifest, package lock, imported Dockerfile, runner config or production environment edits. Source `4452a61b0f5a0892399060fd7569231a564bce02` has original 12 plus 14 new in-memory negative checks and a PATH acceptance positive, but existing manual [Run #108](https://dev.ivib.cc/vibtools/ZitPlane/actions/runs/108) / job #230 **QUEUED and NOT EXECUTED** at last inspection. Running the unchanged workflow is the only approved way to produce actual OCI image and temporary partial material SPDX/unsigned provenance; no local tests or production services started in this phase. Next A02 may inspect existing run/runner **read-only only**, separate permission for any runner action.