Skip to content

ci: security scanning, with the findings read and justified - #17

Merged
marcos-mendez merged 1 commit into
19.xfrom
ci/security-scan
Oct 7, 2026
Merged

marcos-mendez merged 1 commit into
19.xfrom
ci/security-scan

Conversation

@marcos-mendez

Copy link
Copy Markdown
Collaborator

Calls security-scan.yml of keel-linux/.github (gitleaks, bandit,
semgrep, shellcheck on hosted runners, no secrets) on pull requests,
pushes to 19.x and by hand. Not a required check.

Baseline from a scan of 19.x, none a risk. bandit B103 and semgrep's
insecure-file-permissions: 0o750 on the root-owned EC2 user-data
script, 0o700 on ~/.ssh. Plus 205 shellcheck warnings of existing
scripts (arrays in log messages, word splitting of build paths, unused
config variables), each justified in .github/security-baseline.
Eight Python 2 scripts under bin/ec2_legacy and contrib cannot be
parsed by bandit and are reported as warnings.

gitleaks: tests/layer writes truncated fake key headers on purpose and
tests/ec2-v19 named public key fingerprints, allowlisted by path in
.github/gitleaks.toml; BT_GPGKEY and GPGKEY are fingerprints of the
public TurnKey signing keys, ignored by fingerprint in
.github/.gitleaksignore.

Calls security-scan.yml of keel-linux/.github (gitleaks, bandit,
semgrep, shellcheck on hosted runners, no secrets) on pull requests,
pushes to 19.x and by hand. Not a required check.

Baseline from a scan of 19.x, none a risk. bandit B103 and semgrep's
insecure-file-permissions: 0o750 on the root-owned EC2 user-data
script, 0o700 on ~/.ssh. Plus 205 shellcheck warnings of existing
scripts (arrays in log messages, word splitting of build paths, unused
config variables), each justified in .github/security-baseline.
Eight Python 2 scripts under bin/ec2_legacy and contrib cannot be
parsed by bandit and are reported as warnings.

gitleaks: tests/layer writes truncated fake key headers on purpose and
tests/ec2-v19 named public key fingerprints, allowlisted by path in
.github/gitleaks.toml; BT_GPGKEY and GPGKEY are fingerprints of the
public TurnKey signing keys, ignored by fingerprint in
.github/.gitleaksignore.
@marcos-mendez
marcos-mendez merged commit 4c0eec6 into 19.x Oct 7, 2026
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant