chore: add security scanning workflows for PRs (#93)

* chore: add security scanning workflows for PRs

- ShellCheck on bash scripts
- CodeQL SAST for Python
- pip-audit for requirements.txt CVEs
- Docker Scout for Dockerfile vulnerabilities
- Secret scanning config with path exclusions
- SECURITY_SCANS.md documentation

* fix: correct ShellCheck and Docker Scout action references in CI

- Replace nonexistent ludeeus/shellicopter with direct shellcheck install+run
- Update docker/scout-action@v0 to @v0.2.0
- Use select:critical instead of hardcoded alpine:latest image for repo Dockerfiles

---------

Co-authored-by: Wicked Yoda <noreply@users.noreply.github.com>
This commit is contained in:
WickedYodaandWicked Yoda authored and GitHub committed 2026-08-14 12:55:19 -05:00
1 parent 39c943f945
commit 8328eb1bae
4 files changed
+156

No files matched your search

+37
View File
@@ -0,0 +1,37 @@
name: CodeQL
on:
pull_request:
branches: [main]
push:
branches: [main]
permissions:
actions: read
contents: read
security-events: write
strategy:
matrix:
language: ['python']
jobs:
analyze:
name: CodeQL Analysis
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Initialize CodeQL
uses: github/codeql-action/init@v3
with:
languages: ${{ matrix.language }}
upload: true
- name: Autobuild
uses: github/codeql-action/autobuild@v3
- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v3