feat(security): add reusable fail-closed scans and mitigations #7

Merged
gitchegumi merged 1 commit from feat/security-pipelines into main 2026-09-04 12:55:13 -05:00
Member

Add a reusable security gate for personal and organization repositories: Gitleaks history/tree scanning, Trivy dependency/IaC/image scans and SBOMs, Semgrep SAST, and ClamAV malware scanning with current official signatures. Tools and Python dependencies are checksum/hash pinned; uploaded reports omit secret values and raw snippets.

Exact expiring mitigations allow reviewed CVE/IaC/SAST findings, including UNKNOWN severity, while secrets, malware and scanner errors remain blocking. Documents cover reuse, runner requirements and policy updates. This is the foundation for the separate delivery PR.

Validation: real clean-source gate passed; a removed synthetic secret was detected in Git history and redacted from the decision; a downloaded image archive completed Trivy/ClamAV/SBOM checks and correctly failed its blocking findings. Policy/malware unit checks and YAML/Bash/exit-code checks passed. No app image or UDS bundle was built, and nothing was deployed.

Refs #1, #3, #4. Configure SCAN_RUNNER and run the included acceptance workflow on Forgejo after review; live cross-repo activation remains to be confirmed. Runner migration #2 stays deferred.

Add a reusable security gate for personal and organization repositories: Gitleaks history/tree scanning, Trivy dependency/IaC/image scans and SBOMs, Semgrep SAST, and ClamAV malware scanning with current official signatures. Tools and Python dependencies are checksum/hash pinned; uploaded reports omit secret values and raw snippets. Exact expiring mitigations allow reviewed CVE/IaC/SAST findings, including UNKNOWN severity, while secrets, malware and scanner errors remain blocking. Documents cover reuse, runner requirements and policy updates. This is the foundation for the separate delivery PR. Validation: real clean-source gate passed; a removed synthetic secret was detected in Git history and redacted from the decision; a downloaded image archive completed Trivy/ClamAV/SBOM checks and correctly failed its blocking findings. Policy/malware unit checks and YAML/Bash/exit-code checks passed. No app image or UDS bundle was built, and nothing was deployed. Refs #1, #3, #4. Configure SCAN_RUNNER and run the included acceptance workflow on Forgejo after review; live cross-repo activation remains to be confirmed. Runner migration #2 stays deferred.
feat(security): add reusable fail-closed scans and mitigations
Some checks failed
Library checks / tests (pull_request) Has been cancelled
cd42a854e9
Run verified Gitleaks, Trivy, Semgrep and ClamAV with sanitized artifacts and exact expiring mitigations. Add source and image checks, hashed tool installation, and real scanner acceptance fixtures.
gitchegumi approved these changes 2026-09-04 12:55:08 -05:00
gitchegumi deleted branch feat/security-pipelines 2026-09-04 12:55:14 -05:00
Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
2 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
Homelab/workflows!7
No description provided.