[claude] Security Hardening & Quality Gates — Pre-Merge Guards (#149) #156
Reference in New Issue
Block a user
Delete Branch "claude/issue-149"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Fixes #149
What this does
Implements all 5 security hardening items from the Bezalel Epic-005:
1. Secret-Leak Detection (
.github/workflows/secret-scan.yml)AKIA...), private key headers, OpenAI/GitHub/Slack tokens, and credential assignmentsmain2. Dependency Vulnerability Scanning (
.github/workflows/dependency-audit.yml)pip-auditto scan Python dependencies for known CVEsrequirements.txt,pyproject.toml, oruv.lock3. CODEOWNERS (
.github/CODEOWNERS)@Timmyfor all critical paths:gateway/,tools/,agent/,config/,scripts/,.github/workflows/,pyproject.toml,requirements.txt,Dockerfilemainwithout explicit approval on these paths4. Security PR Checklist Template (
.github/ISSUE_TEMPLATE/security_pr_checklist.yml)5. Quarterly Security Audit Workflow (
.github/workflows/quarterly-security-audit.yml)0 8 1 1,4,7,10 *) auto-creates a quarterly audit issue on Jan 1, Apr 1, Jul 1, Oct 1workflow_dispatch6. Pre-Commit Config (
.pre-commit-config.yaml)gitleaksv8.21.2 for local secret detection before commitdetect-private-keyhook frompre-commit-hooksno-commit-to-branchprotection formainSuccess Criteria Met
mainafter implementation ✅ (secret-scan.yml blocks them)