Add CodeQL and secret scanning CI gates#56
Conversation
Wire gitleaks, allowlist expiry checks, and CodeQL analysis. Signed-off-by: Nathan Gillett <nathangillett@Nathans-MacBook-Pro.local>
PR SummaryLow Risk Overview Adds a CodeQL finding allowlist file ( Adds gitleaks secret scanning in CI and a matching local pre-commit hook, with repository-specific allowlists in Reviewed by Cursor Bugbot for commit f4b2fbe. Bugbot is set up for automated code reviews on this repo. Configure here. |
|
You are seeing this message because GitHub Code Scanning has recently been set up for this repository, or this pull request contains the workflow file for the Code Scanning tool. What Enabling Code Scanning Means:
For more information about GitHub Code Scanning, check out the documentation. |
Replace gitleaks-action (org license required) with pinned v8.24.2 CLI matching pre-commit. Fix allowlist.regexTarget TOML and allowlist Ed25519 type-name false positives. Signed-off-by: Nathan Gillett <nathan@intentproof.io>
There was a problem hiding this comment.
Cursor Bugbot has reviewed your changes and found 1 potential issue.
❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, enable autofix in the Cursor dashboard.
Reviewed by Cursor Bugbot for commit f82149b. Configure here.
Use gitleaks-action, local allowlist script, and tools ref 552da9d for javascript custom queries where applicable. Signed-off-by: Nathan Gillett <nathan@intentproof.io>
Use pinned gitleaks CLI, flatten allowlist TOML, and harden the allowlist expiry parser. Point JS CodeQL at the split pack. Signed-off-by: Nathan Gillett <nathan@intentproof.io>
Skip the _instance_private_key type annotation pattern that triggers generic-api-key on client.py. Signed-off-by: Nathan Gillett <nathan@intentproof.io>

Summary
Test plan
Review
No blocking internal review findings.
Manual steps (org settings)
Enable GitHub Advanced Security and secret-scanning push protection for this
repository in IntentProof organization settings. These cannot be set via code.