Skip to content

Improve workflow security#1590

Open
deckstose wants to merge 7 commits intoaristocratos:mainfrom
deckstose:push-rsnqxxoypyxq
Open

Improve workflow security#1590
deckstose wants to merge 7 commits intoaristocratos:mainfrom
deckstose:push-rsnqxxoypyxq

Conversation

@deckstose
Copy link
Copy Markdown
Collaborator

The recent supply chain attack on LiteLLM has shown that github workflows are very much able to be exploited. This PR tries to improve the situation by using a tool called zizmor to lint workflow files.

  • Pin CI actions to hashes
    This directly tries to mitigate what happened in the recent attack where a uploaded release
    was replaced by deleting and recreating it. A pinned commit, which changed through the
    deletion, would have helped.
  • Reduce permission scope

@github-advanced-security
Copy link
Copy Markdown

You are seeing this message because GitHub Code Scanning has recently been set up for this repository, or this pull request contains the workflow file for the Code Scanning tool.

What Enabling Code Scanning Means:

  • The 'Security' tab will display more code scanning analysis results (e.g., for the default branch).
  • Depending on your configuration and choice of analysis tool, future pull requests will be annotated with code scanning analysis results.
  • You will be able to see the analysis results for the pull request's branch on this overview once the scans have completed and the checks have passed.

For more information about GitHub Code Scanning, check out the documentation.

@deckstose deckstose requested a review from aristocratos March 27, 2026 00:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants