Add daily security builds workflow for dependency auditing#9
Merged
MeridianAlgo-Developer merged 1 commit intomainfrom Mar 21, 2026
Merged
Conversation
- Runs every day at 04:00 UTC (plus manual trigger) - cargo-audit: checks Cargo.lock against RustSec advisory DB - cargo-deny: enforces license, ban, and advisory policies - cargo-outdated: reports stale direct dependencies - patch-update: runs cargo update, verifies audit still clean, builds workspace, then commits and pushes updated Cargo.lock - SARIF upload: surfaces CVE findings in GitHub Security tab
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
This PR introduces a comprehensive daily security builds workflow that automatically audits dependencies, enforces security policies, detects outdated packages, and updates lockfiles on a scheduled basis.
Key Changes
cargo-auditdaily to detect known CVEs from the RustSec advisory database, with JSON report artifacts and GitHub step summary outputcargo-denychecks for advisories, licenses, and banned dependencies with sensible defaults when nodeny.tomlexistscargo-outdatedto identify stale dependencies and generates reports for reviewcargo update, validates with audit and build checks, and commits changes to main branchcargo-auditJSON output to SARIF format and uploads to GitHub Security tab for integrated vulnerability trackingImplementation Details
workflow_dispatch|| truein audit steps to allow workflow continuation while still failing the final validation step if vulnerabilities existhttps://claude.ai/code/session_019JtRFKMry6YusXKfHAuv3R