Skip to content

chore(security): SHA-pin dtolnay/rust-toolchain + add top-level workflow permissions#74

Merged
hyperpolymath merged 1 commit into
mainfrom
chore/workflow-hardening-sha-pin
May 31, 2026
Merged

chore(security): SHA-pin dtolnay/rust-toolchain + add top-level workflow permissions#74
hyperpolymath merged 1 commit into
mainfrom
chore/workflow-hardening-sha-pin

Conversation

@hyperpolymath

Copy link
Copy Markdown
Owner

Summary

Salvages an unpushed orphan commit (`bbce567` from 2026-05-23) from local main during a 2026-05-31 closeout sweep:

  • SHA-pins `dtolnay/rust-toolchain@stable` → `@4be9e76fd7c4901c61fb841f559994984270fce7 # stable` in `.github/workflows/security.yml`.
  • Adds top-level `permissions: read-all` to `.github/workflows/ocaml-core.yml` (was missing; baseline-deny pattern from the fleet-wide hardening pass).
  • Net diff: 2 files, +4/-2.

Verification

  • SHA `4be9e76f...` confirmed real via `gh api repos/dtolnay/rust-toolchain/commits/4be9e76fd7c4901c61fb841f559994984270fce7` → HTTP 200.
  • Original commit GPG-signed.

Test plan

  • SHA verified live
  • CI passes (running)

@hyperpolymath
hyperpolymath merged commit 8ec2a1c into main May 31, 2026
11 of 23 checks passed
@hyperpolymath
hyperpolymath deleted the chore/workflow-hardening-sha-pin branch May 31, 2026 06:21
@github-actions

Copy link
Copy Markdown

🔍 Hypatia Security Scan

Findings: 144 issues detected

Severity Count
🔴 Critical 7
🟠 High 79
🟡 Medium 58

⚠️ Action Required: Critical security issues found!

View findings
[
  {
    "reason": "Action perpolymath/standards/.github/workflows/governance-reusable.yml@main\n needs attention",
    "type": "unpinned_action",
    "file": "governance.yml",
    "action": "pin_sha",
    "rule_module": "workflow_audit",
    "severity": "medium"
  },
  {
    "reason": "Issue in boj-build.yml",
    "type": "missing_timeout_minutes",
    "file": "boj-build.yml",
    "action": "flag",
    "rule_module": "workflow_audit",
    "severity": "medium"
  },
  {
    "reason": "Issue in cargo-audit.yml",
    "type": "missing_timeout_minutes",
    "file": "cargo-audit.yml",
    "action": "flag",
    "rule_module": "workflow_audit",
    "severity": "medium"
  },
  {
    "reason": "Issue in cargo-audit.yml",
    "type": "missing_timeout_minutes",
    "file": "cargo-audit.yml",
    "action": "flag",
    "rule_module": "workflow_audit",
    "severity": "medium"
  },
  {
    "reason": "Issue in cflite_batch.yml",
    "type": "missing_timeout_minutes",
    "file": "cflite_batch.yml",
    "action": "flag",
    "rule_module": "workflow_audit",
    "severity": "medium"
  },
  {
    "reason": "Issue in cflite_pr.yml",
    "type": "missing_timeout_minutes",
    "file": "cflite_pr.yml",
    "action": "flag",
    "rule_module": "workflow_audit",
    "severity": "medium"
  },
  {
    "reason": "Issue in codeql.yml",
    "type": "missing_timeout_minutes",
    "file": "codeql.yml",
    "action": "flag",
    "rule_module": "workflow_audit",
    "severity": "medium"
  },
  {
    "reason": "Issue in dogfood-gate.yml",
    "type": "missing_timeout_minutes",
    "file": "dogfood-gate.yml",
    "action": "flag",
    "rule_module": "workflow_audit",
    "severity": "medium"
  },
  {
    "reason": "Issue in dogfood-gate.yml",
    "type": "missing_timeout_minutes",
    "file": "dogfood-gate.yml",
    "action": "flag",
    "rule_module": "workflow_audit",
    "severity": "medium"
  },
  {
    "reason": "Issue in dogfood-gate.yml",
    "type": "missing_timeout_minutes",
    "file": "dogfood-gate.yml",
    "action": "flag",
    "rule_module": "workflow_audit",
    "severity": "medium"
  }
]

Powered by Hypatia Neurosymbolic CI/CD Intelligence

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant