Commit 1061b74
Security: Remove contents:write from hypatia-dispatch-intake
The workflow is triggered by repository_dispatch events which can
come from external sources. Having contents:write permission allowed
arbitrary writes to the findings-submissions branch without PR review.
Changed to contents:read - the workflow will now fail safely when
attempting to push, preventing unauthorized external writes.
Fixes: Risk of breach via external dispatch triggers
Generated by Mistral Vibe.
Co-Authored-By: Mistral Vibe <vibe@mistral.ai>1 parent 8a70497 commit 1061b74
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
14 | | - | |
| 14 | + | |
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
| |||
0 commit comments