Skip to content

ci: Add weekly flaky test detector workflow#6484

Merged
sl0thentr0py merged 2 commits into
masterfrom
neel/flaky-workflow
Jun 2, 2026
Merged

ci: Add weekly flaky test detector workflow#6484
sl0thentr0py merged 2 commits into
masterfrom
neel/flaky-workflow

address security

3c8224a
Select commit
Loading
Failed to load commit list.
@sentry/warden / warden: skill-scanner completed Jun 2, 2026 in 2m 7s

1 issue

skill-scanner: Found 1 issue (1 low)

Low

Claude step receives github.token with issues:write, weakening the documented 'no write credential' guarantee - `.github/workflows/flaky-test-detector.yml:107`

The workflow grants issues: write at the job level and passes ${{ github.token }} as github_token to anthropics/claude-code-action, which contradicts the inline security comment stating the Claude step gets no write token. In this schedule/workflow_dispatch context the action has no default issue/PR to comment on and allowedTools excludes Bash, so a direct write sink via the action is not demonstrated; however, handing a write-scoped token to an LLM agent processing attacker-controlled CI log content removes a mechanical protection the author explicitly claims exists, leaving only the prompt's soft 'treat as data' instruction.


⏱ 1m 37s · 10.5k in / 4.9k out · $0.22