Skip to content

chore(security): SHA-pin erlef/setup-beam + actions/download-artifact + add top-level workflow permissions#30

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

chore(security): SHA-pin erlef/setup-beam + actions/download-artifact + add top-level workflow permissions#30
hyperpolymath merged 1 commit into
mainfrom
chore/workflow-hardening-sha-pin

Conversation

@hyperpolymath

Copy link
Copy Markdown
Owner

Summary

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

  • SHA-pins `erlef/setup-beam@v1` → `@ee09b1e59bb240681c382eb1f0abc6a04af72764 # v1` (3 occurrences across `.github/workflows/ci.yml`).
  • SHA-pins `actions/download-artifact@v8` → `@3e5f45b2cfb9172054b4087a40e8e0b5a5461e7c # v8` (2 occurrences).
  • Adds top-level `permissions: read-all` to `ci.yml` and `codeql.yml` (was missing; baseline-deny pattern from the fleet-wide hardening pass).
  • Net diff: 2 files, +16/-12.

Verification

  • Both SHAs (`ee09b1e5...` + `3e5f45b2...`) confirmed real via GitHub API → HTTP 200.
  • Original commit GPG-signed.

Test plan

  • SHAs verified live
  • CI passes (running)

@hyperpolymath
hyperpolymath merged commit 43669f1 into main May 31, 2026
10 of 21 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: 56 issues detected

Severity Count
🔴 Critical 3
🟠 High 11
🟡 Medium 42

⚠️ Action Required: Critical security issues found!

View findings
[
  {
    "reason": "Required file missing",
    "type": "missing",
    "file": "0-AI-MANIFEST.a2ml",
    "action": "create",
    "rule_module": "root_hygiene",
    "severity": "high"
  },
  {
    "reason": "Action etup Erlang/OTP\n        uses: erlef/setup-beam@ee09b1e59b needs attention",
    "type": "unpinned_action",
    "file": "ci.yml",
    "action": "pin_sha",
    "rule_module": "workflow_audit",
    "severity": "medium"
  },
  {
    "reason": "Action etup Erlang/OTP\n        uses: erlef/setup-beam@ee09b1e59b needs attention",
    "type": "unpinned_action",
    "file": "ci.yml",
    "action": "pin_sha",
    "rule_module": "workflow_audit",
    "severity": "medium"
  },
  {
    "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 ci.yml",
    "type": "missing_timeout_minutes",
    "file": "ci.yml",
    "action": "flag",
    "rule_module": "workflow_audit",
    "severity": "medium"
  },
  {
    "reason": "Issue in ci.yml",
    "type": "missing_timeout_minutes",
    "file": "ci.yml",
    "action": "flag",
    "rule_module": "workflow_audit",
    "severity": "medium"
  },
  {
    "reason": "Issue in ci.yml",
    "type": "missing_timeout_minutes",
    "file": "ci.yml",
    "action": "flag",
    "rule_module": "workflow_audit",
    "severity": "medium"
  },
  {
    "reason": "Issue in ci.yml",
    "type": "missing_timeout_minutes",
    "file": "ci.yml",
    "action": "flag",
    "rule_module": "workflow_audit",
    "severity": "medium"
  },
  {
    "reason": "Issue in ci.yml",
    "type": "missing_timeout_minutes",
    "file": "ci.yml",
    "action": "flag",
    "rule_module": "workflow_audit",
    "severity": "medium"
  },
  {
    "reason": "Issue in ci.yml",
    "type": "missing_timeout_minutes",
    "file": "ci.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