You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Siblings of #4944: unpinned dependency installs in pipelines (image digests, yum/dnf) #4998
Sibling gaps found while fixing #4944 (PR #4997), class unpinned dependency installs in pipelines (rule unpinned_install, GG-SAST-UNPINNED_INSTALL). #4918/#4942 cover pip/npm/gem/go/cargo, curl | sh and uses: in YAML; #4944 adds Dockerfile RUN, *.sh, apt/apk/brew, GitLab image: / include: project|component. Still uncovered:
Dockerfile FROM without an @sha256 digest (different mechanism; would flag nearly every Dockerfile, so it needs a severity/opt-in choice)
GitLab services: images without a digest
GitLab include: remote: (URL include, no integrity pin)
GitHub Actions container: / services: images without a digest
docker-compose image: without a digest
Kubernetes manifest image: without a digest
yum / dnf install without a version (pin syntax pkg-1.2.3 is ambiguous with names containing dashes)
Duplicate search: no open issue for any member (searched "Siblings of" unpinned, "digest", yum/dnf/docker-compose titles).
Acceptance: each box gets a flagged + pinned test form in tests/core_engine/test_pipeline_pins.py, or is declined here with a reason.
yum / dnf install without a version: flagged when unversioned (yum install curl); clean when pinned (curl-7.88.1, nginx-1:1.24.0, =), local .rpm path, or $VAR.
GitLab services: images without a digest: flagged when missing @sha256:; clean with digest or $VAR.
GitLab include: remote: without an integrity pin: flagged as gitlab-include.
GitHub Actions container: / services: images without a digest: flagged when missing @sha256: digest; clean with digest or expression.
Declined with rationale (per acceptance criteria):
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 (DL3006). Verified clean in test_declined_sibling_forms_remain_unflagged.
docker-composeimage: without a digest: Declined. docker-compose is local developer orchestration, not a CI pipeline execution environment.
Kubernetes manifest image: without a digest: Declined. Kubernetes manifests are production deployment specs governed by cluster admission control (Kyverno/Gatekeeper), not CI pipeline sensors.
Activity
squid-protocol commentedon Oct 12, 2026
Implemented and tested in PR #5007:
yum/dnf installwithout a version: flagged when unversioned (yum install curl); clean when pinned (curl-7.88.1,nginx-1:1.24.0,=), local.rpmpath, or$VAR.services:images without a digest: flagged when missing@sha256:; clean with digest or$VAR.include: remote:without an integrity pin: flagged asgitlab-include.container:/services:images without a digest: flagged when missing@sha256:digest; clean with digest or expression.Declined with rationale (per acceptance criteria):
FROMwithout@sha256digest: Declined. Tag-basedFROMis standard container practice; flagging all non-digestFROMlines underunpinned_installcreates excessive false-positive fatigue across common Dockerfiles. Base image digest pinning belongs in an opt-in Dockerfile lint rule (DL3006). Verified clean intest_declined_sibling_forms_remain_unflagged.docker-composeimage:without a digest: Declined.docker-composeis local developer orchestration, not a CI pipeline execution environment.image:without a digest: Declined. Kubernetes manifests are production deployment specs governed by cluster admission control (Kyverno/Gatekeeper), not CI pipeline sensors.test(golden): bless golden SARIF snapshots for sibling unpinned insta…
feat(security): unpinned yum/dnf, GitLab services/remote, GitHub cont…