From 1254e943fc3380cdc9f8b5e8c517ca1e3d8f53a6 Mon Sep 17 00:00:00 2001 From: "Jonathan D.A. Jewell" <6759885+hyperpolymath@users.noreply.github.com> Date: Mon, 16 Nov 2026 09:06:32 +0000 Subject: [PATCH 1/2] feat(ci): validate the fleet scanner secret without running a scan --- .github/workflows/actions.lock | 101 +++++++++++++++++++++++++++-- .github/workflows/hypatia-scan.yml | 18 ++++- docs/SCANNER-CREDENTIAL-CHECK.adoc | 30 +++++++++ 3 files changed, 143 insertions(+), 6 deletions(-) create mode 100644 docs/SCANNER-CREDENTIAL-CHECK.adoc diff --git a/.github/workflows/actions.lock b/.github/workflows/actions.lock index e2e9df3b..acf55b0b 100644 --- a/.github/workflows/actions.lock +++ b/.github/workflows/actions.lock @@ -29,10 +29,13 @@ workflows: '.github/workflows/fleet-report-back.yml': - 'actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1' - 'actions/download-artifact@9000827ccba6bdab643e8b6fd33ac0654aef8333' - '.github/workflows/governance.yml': [] + '.github/workflows/governance.yml': + - 'metadatastician/standards@ea2f4d8a886585ed442687ae63d4ad7493379ba4' '.github/workflows/hypatia-dispatch-intake.yml': - 'actions/checkout@v7.0.1' - '.github/workflows/hypatia-scan.yml': [] + '.github/workflows/hypatia-scan.yml': + - 'hyperpolymath/hypatia@b93f0615a61ee4c05af66eb526538eab47120aaa' + - 'metadatastician/standards@75bd5994470661a099df562d6d5ad2fe744dbd66' '.github/workflows/inbox-steward.yml': - 'actions/checkout@v7.0.1' - 'step-security/harden-runner@46b06cea07f9e64621fdf066ba77ac6915163d43' @@ -45,7 +48,8 @@ workflows: - 'actions/checkout@v7.0.1' - 'actions/upload-artifact@v7.0.2' '.github/workflows/lock-sync-gate.yml': [] - '.github/workflows/mirror.yml': [] + '.github/workflows/mirror.yml': + - 'metadatastician/standards@75bd5994470661a099df562d6d5ad2fe744dbd66' '.github/workflows/pages.yml': - 'actions/checkout@v7.0.1' - 'actions/deploy-pages@v5.0.1' @@ -62,8 +66,10 @@ workflows: - 'actions/checkout@v7.0.1' '.github/workflows/rust.yml': - 'actions/checkout@v7.0.1' - '.github/workflows/scorecard.yml': [] - '.github/workflows/secret-scanner.yml': [] + '.github/workflows/scorecard.yml': + - 'metadatastician/standards@75bd5994470661a099df562d6d5ad2fe744dbd66' + '.github/workflows/secret-scanner.yml': + - 'hyperpolymath/proven-cicd-and-workflows@1fd5e6371a50f0fc3687206a5adca0cdf7b39aa6' '.github/workflows/supervised-fleet-scan.yml': - 'actions/checkout@v7.0.1' - 'step-security/harden-runner@46b06cea07f9e64621fdf066ba77ac6915163d43' @@ -132,11 +138,36 @@ dependencies: repo_id: 496012378 uses: - 'actions/upload-artifact@bbbca2ddaa5d8feaa63e36b76fdaad77386f024f' + 'denoland/setup-deno@22d081ff2d3a40755e97629de92e3bcbfa7cf2ed': + ref: 'v2.0.5' + commit: 'sha1-22d081ff2d3a40755e97629de92e3bcbfa7cf2ed' + owner_id: 42048915 + repo_id: 356423100 + 'dtolnay/rust-toolchain@e2a55d2ffb04f378e9626c28d38b36d230d1e12f': + ref: 'v1' + commit: 'sha1-e2a55d2ffb04f378e9626c28d38b36d230d1e12f' + owner_id: 1940490 + repo_id: 260749683 'dtolnay/rust-toolchain@v1': ref: 'v1' commit: 'sha1-02cb101ec7c40f2c49e1d9714d64511d8e1b74de' owner_id: 1940490 repo_id: 260749683 + 'editorconfig-checker/action-editorconfig-checker@51f63319f592f97930c73d9c46184d20bd206393': + ref: 'v3.0.0' + commit: 'sha1-51f63319f592f97930c73d9c46184d20bd206393' + owner_id: 26415196 + repo_id: 297874902 + 'erlef/setup-beam@54075bcc5e249e4758d363f27d099f55d843f124': + ref: 'v1.24.1' + commit: 'sha1-54075bcc5e249e4758d363f27d099f55d843f124' + owner_id: 47606891 + repo_id: 331103973 + 'github/codeql-action@b96794f015dfd88f77b49b1c93e0fa7110f94c63': + ref: 'v4.38.0' + commit: 'sha1-b96794f015dfd88f77b49b1c93e0fa7110f94c63' + owner_id: 9919 + repo_id: 259445878 'github/codeql-action@v4.38.2': ref: 'v4.38.2' commit: 'sha1-2892aa5e19bbd11bc0cff5427e3b750a04d9e3c2' @@ -152,21 +183,76 @@ dependencies: commit: 'sha1-ed83d6927e8fb21431e403dbf6d7a4af96772746' owner_id: 6759885 repo_id: 1275649586 + 'hyperpolymath/hypatia@b93f0615a61ee4c05af66eb526538eab47120aaa': + ref: 'b93f0615a61ee4c05af66eb526538eab47120aaa' + commit: 'sha1-b93f0615a61ee4c05af66eb526538eab47120aaa' + owner_id: 6759885 + repo_id: 1118370967 + uses: + - 'step-security/harden-runner@1d88384fd173af6ecb012dfd0264a306b711241a' 'hyperpolymath/k9-ecosystem@main': ref: 'main' commit: 'sha1-c1a34884054fabf0e9de81dbf68f4ba7874e85f1' owner_id: 6759885 repo_id: 1275650185 + 'hyperpolymath/proven-cicd-and-workflows@1fd5e6371a50f0fc3687206a5adca0cdf7b39aa6': + ref: '1fd5e6371a50f0fc3687206a5adca0cdf7b39aa6' + commit: 'sha1-1fd5e6371a50f0fc3687206a5adca0cdf7b39aa6' + owner_id: 6759885 + repo_id: 1326697643 + uses: + - 'actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1' 'hyperpolymath/smtp-notify-action@v0.5.1': ref: 'v0.5.1' commit: 'sha1-e384daf6167a7a7567642d6a62060106244d2413' owner_id: 6759885 repo_id: 1352485172 + 'metadatastician/standards@75bd5994470661a099df562d6d5ad2fe744dbd66': + ref: '75bd5994470661a099df562d6d5ad2fe744dbd66' + commit: 'sha1-75bd5994470661a099df562d6d5ad2fe744dbd66' + owner_id: 297579217 + repo_id: 1116521501 + uses: + - 'actions/cache@55cc8345863c7cc4c66a329aec7e433d2d1c52a9' + - 'actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1' + - 'actions/upload-artifact@cf430e030ddbb5b0abf93d22962f4752f3646cd9' + - 'dtolnay/rust-toolchain@e2a55d2ffb04f378e9626c28d38b36d230d1e12f' + - 'erlef/setup-beam@54075bcc5e249e4758d363f27d099f55d843f124' + - 'github/codeql-action@b96794f015dfd88f77b49b1c93e0fa7110f94c63' + - 'ossf/scorecard-action@2d1146689b8cda280b9bc96326124645441f03bc' + - 'webfactory/ssh-agent@e83874834305fe9a4a2997156cb26c5de65a8555' + 'metadatastician/standards@ea2f4d8a886585ed442687ae63d4ad7493379ba4': + ref: 'ea2f4d8a886585ed442687ae63d4ad7493379ba4' + commit: 'sha1-ea2f4d8a886585ed442687ae63d4ad7493379ba4' + owner_id: 297579217 + repo_id: 1116521501 + uses: + - 'actions/cache@55cc8345863c7cc4c66a329aec7e433d2d1c52a9' + - 'actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1' + - 'denoland/setup-deno@22d081ff2d3a40755e97629de92e3bcbfa7cf2ed' + - 'editorconfig-checker/action-editorconfig-checker@51f63319f592f97930c73d9c46184d20bd206393' + - 'erlef/setup-beam@54075bcc5e249e4758d363f27d099f55d843f124' + - 'oven-sh/setup-bun@0c5077e51419868618aeaa5fe8019c62421857d6' + 'ossf/scorecard-action@2d1146689b8cda280b9bc96326124645441f03bc': + ref: 'v2.4.4' + commit: 'sha1-2d1146689b8cda280b9bc96326124645441f03bc' + owner_id: 67707773 + repo_id: 421101922 + 'oven-sh/setup-bun@0c5077e51419868618aeaa5fe8019c62421857d6': + ref: 'v2.2.0' + commit: 'sha1-0c5077e51419868618aeaa5fe8019c62421857d6' + owner_id: 108928776 + repo_id: 512644635 'peter-evans/repository-dispatch@v4.0.1': ref: 'v4.0.1' commit: 'sha1-28959ce8df70de7be546dd1250a005dd32156697' owner_id: 18365890 repo_id: 220359305 + 'step-security/harden-runner@1d88384fd173af6ecb012dfd0264a306b711241a': + ref: 'v2.22.4' + commit: 'sha1-1d88384fd173af6ecb012dfd0264a306b711241a' + owner_id: 88700172 + repo_id: 422287306 'step-security/harden-runner@46b06cea07f9e64621fdf066ba77ac6915163d43': ref: 'v2.22.3' commit: 'sha1-46b06cea07f9e64621fdf066ba77ac6915163d43' @@ -177,3 +263,8 @@ dependencies: commit: 'sha1-d1527c8f67ef9af357290475d4af4b0fab8f12e0' owner_id: 580492 repo_id: 298565987 + 'webfactory/ssh-agent@e83874834305fe9a4a2997156cb26c5de65a8555': + ref: 'v0.10.0' + commit: 'sha1-e83874834305fe9a4a2997156cb26c5de65a8555' + owner_id: 135788 + repo_id: 208510314 diff --git a/.github/workflows/hypatia-scan.yml b/.github/workflows/hypatia-scan.yml index 09592ae8..d959b2e3 100644 --- a/.github/workflows/hypatia-scan.yml +++ b/.github/workflows/hypatia-scan.yml @@ -17,10 +17,16 @@ on: schedule: - cron: '0 0 * * 0' workflow_dispatch: + inputs: + credential_read_check: + description: Only validate this repository's saved scanner credential + type: boolean + required: false + default: false # Estate guardrail: cancel superseded runs so re-pushes don't pile up. concurrency: - group: ${{ github.workflow }}-${{ github.ref }} + group: ${{ github.workflow }}-${{ github.ref }}-${{ inputs.credential_read_check && 'credential-check' || 'scan' }} cancel-in-progress: true permissions: @@ -30,7 +36,17 @@ permissions: pull-requests: write jobs: + scanner-credential: + if: ${{ github.event_name == 'workflow_dispatch' && inputs.credential_read_check }} + permissions: + contents: read + uses: hyperpolymath/hypatia/.github/workflows/credential-read-check.yml@b93f0615a61ee4c05af66eb526538eab47120aaa + with: + scanner_only: true + secrets: + HYPATIA_SCAN_PAT: ${{ secrets.HYPATIA_SCAN_PAT }} hypatia: + if: ${{ !(github.event_name == 'workflow_dispatch' && inputs.credential_read_check) }} uses: metadatastician/standards/.github/workflows/hypatia-scan-reusable.yml@75bd5994470661a099df562d6d5ad2fe744dbd66 # hypatia-scan-reusable declares one secret; pass that one, not everything. secrets: diff --git a/docs/SCANNER-CREDENTIAL-CHECK.adoc b/docs/SCANNER-CREDENTIAL-CHECK.adoc new file mode 100644 index 00000000..36957a69 --- /dev/null +++ b/docs/SCANNER-CREDENTIAL-CHECK.adoc @@ -0,0 +1,30 @@ +// SPDX-License-Identifier: CC-BY-SA-4.0 += Check the saved scanner credential +:revdate: 2026-11-16 + +Run the manual `Hypatia Security Scan` workflow with +`credential_read_check` selected to validate this repository's +`HYPATIA_SCAN_PAT` secret. This mode skips the normal scanner and calls +Hypatia's pinned credential checker with only that secret. It has a separate +concurrency group, so a check does not cancel an ordinary scan of the same ref. +Push, pull-request, scheduled and default manual runs retain the normal scan. + +The checker authenticates, then reads at most one alert from each of +`hyperpolymath/hypatia`'s Dependabot, code-scanning and secret-scanning +endpoints. Hypatia is a fixed probe target with all three endpoints enabled. +The value comes from this caller's secret store. Passing proves this saved +value can authenticate and read those three endpoints; it does not prove +fleet's own endpoint availability, estate-wide coverage, absence of alerts +or write access. A failed or unavailable endpoint fails the check. + +The check does not check out source, execute scanners, publish findings or +send dispatches. API response bodies are suppressed; secret scanning also +requests `hide_secret=true`. The callee's dispatch job is skipped, and no +dispatch secret is passed. Never use `secrets: inherit` for this check. + +For the estate scanner, the intended fine-grained token grants Contents, +Dependabot alerts, Code scanning alerts and Secret scanning alerts read-only +under resource owner `hyperpolymath`; Metadata read is automatic. Selecting +all repositories covers that owner's repositories, not another owner's +security data. A token's display name does not update an Actions secret: +replacement values must be installed in each intended secret store. From eb8ef98d971007a095fa1a2d1f2c63f7f32d18fc Mon Sep 17 00:00:00 2001 From: "Jonathan D.A. Jewell" <6759885+hyperpolymath@users.noreply.github.com> Date: Mon, 16 Nov 2026 09:23:46 +0000 Subject: [PATCH 2/2] fix(ci): attest the scanner reusable through fleet source closure --- .github/workflows/actions.lock | 101 ++--------------------- docs/SCANNER-CREDENTIAL-CHECK.adoc | 12 +++ scripts/lib/lock-closure-receipts.tsv | 3 + scripts/lib/pinned-reusable-sources.json | 32 ++++++- 4 files changed, 51 insertions(+), 97 deletions(-) diff --git a/.github/workflows/actions.lock b/.github/workflows/actions.lock index acf55b0b..e2e9df3b 100644 --- a/.github/workflows/actions.lock +++ b/.github/workflows/actions.lock @@ -29,13 +29,10 @@ workflows: '.github/workflows/fleet-report-back.yml': - 'actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1' - 'actions/download-artifact@9000827ccba6bdab643e8b6fd33ac0654aef8333' - '.github/workflows/governance.yml': - - 'metadatastician/standards@ea2f4d8a886585ed442687ae63d4ad7493379ba4' + '.github/workflows/governance.yml': [] '.github/workflows/hypatia-dispatch-intake.yml': - 'actions/checkout@v7.0.1' - '.github/workflows/hypatia-scan.yml': - - 'hyperpolymath/hypatia@b93f0615a61ee4c05af66eb526538eab47120aaa' - - 'metadatastician/standards@75bd5994470661a099df562d6d5ad2fe744dbd66' + '.github/workflows/hypatia-scan.yml': [] '.github/workflows/inbox-steward.yml': - 'actions/checkout@v7.0.1' - 'step-security/harden-runner@46b06cea07f9e64621fdf066ba77ac6915163d43' @@ -48,8 +45,7 @@ workflows: - 'actions/checkout@v7.0.1' - 'actions/upload-artifact@v7.0.2' '.github/workflows/lock-sync-gate.yml': [] - '.github/workflows/mirror.yml': - - 'metadatastician/standards@75bd5994470661a099df562d6d5ad2fe744dbd66' + '.github/workflows/mirror.yml': [] '.github/workflows/pages.yml': - 'actions/checkout@v7.0.1' - 'actions/deploy-pages@v5.0.1' @@ -66,10 +62,8 @@ workflows: - 'actions/checkout@v7.0.1' '.github/workflows/rust.yml': - 'actions/checkout@v7.0.1' - '.github/workflows/scorecard.yml': - - 'metadatastician/standards@75bd5994470661a099df562d6d5ad2fe744dbd66' - '.github/workflows/secret-scanner.yml': - - 'hyperpolymath/proven-cicd-and-workflows@1fd5e6371a50f0fc3687206a5adca0cdf7b39aa6' + '.github/workflows/scorecard.yml': [] + '.github/workflows/secret-scanner.yml': [] '.github/workflows/supervised-fleet-scan.yml': - 'actions/checkout@v7.0.1' - 'step-security/harden-runner@46b06cea07f9e64621fdf066ba77ac6915163d43' @@ -138,36 +132,11 @@ dependencies: repo_id: 496012378 uses: - 'actions/upload-artifact@bbbca2ddaa5d8feaa63e36b76fdaad77386f024f' - 'denoland/setup-deno@22d081ff2d3a40755e97629de92e3bcbfa7cf2ed': - ref: 'v2.0.5' - commit: 'sha1-22d081ff2d3a40755e97629de92e3bcbfa7cf2ed' - owner_id: 42048915 - repo_id: 356423100 - 'dtolnay/rust-toolchain@e2a55d2ffb04f378e9626c28d38b36d230d1e12f': - ref: 'v1' - commit: 'sha1-e2a55d2ffb04f378e9626c28d38b36d230d1e12f' - owner_id: 1940490 - repo_id: 260749683 'dtolnay/rust-toolchain@v1': ref: 'v1' commit: 'sha1-02cb101ec7c40f2c49e1d9714d64511d8e1b74de' owner_id: 1940490 repo_id: 260749683 - 'editorconfig-checker/action-editorconfig-checker@51f63319f592f97930c73d9c46184d20bd206393': - ref: 'v3.0.0' - commit: 'sha1-51f63319f592f97930c73d9c46184d20bd206393' - owner_id: 26415196 - repo_id: 297874902 - 'erlef/setup-beam@54075bcc5e249e4758d363f27d099f55d843f124': - ref: 'v1.24.1' - commit: 'sha1-54075bcc5e249e4758d363f27d099f55d843f124' - owner_id: 47606891 - repo_id: 331103973 - 'github/codeql-action@b96794f015dfd88f77b49b1c93e0fa7110f94c63': - ref: 'v4.38.0' - commit: 'sha1-b96794f015dfd88f77b49b1c93e0fa7110f94c63' - owner_id: 9919 - repo_id: 259445878 'github/codeql-action@v4.38.2': ref: 'v4.38.2' commit: 'sha1-2892aa5e19bbd11bc0cff5427e3b750a04d9e3c2' @@ -183,76 +152,21 @@ dependencies: commit: 'sha1-ed83d6927e8fb21431e403dbf6d7a4af96772746' owner_id: 6759885 repo_id: 1275649586 - 'hyperpolymath/hypatia@b93f0615a61ee4c05af66eb526538eab47120aaa': - ref: 'b93f0615a61ee4c05af66eb526538eab47120aaa' - commit: 'sha1-b93f0615a61ee4c05af66eb526538eab47120aaa' - owner_id: 6759885 - repo_id: 1118370967 - uses: - - 'step-security/harden-runner@1d88384fd173af6ecb012dfd0264a306b711241a' 'hyperpolymath/k9-ecosystem@main': ref: 'main' commit: 'sha1-c1a34884054fabf0e9de81dbf68f4ba7874e85f1' owner_id: 6759885 repo_id: 1275650185 - 'hyperpolymath/proven-cicd-and-workflows@1fd5e6371a50f0fc3687206a5adca0cdf7b39aa6': - ref: '1fd5e6371a50f0fc3687206a5adca0cdf7b39aa6' - commit: 'sha1-1fd5e6371a50f0fc3687206a5adca0cdf7b39aa6' - owner_id: 6759885 - repo_id: 1326697643 - uses: - - 'actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1' 'hyperpolymath/smtp-notify-action@v0.5.1': ref: 'v0.5.1' commit: 'sha1-e384daf6167a7a7567642d6a62060106244d2413' owner_id: 6759885 repo_id: 1352485172 - 'metadatastician/standards@75bd5994470661a099df562d6d5ad2fe744dbd66': - ref: '75bd5994470661a099df562d6d5ad2fe744dbd66' - commit: 'sha1-75bd5994470661a099df562d6d5ad2fe744dbd66' - owner_id: 297579217 - repo_id: 1116521501 - uses: - - 'actions/cache@55cc8345863c7cc4c66a329aec7e433d2d1c52a9' - - 'actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1' - - 'actions/upload-artifact@cf430e030ddbb5b0abf93d22962f4752f3646cd9' - - 'dtolnay/rust-toolchain@e2a55d2ffb04f378e9626c28d38b36d230d1e12f' - - 'erlef/setup-beam@54075bcc5e249e4758d363f27d099f55d843f124' - - 'github/codeql-action@b96794f015dfd88f77b49b1c93e0fa7110f94c63' - - 'ossf/scorecard-action@2d1146689b8cda280b9bc96326124645441f03bc' - - 'webfactory/ssh-agent@e83874834305fe9a4a2997156cb26c5de65a8555' - 'metadatastician/standards@ea2f4d8a886585ed442687ae63d4ad7493379ba4': - ref: 'ea2f4d8a886585ed442687ae63d4ad7493379ba4' - commit: 'sha1-ea2f4d8a886585ed442687ae63d4ad7493379ba4' - owner_id: 297579217 - repo_id: 1116521501 - uses: - - 'actions/cache@55cc8345863c7cc4c66a329aec7e433d2d1c52a9' - - 'actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1' - - 'denoland/setup-deno@22d081ff2d3a40755e97629de92e3bcbfa7cf2ed' - - 'editorconfig-checker/action-editorconfig-checker@51f63319f592f97930c73d9c46184d20bd206393' - - 'erlef/setup-beam@54075bcc5e249e4758d363f27d099f55d843f124' - - 'oven-sh/setup-bun@0c5077e51419868618aeaa5fe8019c62421857d6' - 'ossf/scorecard-action@2d1146689b8cda280b9bc96326124645441f03bc': - ref: 'v2.4.4' - commit: 'sha1-2d1146689b8cda280b9bc96326124645441f03bc' - owner_id: 67707773 - repo_id: 421101922 - 'oven-sh/setup-bun@0c5077e51419868618aeaa5fe8019c62421857d6': - ref: 'v2.2.0' - commit: 'sha1-0c5077e51419868618aeaa5fe8019c62421857d6' - owner_id: 108928776 - repo_id: 512644635 'peter-evans/repository-dispatch@v4.0.1': ref: 'v4.0.1' commit: 'sha1-28959ce8df70de7be546dd1250a005dd32156697' owner_id: 18365890 repo_id: 220359305 - 'step-security/harden-runner@1d88384fd173af6ecb012dfd0264a306b711241a': - ref: 'v2.22.4' - commit: 'sha1-1d88384fd173af6ecb012dfd0264a306b711241a' - owner_id: 88700172 - repo_id: 422287306 'step-security/harden-runner@46b06cea07f9e64621fdf066ba77ac6915163d43': ref: 'v2.22.3' commit: 'sha1-46b06cea07f9e64621fdf066ba77ac6915163d43' @@ -263,8 +177,3 @@ dependencies: commit: 'sha1-d1527c8f67ef9af357290475d4af4b0fab8f12e0' owner_id: 580492 repo_id: 298565987 - 'webfactory/ssh-agent@e83874834305fe9a4a2997156cb26c5de65a8555': - ref: 'v0.10.0' - commit: 'sha1-e83874834305fe9a4a2997156cb26c5de65a8555' - owner_id: 135788 - repo_id: 208510314 diff --git a/docs/SCANNER-CREDENTIAL-CHECK.adoc b/docs/SCANNER-CREDENTIAL-CHECK.adoc index 36957a69..025b1fac 100644 --- a/docs/SCANNER-CREDENTIAL-CHECK.adoc +++ b/docs/SCANNER-CREDENTIAL-CHECK.adoc @@ -28,3 +28,15 @@ under resource owner `hyperpolymath`; Metadata read is automatic. Selecting all repositories covers that owner's repositories, not another owner's security data. A token's display name does not update an Actions secret: replacement values must be installed in each intended secret store. + +The caller is also recorded in `scripts/lib/pinned-reusable-sources.json`, +with Git blob `15c597ea720a5affb861dab058084f7245ee4cbd` and content SHA-256 +`645e8ac8ff118c33f2dc941ec46f1abac895f7836339736841c269e4b9dc084d` for the +pinned checker. Its direct dependency receipt is emitted from those source +bytes using `audit-lock-closure.sh --emit-receipt`. Fleet's source verifier +authenticates that source and its edge to harden-runner; the ordinary vendor +lock remains unchanged because this adds a remote job-level reusable call. + +Live validation on 16 November: run `43836851465` passed the scanner job +using fleet's saved credential. The normal scan and dispatch jobs were +skipped. This is the bounded credential-read receipt described above. diff --git a/scripts/lib/lock-closure-receipts.tsv b/scripts/lib/lock-closure-receipts.tsv index 61299ce2..5fad31ee 100644 --- a/scripts/lib/lock-closure-receipts.tsv +++ b/scripts/lib/lock-closure-receipts.tsv @@ -63,3 +63,6 @@ metadatastician/standards ea2f4d8a886585ed442687ae63d4ad7493379ba4 oven-sh/setup # Reviewed source: hyperpolymath/proven-cicd-and-workflows/.github/workflows/secret-scanner-reusable.yml@1fd5e6371a50f0fc3687206a5adca0cdf7b39aa6 hyperpolymath/proven-cicd-and-workflows 1fd5e6371a50f0fc3687206a5adca0cdf7b39aa6 actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 + +# Reviewed source: hyperpolymath/hypatia/.github/workflows/credential-read-check.yml@b93f0615a61ee4c05af66eb526538eab47120aaa +hyperpolymath/hypatia b93f0615a61ee4c05af66eb526538eab47120aaa step-security/harden-runner@1d88384fd173af6ecb012dfd0264a306b711241a diff --git a/scripts/lib/pinned-reusable-sources.json b/scripts/lib/pinned-reusable-sources.json index 88a592a2..f42996c1 100644 --- a/scripts/lib/pinned-reusable-sources.json +++ b/scripts/lib/pinned-reusable-sources.json @@ -241,7 +241,7 @@ { "workflow": ".github/workflows/hypatia-scan.yml", "job": "hypatia", - "line": 34 + "line": 50 } ], "uses": [ @@ -725,6 +725,30 @@ } ], "source_url": "https://github.com/hyperpolymath/proven-cicd-and-workflows/blob/1fd5e6371a50f0fc3687206a5adca0cdf7b39aa6/.github/workflows/secret-scanner-reusable.yml" + }, + { + "repository": "hyperpolymath/hypatia", + "commit": "b93f0615a61ee4c05af66eb526538eab47120aaa", + "path": ".github/workflows/credential-read-check.yml", + "blob": "15c597ea720a5affb861dab058084f7245ee4cbd", + "content_sha256": "645e8ac8ff118c33f2dc941ec46f1abac895f7836339736841c269e4b9dc084d", + "role": "active", + "callers": [ + { + "workflow": ".github/workflows/hypatia-scan.yml", + "job": "scanner-credential" + } + ], + "uses": [ + { + "kind": "step", + "ref": "step-security/harden-runner@1d88384fd173af6ecb012dfd0264a306b711241a" + }, + { + "kind": "step", + "ref": "step-security/harden-runner@1d88384fd173af6ecb012dfd0264a306b711241a" + } + ] } ], "dependencies": { @@ -841,6 +865,12 @@ "uses": [ "actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1" ] + }, + "step-security/harden-runner@1d88384fd173af6ecb012dfd0264a306b711241a": { + "ref": "v2.22.4", + "commit": "sha1-1d88384fd173af6ecb012dfd0264a306b711241a", + "owner_id": 88700172, + "repo_id": 422287306 } } }