Skip to content

Scorecard: Pinned-Dependencies (5/10) #395

Open

Description

@don-petry

OpenSSF Scorecard Finding

Check: Pinned-Dependencies
Score: 5 / 10
Finding: dependency not pinned by hash detected -- score normalized to 5

Remediation

https://github.com/ossf/scorecard/blob/c395761df6afe1a69e476bc60a013a94bcbc153f/docs/checks.md#pinned-dependencies

Context

This issue was automatically created from an OpenSSF Scorecard scan on 2026-07-14.

Activity

  1. don-petry commented on Jul 20, 2026

    @don-petry
    ContributorAuthor

    Weekly update: Score is now 5/10. Finding: dependency not pinned by hash detected -- score normalized to 5

  2. don-petry commented on Jul 27, 2026

    @don-petry
    ContributorAuthor

    Weekly update: Score is now 5/10. Finding: dependency not pinned by hash detected -- score normalized to 5

  3. don-petry commented on Aug 3, 2026

    @don-petry
    ContributorAuthor

    Weekly update: Score is now 5/10. Finding: dependency not pinned by hash detected -- score normalized to 5

  4. don-petry commented on Aug 10, 2026

    @don-petry
    ContributorAuthor

    Weekly update: Score is now 5/10. Finding: dependency not pinned by hash detected -- score normalized to 5

  5. don-petry commented on Aug 17, 2026

    @don-petry
    ContributorAuthor

    Weekly update: Score is now 5/10. Finding: dependency not pinned by hash detected -- score normalized to 5

  6. don-petry commented on Aug 24, 2026

    @don-petry
    ContributorAuthor

    Weekly update: Score is now 5/10. Finding: dependency not pinned by hash detected -- score normalized to 5

  7. don-petry commented on Aug 31, 2026

    @don-petry
    ContributorAuthor

    Weekly update: Score is now 5/10. Finding: dependency not pinned by hash detected -- score normalized to 5

  8. don-petry commented on Sep 7, 2026

    @don-petry
    ContributorAuthor

    Weekly update: Score is now 5/10. Finding: dependency not pinned by hash detected -- score normalized to 5

  9. don-petry commented on Sep 14, 2026

    @don-petry
    ContributorAuthor

    Weekly update: Score is now 5/10. Finding: dependency not pinned by hash detected -- score normalized to 5

  10. don-petry commented on Sep 21, 2026

    @don-petry
    ContributorAuthor

    Weekly update: Score is now 5/10. Finding: dependency not pinned by hash detected -- score normalized to 5

  11. don-petry commented on Sep 28, 2026

    @don-petry
    ContributorAuthor

    Weekly update: Score is now 5/10. Finding: dependency not pinned by hash detected -- score normalized to 5

  12. don-petry commented on Oct 5, 2026

    @don-petry
    ContributorAuthor

    Weekly update: Score is now 5/10. Finding: dependency not pinned by hash detected -- score normalized to 5

  13. don-petry commented on Oct 12, 2026

    @don-petry
    ContributorAuthor

    Weekly update: Score is now 5/10. Finding: dependency not pinned by hash detected -- score normalized to 5

  14. don-petry commented on Oct 19, 2026

    @don-petry
    ContributorAuthor

    Weekly update: Score is now 5/10. Finding: dependency not pinned by hash detected -- score normalized to 5

  15. don-petry commented on Oct 20, 2026

    @don-petry
    ContributorAuthor

    Weekly update: Score is now 5/10. Finding: dependency not pinned by hash detected -- score normalized to 5

  16. don-petry commented on Oct 26, 2026

    @don-petry
    ContributorAuthor

    Weekly update: Score is now 5/10. Finding: dependency not pinned by hash detected -- score normalized to 5

  17. don-petry commented on Nov 2, 2026

    @don-petry
    ContributorAuthor

    Weekly update: Score is now 5/10. Finding: dependency not pinned by hash detected -- score normalized to 5

  18. don-petry commented on Nov 9, 2026

    @don-petry
    ContributorAuthor

    Weekly update: Score is now 5/10. Finding: dependency not pinned by hash detected -- score normalized to 5

  19. don-petry commented on Nov 10, 2026

    @don-petry
    ContributorAuthor

    Dev-Lead Implementation Plan

    Issue: #395 — Scorecard: Pinned-Dependencies (5/10)

    Scope

    Pin the remaining unpinned third-party dependencies that Scorecard flags: the golang:1.24-alpine builder image in both API Dockerfiles, and the unhashed pip install PyYAML==6.0.2 in ci.yml. Also add a CI test so new unpinned dependencies can't creep back in.

    First-party combsmith/.github* reusable-workflow channel refs (@<agent>/vN-stable) are intentionally left as they are. They fall under the org "Release channel tags & the mutable-ref exception" and the stub headers say they must not change. Scorecard will keep counting them, so this change may not reach 10/10 alone.

    Implementation Checklist

    • apps/api/Dockerfile, apps/api/Dockerfile.worker: FROM golang:1.24-alpine@sha256:<digest>
    • tests/scripts/requirements.txt (new): PyYAML==6.0.2 with --hash=sha256: entries
    • .github/workflows/ci.yml: install PyYAML with pip install --require-hashes -r tests/scripts/requirements.txt, and run the new guard test
    • .github/dependabot.yml: add docker (/apps/api) and pip (/tests/scripts) ecosystems so digests and hashes keep getting refreshed

    Tests to Write

    • tests/scripts/pinned-dependencies.test.sh: every Dockerfile FROM is digest-pinned, every workflow pip install uses --require-hashes, and every requirements entry has a --hash

    Test Command

    bash tests/scripts/pinned-dependencies.test.sh (plus the existing shell tests and bash .dev-lead/scripts/dev-lead-lint.sh)

  20. don-petry commented on Nov 10, 2026

    @don-petry
    ContributorAuthor

    Dev-Lead: Implementation Complete — PR #646

    The implementation for issue #395 is durable: commits are pushed and a pull request is open. This record is backed by verifiable artifacts you can confirm in one click.

    Review happens on the PR. Acceptance criteria and test results are evidenced by the PR's diff and CI checks — not asserted here. If a later stage fails, this claim is retracted in place.

  21. don-petry commented on Nov 16, 2026

    @don-petry
    ContributorAuthor

    Weekly update: Score is now 5/10. Finding: dependency not pinned by hash detected -- score normalized to 5

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    dev-leadFor dev-lead agent pickupscorecardOpenSSF Scorecard finding

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions