From 860e4ac553eeb4851809431be244105b9e5b14b4 Mon Sep 17 00:00:00 2001 From: navigator Date: Wed, 7 Oct 2026 17:57:11 +0000 Subject: [PATCH] ci: security scanning, with the findings read and justified Calls security-scan.yml of keel-linux/.github (gitleaks, bandit, semgrep, shellcheck on hosted runners, no secrets) on pull requests, pushes to master and by hand. Not a required check. A scan of master finds no secret in the history, no Python, nothing for semgrep, and two shellcheck warnings in tkldev-squid-refresh (unquoted pid and find pattern, over root-owned squid files), justified in .github/security-baseline. --- .github/security-baseline | 4 ++++ .github/workflows/security.yml | 19 +++++++++++++++++++ 2 files changed, 23 insertions(+) create mode 100644 .github/security-baseline create mode 100644 .github/workflows/security.yml diff --git a/.github/security-baseline b/.github/security-baseline new file mode 100644 index 0000000..4993e46 --- /dev/null +++ b/.github/security-baseline @@ -0,0 +1,4 @@ +# Security scan baseline (keel-linux/.github, security-scan.yml): findings +# that were read and are not a risk, one per line, the fingerprint and why. +shellcheck:SC2046:overlay/usr/local/sbin/tkldev-squid-refresh:75b6d212d184 shell lint, not a security risk: unquoted command substitution over values the script itself produces +shellcheck:SC2061:overlay/usr/local/sbin/tkldev-squid-refresh:acf806da4ae7 shell lint, not a security risk: unquoted -name pattern to find, a correctness defect diff --git a/.github/workflows/security.yml b/.github/workflows/security.yml new file mode 100644 index 0000000..7545dff --- /dev/null +++ b/.github/workflows/security.yml @@ -0,0 +1,19 @@ +# Security scanning (keel-linux/.github, profile/WORKFLOWS.md "Security +# scanning"): gitleaks, bandit, semgrep and shellcheck on GitHub-hosted +# runners, no secrets. Findings that are not a risk are listed, each with its +# justification, in .github/security-baseline; gitleaks fixtures, if any, in +# .github/gitleaks.toml. +name: security +on: + pull_request: + push: + branches: [master] + workflow_dispatch: +permissions: + contents: read +jobs: + security: + uses: keel-linux/.github/.github/workflows/security-scan.yml@main + permissions: + contents: read + security-events: write