Skip to content

Support integrity of SHA-pinned clients #107

Description

@akhouderchah

GitHub recommends actions to be pinned to their commit's SHA. For example, the recent TeamPCP compromises of the trivy & kics actions didn't impact clients who had pinned SHAs.

IIUC, SHA-pinning doesn't guarantee integrity here, because the Dockerfile pulls artifacts from a mutable cargo-deny release. A couple options come to mind:

  • Making cargo-deny releases immutable, so we can trust that the artifacts of a particular release won't change under our feet
  • Storing and checking artifact SHAs in the Dockerfile

WDYT?

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions