-
Notifications
You must be signed in to change notification settings - Fork 6
Open
Description
Hekkos found 1 Workflow Permissions configuration issue in this repository.
This is part of the main security audit.
Issue details
- Issue 1: 3 workflow file(s) missing top-level 'permissions' block (follows principle of least privilege): branch.yml, cd.yml, tag.yml
Why this matters
Restrictive workflow permissions limit what automated workflows can do. This reduces:
- The potential impact if a workflow is compromised or has a bug
- The ability for workflows to make unintended repository changes
- The risk of credential exposure through overly permissive tokens
- The attack surface available to malicious pull requests
How to fix
- Navigate to Settings > Actions > General
- Under Workflow permissions, select Read repository contents permission
- Uncheck Allow GitHub Actions to create and approve pull requests unless required
- Grant write permissions only to specific workflows using
permissions:in workflow files
Documentation:
Reactions are currently unavailable