Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/governance.yml
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,7 @@

- name: Report unavailable live policy credential
env:
GH_TOKEN: ${{ secrets.HYPATIA_SCAN_PAT }}

Check warning on line 159 in .github/workflows/governance.yml

View workflow job for this annotation

GitHub Actions / Hypatia neurosymbolic scan

[hypatia] job `actions-policy-live` in .github/workflows/governance.yml references `secrets.*` but does not install `step-security/harden-runner` or declare its egress — review outbound-egress monitoring
if: ${{ env.GH_TOKEN == '' }}
run: |
echo "::warning::Live Actions policy was not evaluated: HYPATIA_SCAN_PAT was not supplied by the caller. The separate tree allowlist gate still ran."
Expand Down Expand Up @@ -1005,7 +1005,7 @@
continue-on-error: true
# advisory: informational only; repos can opt into blocking locally
- name: EditorConfig check
uses: editorconfig-checker/action-editorconfig-checker@840e866d93b8e032123c23bac69dece044d4d84c # v2.2.0
uses: editorconfig-checker/action-editorconfig-checker@51f63319f592f97930c73d9c46184d20bd206393 # v3.0.0
# advisory: formatting hygiene is reported from the reusable estate
# bundle; repos opt into blocking formatter checks locally when ready.
continue-on-error: true
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/hypatia-scan.yml
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@
# Actions token CANNOT read Dependabot alerts (no `dependabot`
# permission exists for it). Fall back to the built-in token so
# code-scanning still works in repos where the PAT isn't present yet.
GITHUB_TOKEN: ${{ secrets.HYPATIA_SCAN_PAT || secrets.GITHUB_TOKEN }}

Check warning on line 111 in .github/workflows/hypatia-scan.yml

View workflow job for this annotation

GitHub Actions / Hypatia neurosymbolic scan

[hypatia] job `scan` in .github/workflows/hypatia-scan.yml references `secrets.*` but does not install `step-security/harden-runner` or declare its egress — review outbound-egress monitoring; it holds the credential next to fetched code (a piped installer or a dependency install/build)
run: |
echo "Scanning repository: ${{ github.repository }}"
# --exit-zero: hypatia-cli exits 1 when findings exist; under the default
Expand Down Expand Up @@ -217,7 +217,7 @@
# This flag only tolerates a genuine upload failure (e.g. Advanced
# Security disabled on a private repo) once the job is actually running.
continue-on-error: true
uses: github/codeql-action/upload-sarif@cdf488f595d80d6e07e03d4674febd5ab45fa938 # v3
uses: github/codeql-action/upload-sarif@33d7b85da1a04171e211befe2c739303b9a4c066 # v3
with:
sarif_file: hypatia.sarif
category: hypatia
Expand All @@ -234,7 +234,7 @@

- name: Upload findings artifacts
if: always()
uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1
uses: actions/upload-artifact@cf430e030ddbb5b0abf93d22962f4752f3646cd9 # v7.0.2
with:
name: hypatia-scan-findings
path: |
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/mirror.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@


jobs:
mirror-gitlab:

Check failure on line 27 in .github/workflows/mirror.yml

View workflow job for this annotation

GitHub Actions / Hypatia neurosymbolic scan

[hypatia] mirror.yml job `mirror-gitlab` force-pushes to a forge gated on *_MIRROR_ENABLED but nothing blocks a private source, so a private repo can be mirrored to a public forge copy. Add a guard that refuses (or skips with an error) when the source is private and the forge copy is not confirmed private; escalate when the forge's visibility cannot be read.
permissions:
actions: read
contents: read
Expand All @@ -37,7 +37,7 @@
# "Unrecognized named-value: 'secrets'" startup failure). `env` IS
# available in step `if:`, and secrets are valid in job-level `env`.
env:
GITLAB_KEY: ${{ secrets.GITLAB_SSH_KEY }}

Check warning on line 40 in .github/workflows/mirror.yml

View workflow job for this annotation

GitHub Actions / Hypatia neurosymbolic scan

[hypatia] job `mirror-gitlab` in .github/workflows/mirror.yml references `secrets.*` but does not install `step-security/harden-runner` or declare its egress — review outbound-egress monitoring
steps:
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
with:
Expand All @@ -63,7 +63,7 @@
run: |
echo "::notice::GITLAB_MIRROR_ENABLED=true but secrets.GITLAB_SSH_KEY is empty. Skipping GitLab mirror. Configure the GITLAB_SSH_KEY org/repo secret to enable."

mirror-bitbucket:

Check failure on line 66 in .github/workflows/mirror.yml

View workflow job for this annotation

GitHub Actions / Hypatia neurosymbolic scan

[hypatia] mirror.yml job `mirror-bitbucket` force-pushes to a forge gated on *_MIRROR_ENABLED but nothing blocks a private source, so a private repo can be mirrored to a public forge copy. Add a guard that refuses (or skips with an error) when the source is private and the forge copy is not confirmed private; escalate when the forge's visibility cannot be read.
permissions:
actions: read
contents: read
Expand Down Expand Up @@ -94,7 +94,7 @@
run: |
echo "::notice::BITBUCKET_MIRROR_ENABLED=true but secrets.BITBUCKET_SSH_KEY is empty. Skipping Bitbucket mirror. Configure the BITBUCKET_SSH_KEY org/repo secret to enable."

mirror-codeberg:

Check failure on line 97 in .github/workflows/mirror.yml

View workflow job for this annotation

GitHub Actions / Hypatia neurosymbolic scan

[hypatia] mirror.yml job `mirror-codeberg` force-pushes to a forge gated on *_MIRROR_ENABLED but nothing blocks a private source, so a private repo can be mirrored to a public forge copy. Add a guard that refuses (or skips with an error) when the source is private and the forge copy is not confirmed private; escalate when the forge's visibility cannot be read.
permissions:
actions: read
contents: read
Expand Down Expand Up @@ -125,7 +125,7 @@
run: |
echo "::notice::CODEBERG_MIRROR_ENABLED=true but secrets.CODEBERG_SSH_KEY is empty. Skipping Codeberg mirror. Configure the CODEBERG_SSH_KEY org/repo secret to enable."

mirror-sourcehut:

Check failure on line 128 in .github/workflows/mirror.yml

View workflow job for this annotation

GitHub Actions / Hypatia neurosymbolic scan

[hypatia] mirror.yml job `mirror-sourcehut` force-pushes to a forge gated on *_MIRROR_ENABLED but nothing blocks a private source, so a private repo can be mirrored to a public forge copy. Add a guard that refuses (or skips with an error) when the source is private and the forge copy is not confirmed private; escalate when the forge's visibility cannot be read.
permissions:
actions: read
contents: read
Expand Down Expand Up @@ -156,7 +156,7 @@
run: |
echo "::notice::SOURCEHUT_MIRROR_ENABLED=true but secrets.SOURCEHUT_SSH_KEY is empty. Skipping SourceHut mirror. Configure the SOURCEHUT_SSH_KEY org/repo secret to enable."

mirror-disroot:

Check failure on line 159 in .github/workflows/mirror.yml

View workflow job for this annotation

GitHub Actions / Hypatia neurosymbolic scan

[hypatia] mirror.yml job `mirror-disroot` force-pushes to a forge gated on *_MIRROR_ENABLED but nothing blocks a private source, so a private repo can be mirrored to a public forge copy. Add a guard that refuses (or skips with an error) when the source is private and the forge copy is not confirmed private; escalate when the forge's visibility cannot be read.
permissions:
actions: read
contents: read
Expand Down Expand Up @@ -187,7 +187,7 @@
run: |
echo "::notice::DISROOT_MIRROR_ENABLED=true but secrets.DISROOT_SSH_KEY is empty. Skipping Disroot mirror. Configure the DISROOT_SSH_KEY org/repo secret to enable."

mirror-gitea:

Check failure on line 190 in .github/workflows/mirror.yml

View workflow job for this annotation

GitHub Actions / Hypatia neurosymbolic scan

[hypatia] mirror.yml job `mirror-gitea` force-pushes to a forge gated on *_MIRROR_ENABLED but nothing blocks a private source, so a private repo can be mirrored to a public forge copy. Add a guard that refuses (or skips with an error) when the source is private and the forge copy is not confirmed private; escalate when the forge's visibility cannot be read.
permissions:
actions: read
contents: read
Expand Down Expand Up @@ -231,7 +231,7 @@
# "Unrecognized named-value: 'secrets'" startup failure). `env` IS
# available in step `if:`, and secrets are valid in job-level `env`.
env:
RADICLE_KEY: ${{ secrets.RADICLE_KEY }}

Check failure on line 234 in .github/workflows/mirror.yml

View workflow job for this annotation

GitHub Actions / Hypatia neurosymbolic scan

[hypatia] job `mirror-radicle` in .github/workflows/mirror.yml references `secrets.*` but does not install `step-security/harden-runner` or declare its egress — review outbound-egress monitoring; it holds the credential next to fetched code (a piped installer or a dependency install/build) in the same step
steps:
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
with:
Expand All @@ -248,7 +248,7 @@
# answers "are we configured to actually do it?".
- name: Setup Rust
if: ${{ env.RADICLE_KEY != '' }}
uses: dtolnay/rust-toolchain@6c977a6ca4077a0ceb28ffbe03f59d46e9ac8772 # stable
uses: dtolnay/rust-toolchain@df2a88e9fe4098bad09cb42c3dec7187f15861fc # stable
with:
toolchain: stable
- name: Install Radicle
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/scorecard.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ jobs:
persist-credentials: false

- name: Run Scorecard Analysis
uses: ossf/scorecard-action@2d1146689b8cda280b9bc96326124645441f03bc # v2.4.4
uses: ossf/scorecard-action@fa7117db83c52d787ae5a89f350999701505d78e # v2.5.0
with:
results_file: results.sarif
results_format: sarif
Expand All @@ -51,12 +51,12 @@ jobs:
# alerts were stuck at 2026-06-03 while Hypatia's updated 2026-08-24.
# The badge kept working, which is why it went unnoticed.
- name: Upload SARIF to code scanning
uses: github/codeql-action/upload-sarif@cdf488f595d80d6e07e03d4674febd5ab45fa938 # v3
uses: github/codeql-action/upload-sarif@33d7b85da1a04171e211befe2c739303b9a4c066 # v3
with:
sarif_file: results.sarif

- name: Upload results artifact
uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1
uses: actions/upload-artifact@cf430e030ddbb5b0abf93d22962f4752f3646cd9 # v7.0.2
with:
name: scorecard-results
path: results.sarif
Expand Down
Loading