Skip to content

Use zizmor to harden GitHub Actions #3537

Closed
Closed

Description

@javahippie

What needs to be done?

I would like to incorporate zizmor as a GitHub action. This does static analysis for our pipelines and catches things like unpinned actions, template expansion, too broad credential lifecycle.

This would protect us from supply chain attacks or some targeted attacks (e.g. a pull request with malicious changes to our GH actions)

Additional context

I would like to add it as a step to our pipelines. The first changes would be as a PoC, so we can check how much time this adds to the pipeline runs and if it's better suited for nightlies, or can be added at the beginning of all pipelines in Pull Requests, too

Activity

  1. added
    build
    on Aug 22, 2026
  2. added theissue type on Aug 22, 2026
  3. kthoms commented on Aug 22, 2026

    @kthoms
    Contributor

    This is helpful and I am willing to work on these issues. Not sure if we need nightly reports. I think a weekly schedule and on demand manual dispatch is enough. This keeps the workflow simple.

    Once we have hunted the findings down we can make this a PR check maybe.

  4. javahippie commented on Aug 22, 2026

    @javahippie
    ContributorAuthor

    @kthoms would be fine for me!

    If we enable this for PRs, I would integrate it into the PR build directly. If a contributor creates a PR, I would prefer the pipeline to be stopped by zizmore before anything else runs and can cause harm

  5. added this to the 2.2.0 milestone on Aug 25, 2026
  6. kthoms commented on Aug 25, 2026

    @kthoms
    Contributor

    I have resolved all issues and configured the workflow to execute only on changes to analyzed resources. Then it is fine to run on PRs.

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

    build

    Type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions