Skip to content

New check: uses frozen pre-commit hooks in pre-commit configuration file #776

Description

@agriyakhetarpal

It would be great to have a check for hooks that are not pinned to their SHAs, as that is a potential attack vector, just like GitHub Actions.

I would be willing to contribute such a hook (though, unsure how soon).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions