Security gates
-
[E] A gitleaks finding that is no secret (a sample value in a test) is removed from the code; when it stays in the history, its fingerprint goes into
.gitleaksignore(commit:file:rule:line), named in the pull request. First case: the sample token ofsrc/server/error-log.test.tsin commit f45319c (#126, owner, 2026-11-12). -
[E] gitleaks in CI (owner, 2026-11-25, 143a): a pull request scans only its own commits (
--log-optswith the base and head commit of the event, passed as environment, never written into the script), so a branch of someone else among the fetched refs fails no other pull request; a push tomainorhotfix/**and the nightly run scan the whole history of all refs. Cause: a test password on an unmerged branch made every pull request fail (2026-11-25). Before each push a branch is scanned locally with gitleaks 8.30.1 onorigin/main..HEAD. -
[E] The log of the gitleaks step (owner, 2026-11-26, 153a): no
--verbose; gitleaks writes its report as JSON (--report-format json --report-path,--redactkept) into a directory under$RUNNER_TEMPmounted into the container. After the run, jq on the runner prints each finding by its RuleID, File, StartLine and Commit only (as JSON strings, so a file name cannot start a workflow command), never Match, Secret or the line. The step fails with the exit code of gitleaks, on a finding, and when the report is missing or unreadable. The report is not uploaded and is deleted at the end of the step. Test:src/test/ci-release.test.ts(a fake docker). -
[E] Security gates: gitleaks over the whole history,
pnpm auditover the dev dependencies as well (high blocks, #622, owner, 2026-12-01; the versions with a high or critical advisory are lifted byoverridesinpnpm-workspace.yaml; documented exception, 2026-12-02: the two moderate minimatch advisories ofminimatch@10under@stryker-mutator/core10.1.1, a dev tool, whose fix is minimatch 11 (a major version Stryker does not ask for yet), until Stryker moves), CodeQLsecurity-extended(severity ≥ 7.0 and every result of level „error“ block,.github/scripts/codeql-gate.mjs), Trivy on the image (holes with a fix: in a pull request into and a push tohotfix/**high and critical block, in a release pull request too until #387, which builds no image since then; other pull requests block on the critical holes they bring in, compared with the image of the base branch; a push tomainblocks on every critical hole; owner 2026-11-12). CodeQL runs for every pull request, documentation included, because the ruleset ofmainrequires a CodeQL result for the exact commit (owner, 2026-11-11).