ci: security scanning, with the findings read and justified #4
No reviewers
Labels
No labels
accessibility
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
question
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Keel-Linux/anubis!4
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "ci/security-scan"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
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.
Baseline from a scan of keel/trixie, none a risk as packaged. semgrep
(19, upstream Go; vendor/ is not scanned): the two open-redirect hits
are upstream's PassChallenge, closed in the package by
debian/patches/redir-same-host.patch and redir-validate.patch, and
ServeHTTPNext's no-TARGET branch, which Keel never runs (a TARGET is
always set). Cookie HttpOnly and Secure come from operator options;
TLS configs keep Go's 1.2 minimum and verify certificates unless the
operator opts out; math/rand only for non-secret values; SHA-1 for a
Windows service SID; the private keys are config-test fixtures.
shellcheck (50): rc.d variables of run/anubis.freebsd and code
generation scripts of vendored Go modules, never run or installed.
gitleaks: upstream's test keys (lib/config/testdata/tls/, the gitweb
test's SSH key) are allowlisted by path in .github/gitleaks.toml; a
docs line naming the ED25519_PRIVATE_KEY_HEX variable is ignored by
fingerprint in .github/.gitleaksignore.
You are seeing this message because GitHub Code Scanning has recently been set up for this repository, or this pull request contains the workflow file for the Code Scanning tool.
What Enabling Code Scanning Means:
For more information about GitHub Code Scanning, check out the documentation.