Files
alirezarezvani--claude-skills/.claude/commands/security-scan.md
T
wehub-resource-sync a1fa97429b
Release / Tag + GitHub Release (push) Waiting to run
Deploy Documentation to Pages / build (push) Waiting to run
Deploy Documentation to Pages / deploy (push) Blocked by required conditions
Sync Codex Skills Symlinks / sync (push) Waiting to run
chore: import upstream snapshot with attribution
2026-07-13 12:41:47 +08:00

659 B

description
description
Run the security scan gate before pushing.
  1. Ensure dependencies are installed:
    pip install safety==3.2.4
    brew install gitleaks  # or appropriate package manager
    
  2. Scan for committed secrets:
    gitleaks detect --verbose --redact
    
    • Resolve any findings before continuing.
  3. Audit Python dependencies (if requirements files exist):
    for f in $(find . -name "requirements*.txt" 2>/dev/null); do
        safety check --full-report --file "$f"
    done
    
  4. Record results in the commit template's Testing section.
  5. After a clean pass, proceed with commit and push workflow.