Skip to content

ci(security): add blocking gitleaks secret scan - #15

Merged
stylianosrigas merged 1 commit into
mainfrom
ci/secret-scan-gitleaks
Sep 14, 2026
Merged

stylianosrigas merged 1 commit into
mainfrom
ci/secret-scan-gitleaks

Conversation

@stylianosrigas

Copy link
Copy Markdown
Contributor

Summary

Adds a blocking secret scan. No workflow in this repository scans for secrets.

Same approach as NOFireAI/brain-go#3014 and NOFireAI/brain#1277. This PR starts
with the scan alone; the first run shows what it finds, and each finding is then
reviewed and either removed or allowlisted with a reason.

Notes

  • gitleaks v8.30.1, binary verified against the release checksums, installed
    without sudo. gitleaks-action is avoided because it needs a licence key
    for organisations.
  • Scans the working tree, not git history.
  • Compliance context: DCF-707 (credentials not hard-coded).

Refs: NOFireAI/engineering#910

🤖 Generated with Claude Code

No workflow in this repository scans for secrets.

Adds a job running gitleaks v8.30.1 over the working tree, with the
binary verified against the release checksums, that fails the check on
any finding. History is deliberately not scanned: a secret already
committed needs rotating, not a permanently red pipeline.

The first run shows what it finds; findings are reviewed and either
removed or allowlisted with a reason in a follow-up commit.

Refs: NOFireAI/engineering#910

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Signed-off-by: Stylianos Rigas <stylianosrigas@gmail.com>
@stylianosrigas
stylianosrigas marked this pull request as ready for review September 14, 2026 12:15
@stylianosrigas
stylianosrigas merged commit c4dc398 into main Sep 14, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants