From 056cfa4d26f14f71095df67ccb228cc5474da9b0 Mon Sep 17 00:00:00 2001 From: navigator Date: Wed, 7 Oct 2026 17:53:45 +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 keel/trixie and by hand. Not a required check. A scan of keel/trixie finds no secret in the history, nothing for bandit or semgrep, and one shellcheck finding in gnulib's build-aux/git-version-gen (SC1087, a case glob read as an array), justified in .github/security-baseline. --- .github/security-baseline | 3 +++ .github/workflows/security.yml | 19 +++++++++++++++++++ 2 files changed, 22 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..31841c2 --- /dev/null +++ b/.github/security-baseline @@ -0,0 +1,3 @@ +# 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:SC1087:build-aux/git-version-gen:93cddff2fdf6 shell lint, not a security risk: $prefix[0-9]* is a case glob as intended (gnulib's git-version-gen) diff --git a/.github/workflows/security.yml b/.github/workflows/security.yml new file mode 100644 index 0000000..b40ce41 --- /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: [keel/trixie] + workflow_dispatch: +permissions: + contents: read +jobs: + security: + uses: keel-linux/.github/.github/workflows/security-scan.yml@main + permissions: + contents: read + security-events: write