Summary
CodeQL flags two open, untracked go/allocation-size-overflow alerts in pkg/cli/experiments_command.go, a file that was actively modified within the last 7-day lookback window. This is surfaced by the UK AI Open Code Risk & Resilience Governance recent-changes review.
Tier and risk-scoring breakdown
Alert details
Remediation action
Validate/bound the length used for slice pre-allocation before calling make(), so an attacker- or data-driven oversized len(experiments) cannot trigger an allocation-size overflow. SLA urgency: high.
Discussion report
Full governance analysis, asset graph, and control-verification context: see the "UK AI Open Code Risk & Resilience Review — 2026-09-25 (recent-changes cycle)" discussion report created in this same run.
Generated by UK AI Operational Resilience · copilot · auto · 80.1 AIC · ⌖ 7.25 AIC · ⊞ 7.9K · ◷
Summary
CodeQL flags two open, untracked
go/allocation-size-overflowalerts inpkg/cli/experiments_command.go, a file that was actively modified within the last 7-day lookback window. This is surfaced by the UK AI Open Code Risk & Resilience Governance recent-changes review.Tier and risk-scoring breakdown
CODEOWNERSentry exists forpkg/cli/(see companion Tier B finding in [uk-ai-resilience] Missing .github/CODEOWNERS for security-sensitive compiler/CLI paths (Tier B) #61637)Alert details
go/allocation-size-overflowpkg/cli/experiments_command.go(nearmake([]ExperimentAnalysis, 0, len(experiments)), line ~384)Remediation action
Validate/bound the length used for slice pre-allocation before calling
make(), so an attacker- or data-driven oversizedlen(experiments)cannot trigger an allocation-size overflow. SLA urgency: high.Discussion report
Full governance analysis, asset graph, and control-verification context: see the "UK AI Open Code Risk & Resilience Review — 2026-09-25 (recent-changes cycle)" discussion report created in this same run.