Repository navigation
fix(security): restore weekly security audit - #203
Merged
Merged
Conversation
The Security Audit workflow has failed every week since late July. - Secret scan: `only-verified` is not a TruffleHog action input, so unverified matches failed the job. Use `--results=verified` and pin the action and image to v3.99.2. - Go: move to Go 1.26.10 (Go 1.25 no longer receives stdlib security fixes) and update x/net, x/text, OpenTelemetry, gRPC and the ClickHouse driver. govulncheck now reports 0 reachable issues. - Frontend: bump dompurify (via posthog-js) to 3.4.17. - Tests: replace attribute.Value.Emit, deprecated in OpenTelemetry 1.47, with Value.String.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Why
The weekly Security Audit workflow (
security.yml) has failed on every run since 2026-07-27. It only runs on a schedule, so it never blocked a PR and went unnoticed. All three jobs were failing.What changed
Secret scan
only-verifiedis not an input the TruffleHog action accepts (the log warns "Unexpected input(s) 'only-verified'"), so the job failed on unverified matches. The last run found 0 verified secrets and 8 unverified ones (example Postgres and Slack strings).extra_args: --results=verified, and pins the action and scanner image to v3.99.2 instead of@main/latest.Go dependencies (27 reachable vulnerabilities, now 0)
go.mod,ci.yml,security.ymland both Dockerfiles. Most findings were in the standard library (net/http,crypto/tls,crypto/x509,html/template, ...) and are only fixed in Go 1.26.9+.attribute.Value.Emit()is deprecated in OpenTelemetry 1.47 and flagged by staticcheck, so the 11 test usages now callValue.String(), which returns the same text for scalar values.Frontend
dompurify3.4.14 → 3.4.17 (critical XSS advisories). It is a dependency ofposthog-js, so this is a 3-line lockfile change.Not included
react-router6 → 7 for two moderate advisories. That is a breaking upgrade that touches app code and will be done separately. It does not fail the audit, which gates on high and above.Testing
make validatepasses locally on Go 1.26.10: build, golangci-lint (0 issues), go test, frontend tsc + vite build.govulncheck ./...: "Your code is affected by 0 vulnerabilities."npm audit --omit=dev --audit-level=high: passes.After merge