You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
CodeQL alerts addressed:
- gitindex/clone.go:60 (high, go/clear-text-logging): the clone command
was logged with its full args, which may include URLs containing basic
auth credentials. Added a URL-aware redactor that strips userinfo
before logging. Actual exec args are unchanged.
- api.go:668 (high, go/incorrect-integer-conversion): replaced
ParseInt(_, 10, 64) + int(id) with strconv.Atoi for the tenantID
RawConfig value so no truncating int64 -> int conversion occurs.
- cmd/zoekt-sourcegraph-indexserver/sg.go:608 (high,
go/incorrect-integer-conversion): replaced Atoi + uint32(id) with
ParseUint(_, 10, 32) so the value is bounded to uint32 at parse time.
- .github/workflows/ci.yml and buf-breaking-check.yml (medium x8,
actions/missing-workflow-permissions): added top-level
`permissions: contents: read` to follow least-privilege for
GITHUB_TOKEN.
- .github/workflows/semgrep.yml (high,
actions/untrusted-checkout/high): the scan ran on pull_request_target
while checking out the PR head, giving PR code access to secrets
(GH_SEMGREP_SAST_TOKEN, security-events:write). Switched the trigger
to pull_request so the PR head is only ever checked out in an
untrusted context with no access to write scopes.
Co-authored-by: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
0 commit comments