Skip to content

feat(security): unpinned yum/dnf, GitLab services/remote, GitHub container/services (Closes #4998) - #5007

Merged
squid-protocol merged 2 commits into
mainfrom
churn/4998-unpinned-siblings
Oct 12, 2026
Merged

squid-protocol merged 2 commits into
mainfrom
churn/4998-unpinned-siblings

Conversation

@squid-protocol

Copy link
Copy Markdown
Owner

Closes #4998

Acceptance Criteria Fulfillment

Implemented & Covered:

  1. yum / dnf install without a version:
    • Flagged when unversioned: yum install curl, dnf install -y nginx
    • Clean when pinned with RPM version (e.g. curl-7.88.1, nginx-1:1.24.0, pkg=1.0), local .rpm path, or variable $VAR.
  2. GitLab services: images without a digest:
    • Flagged under services: blocks when image lacks @sha256: digest (both inline and block name:).
    • Clean with digest or $VAR.
  3. GitLab include: remote: without an integrity pin:
    • Flagged as gitlab-include for remote includes without SRI/pin.
  4. GitHub Actions container: / services: images without a digest:
    • Flagged under workflow-level or job-level container: and services: when missing @sha256: digest.
    • Clean with digest or matrix expressions.

Declined with Rationale:

  1. Dockerfile FROM without @sha256 digest:
    • Declined. Tag-based FROM is standard container practice; flagging all non-digest FROM lines under unpinned_install creates excessive false-positive fatigue across common Dockerfiles. Base image digest pinning belongs in an opt-in Dockerfile lint rule.
  2. docker-compose image: without a digest:
    • Declined. docker-compose is local developer orchestration, not a CI pipeline execution environment.
  3. Kubernetes manifest image: without a digest:
    • Declined. Kubernetes manifests are production deployment specs governed by cluster admission control, not CI pipeline sensors.

All 5 fast PR gates pass cleanly.

@github-actions

Copy link
Copy Markdown
Contributor

🐦‍⬛ Muninn Security Scan

✅ No security issues found.

🐦‍⬛ Powered by Muninn · Skald Lab

@squid-protocol
squid-protocol marked this pull request as ready for review October 12, 2026 22:06
@squid-protocol
squid-protocol merged commit e0eb0aa into main Oct 12, 2026
39 checks passed
@squid-protocol
squid-protocol deleted the churn/4998-unpinned-siblings branch October 12, 2026 22:06
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.

Siblings of #4944: unpinned dependency installs in pipelines (image digests, yum/dnf)

1 participant