chore: update fullsend per-repo installation - #53
Conversation
PR Summary by QodoPoint Fullsend installation workflow to main
AI Description
High-Level Assessment
Files changed (1)
|
Code Review by Qodo
1. Mutable privileged workflow reference
|
| packages: read | ||
| pull-requests: write | ||
| uses: fullsend-ai/fullsend/.github/workflows/reusable-dispatch.yml@v0 | ||
| uses: fullsend-ai/fullsend/.github/workflows/reusable-dispatch.yml@main |
There was a problem hiding this comment.
1. Mutable privileged workflow reference 🐞 Bug ⛨ Security
Referencing @main allows every upstream branch update to execute here without repository review under contents: write, actions: write, and id-token: write permissions. The invoked workflow also receives cloud and telemetry secrets, so an accidental or malicious upstream change could modify this repository or exfiltrate credentials.
Agent Prompt
## Issue description
The reusable workflow is referenced through the mutable upstream `main` branch despite receiving privileged permissions and secrets. Pin it to the exact audited commit containing the required per-repository installation support.
## Issue Context
GitHub resolves `@main` whenever the workflow runs, allowing upstream changes to alter executed code without a reviewed update in this repository. The called workflow has write access, OIDC token issuance, and explicitly passed secrets.
## Fix Focus Areas
- .github/workflows/fullsend.yaml[41-59]
ⓘ Copy this prompt and use it to remediate the issue with your preferred AI generation tools
The default branch (main) has branch protection rules that prevent direct pushes.
Merge this PR to deliver the scaffold files.