[uk ai resilience] UK AI Open Code Risk & Resilience — Weekly Assessment (2026-08-13) #52526
Closed
Replies: 1 comment
|
This discussion has been marked as outdated by UK AI Operational Resilience. A newer discussion is available at Discussion #52747. |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Aligned to: [UK Gov guidance — AI, open code and vulnerability risk in the public sector]((www.gov.uk/redacted) Scope: recent-changes focus, 7-day lookback (since 2026-08-06).
1. Executive Summary
github-actions[bot], 10 by a human maintainer (Peli de Halleux), 9 by dependabot. This confirms the repo is a live case study for AI-assisted open-source development risk.js/http-to-file-access) is already mitigated with explicit validation and anlgtmsuppression.2. Asset Graph Summary (recent-change scoped)
pkg/cli/project_command.gofmt.Sprintfw/escapeGraphQLStringpkg/workflow/pip_validation.goexec.Commandpkg/workflow/dependabot.gopkg/cli/grype.gopkg/intent/policy.goscripts/ensure-docs-slide-pdf.js.github/workflows/*Ownership signal: heavy AI-authorship with human maintainer review concentrated in a small set of committers (
pelikhan,Landon Cox,Don Syme) — acceptable for an OSS project with active human oversight of merges, but ownership coverage should be tracked as a metric (see §8).3. Tier Classification Table
pkg/workflow/pip_validation.go(exec.Command + pkgName)validatePipPackageName) already applied before everyexec.Commandcall site (lines 71, 168, 225); Sighthound finding is a false positive given current code.scripts/ensure-docs-slide-pdf.js(alert #654, js/http-to-file-access)validatePdfBytes/validateSlideDeckResponsegate content-type, size, and magic-bytes before write; explicitlgtmsuppression present. No action needed beyond periodic re-verification.workflow-security-finding-1, README.md)workflow-out-of-context, committedactionlint/gosecbinaries).gitignore, confirmgo installis the CI path.pkg/cli/project_command.goGraphQL query construction (alerts #651/#652)escapeGraphQLStringcurrently mitigates but is a manual-escaping pattern flagged as brittle; already tracked in issue #52321. Condition: migrate to GraphQL variables.pkg/intent/policy.goseeding-rule validation gap (#52516)Authorizer.AuthorizeToolintegration ships to avoid a fail-open condition.pkg/workflow/dependabot.go/pkg/cli/grype.goexec.Command wrappersGrypeImageconstant, working-directory scoped npm), consistent with the pattern already hardened in pip_validation.go. Recommend a follow-up confirmation pass, not urgent remediation.4. Control Verification Gaps
CODEOWNERSfile exists at repo root; recommend confirming explicit path rules coverpkg/cli/,pkg/workflow/,pkg/intent/directly rather than relying on default/global owners.@versionstripping ... deterministic test"); PR-based workflow evident from commit messages.pkg/loggernamespace-based debug logging actively expanded this window ("Add debug logging to guard-policy, arc-dind, and validation helpers", "... threat-detection, frontmatter, and validation paths").5. Risk-Scoring Table & Rationale
6. Remediation Queue with SLAs
fmt.Sprintf-built queries inproject_command.gowith GraphQL variablesautonomyRank/writeScopeRankvalidation to the first-matching-rule seed path inpolicy.go, fail closed on unmapped values, before wiring toAuthorizer.AuthorizeToolactionlint/gosecbinaries from git tree, add to.gitignore, confirm CI usesgo install7. Exception Register
No new exceptions required this cycle. No repository-hiding or concealment measures recommended — all identified items have clear, auditable remediation paths and existing tracking issues.
8. Operational Metrics Baseline
Generated by the UK AI Open Code Risk & Resilience governance workflow (recent-changes focus, resilience-over-secrecy strategy). No repository hiding recommended.
All reactions