Skip to content

🔒 Add CodeQL and cargo-audit security scanning#125

Merged
renardeinside merged 3 commits intomainfrom
feat/codeql-security-scanning
Feb 24, 2026
Merged

🔒 Add CodeQL and cargo-audit security scanning#125
renardeinside merged 3 commits intomainfrom
feat/codeql-security-scanning

Conversation

@renardeinside
Copy link
Copy Markdown
Collaborator

Summary

  • Add CodeQL security scanning with security-extended query suite (Rust GA, build-mode: none)
  • Add cargo-audit dependency audit job against RustSec advisory DB
  • Triggers: push to main, PRs to main, weekly schedule (Monday 5 AM UTC)

Closes #123

Details

Two parallel jobs with least-privilege permissions:

Job Purpose Runner
CodeQL Analysis Source-code SAST — 21 queries across 16 CWEs, models 37 crates ubuntu-latest
Dependency Audit Supply-chain audit via rustsec/audit-check@v2.0.0 ubuntu-latest
  • Pins Rust toolchain to 1.92.0 (matches rust-toolchain.toml)
  • paths-ignore skips doc-only changes on push/PR (schedule always runs full)
  • Concurrency group cancels superseded PR runs

Test plan

  • Both jobs trigger on this PR
  • CodeQL results appear in GitHub Security tab under "Code scanning"
  • cargo-audit reports advisory status for all transitive dependencies
  • Scheduled scan fires on Monday 5 AM UTC

🤖 Generated with Claude Code

@renardeinside renardeinside merged commit 55ef30d into main Feb 24, 2026
3 checks passed
@renardeinside renardeinside deleted the feat/codeql-security-scanning branch February 24, 2026 22:23
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.

🛡️ [FEAT] introduce codeql sec scan

1 participant