ci: add security-scan + semgrep + dependabot#4
Merged
Conversation
Wires this repo to the org-wide reusable workflows in simple-container-com/actions: - security-scan: TruffleHog (secrets) + Syft/CycloneDX SBOM + Trivy + Grype, sticky PR comment, status gate - semgrep: SC custom ruleset + optional consumer rules / registry packs, sticky PR comment, status gate Both follow the GitHub Security Lab 'preventing pwn requests' split: scan jobs run in pull_request context (read-only token, no secrets, fork-PR safe); comment posting lives in a workflow_run-triggered job that never reads PR code. Adds .github/dependabot.yml with weekly bumps for both github-actions and gomod ecosystems, with minor+patch grouped to reduce PR noise.
Signed-off-by: Dmitrii Creed <creeed22@gmail.com>
…otstrap Six findings from the first Semgrep scan on this repo: ERROR (gating, fixed by suppression with justification): - .github/workflows/push.yaml:48,49 — bash <(curl ...) bootstrap of welder.simple-container.com/welder.sh. This is the org's own service, not third-party. Added 'nosemgrep: shell-curl-pipe-to-shell' inline with a justification comment that the long-term fix is a checksum-pinned welder release (tracked as a follow-up). WARNING (best-practice, fixed by pinning): - push.yaml:25 reecetech/version-increment@2023.10.2 -> @a29aa752dc3b8118a2dc2ed93faf0e95a73a9c7e (2024.10.1) - push.yaml:41 fregante/setup-git-user@v2 -> @024bc0b8e177d7e77203b48dab6fb45666854b35 (v2.0.2) INFO (defence-in-depth, fixed by pinning): - push.yaml:23,40 actions/checkout@v4 -> @de0fac2e4500dabe0009e67214ff5f5447ce83dd (v6.0.2) Signed-off-by: Dmitrii Creed <creeed22@gmail.com>
smecsia
approved these changes
May 7, 2026
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
simple-container-com/actions:security-scan— TruffleHog + Syft + Trivy + Grype, sticky PR comment, status gatesemgrep— SC custom ruleset + optional consumer rules / registry packs, sticky PR comment, status gate.github/dependabot.ymlfor weekly bumps (github-actions + gomod where applicable, minor+patch grouped)Trust posture
Scan jobs run on
pull_request(not_target), read-only token, no secrets — safe for fork PRs. Comment posting lives in a separateworkflow_run-triggered workflow that never reads PR code.Test plan