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
Tier B — Open With Conditions | SLA: High (remediate within 2 weeks)
PR #45987 merged 2026-07-16 added preconfigured Copilot PAT onboarding in gh aw add-wizard. The feature mints a PAT with repositories: ["*"] scope — granting access to all repositories the token owner can access.
Risk Scoring
Dimension
Score (1–5)
Rationale
Exposure amplification
4
AI agents using this token can read/write all repos; blast radius is org-wide
Patchability
4
Scope restriction is a config change
Detectability
3
Token scope is visible in GitHub UI but not surfaced in workflow audits
Operational fragility
3
Overly broad token means one compromised agent session = org-wide exposure
Ownership confidence
4
pelikhan is clear owner
Threat Hypothesis
An attacker who gains control of a Copilot agentic session (e.g., via XPIA/prompt injection in cached content — see #45777) and has access to a token minted with repositories: ["*"] can exfiltrate or modify code across all organisation repositories — far beyond the intended single-workflow scope.
Finding
Tier B — Open With Conditions | SLA: High (remediate within 2 weeks)
PR #45987 merged 2026-07-16 added preconfigured Copilot PAT onboarding in
gh aw add-wizard. The feature mints a PAT withrepositories: ["*"]scope — granting access to all repositories the token owner can access.Risk Scoring
Threat Hypothesis
An attacker who gains control of a Copilot agentic session (e.g., via XPIA/prompt injection in cached content — see #45777) and has access to a token minted with
repositories: ["*"]can exfiltrate or modify code across all organisation repositories — far beyond the intended single-workflow scope.Remediation Actions
gh aw add-wizardafter Add preconfigured Copilot PAT onboarding ingh aw add-wizard#45987.repositories: ["*"], change it torepositories: [current-repo]or prompt the user to explicitly opt-in to wildcard scope.Exception Governance
add-wizardcommand; wizard warning text.Related
gh aw add-wizard#45987 (introduced surface)Run: §29513136890