AI codebase review
fix: sanitise snapshot follow mode; least-privilege CI token The scan-info view printed the snapshot's "follow" metadata string unsanitised (the canvas filter was the only defence). The CI workflow ran with the repository's default GITHUB_TOKEN permissions; it only needs to read the code. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Opus 5.5
parent
5966fdd91e
commit
3264def658
@@ -2,6 +2,8 @@ name: ci
|
||||
on:
|
||||
push:
|
||||
pull_request:
|
||||
permissions:
|
||||
contents: read
|
||||
jobs:
|
||||
test:
|
||||
strategy:
|
||||
|
||||
Reference in New Issue
Block a user