Skip to content

ci: add security scanning workflow#6

Merged
jmlweb merged 1 commit intomainfrom
hal/add-security-workflow
Jan 27, 2026
Merged

ci: add security scanning workflow#6
jmlweb merged 1 commit intomainfrom
hal/add-security-workflow

Conversation

@jmlweb
Copy link
Owner

@jmlweb jmlweb commented Jan 27, 2026

Summary

Adds automated security scanning to the CI pipeline.

What is included

Dependency Audit (pip-audit)

  • Scans installed packages for known vulnerabilities
  • Uses the PyPI Advisory Database
  • Fails on any known vulnerability (--strict mode)

CodeQL Analysis

  • Static analysis for Python code
  • Detects security vulnerabilities, bugs, and code quality issues
  • Results appear in the Security tab on GitHub

When it runs

  • ✅ On every push to main
  • ✅ On every PR targeting main
  • ✅ Weekly (Monday 9:00 UTC) to catch newly disclosed CVEs

Why?

Automated security scanning helps:

  • Catch vulnerabilities before they reach production
  • Stay informed about new CVEs in dependencies
  • Maintain a secure codebase with minimal manual effort

@github-advanced-security
Copy link

This pull request sets up GitHub code scanning for this repository. Once the scans have completed and the checks have passed, the analysis results for this pull request branch will appear on this overview. Once you merge this pull request, the 'Security' tab will show more code scanning analysis results (for example, for the default branch). Depending on your configuration and choice of analysis tool, future pull requests will be annotated with code scanning analysis results. For more information about GitHub code scanning, check out the documentation.

Add automated security checks:
- pip-audit for known vulnerabilities in dependencies
- CodeQL static analysis for Python code

Runs on:
- Every push and PR to main
- Weekly schedule (Monday 9:00 UTC) for catching new CVEs
@jmlweb jmlweb force-pushed the hal/add-security-workflow branch from ebca121 to 32b3dfb Compare January 27, 2026 13:12
@jmlweb jmlweb merged commit dd5c930 into main Jan 27, 2026
8 checks 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.

1 participant