An issue assigned by a repository writer becomes the entry point for attacker-controlled hidden content. The same demonstrated chain reaches additional authority only where deployment permissions and cloud trust permit it. Mechanism, preconditions and effects. The attacker needed a repository issue or comment that the coding agent would later read, plus a…
Inspect the ClaimsCase · DiggingBeagle record
Hidden issue content can redirect Copilot into its available credentials
Assessment profile
Assessment method- Setting
- research demonstration
- Exploitation
- demonstrated
- Evidence
- Grade B
- Remediation
- mitigation available
- AI role
- AGAINST AI
Basis and provenance
CLM-CP17-COPILOT-HIDDEN-COMMENTS-ENTRY reports: BeyondTrust reports a hidden-comment injection causing Copilot token and agent-secret exfiltration and writes to Copilot branches. Source SRC-2026-CP17-COPILOT-HIDDEN-COMMENTS is located at 'Introduction; secret-exfiltration and branch-poisoning demonstrations'. The distinctive mechanism begins: The attacker needed a repository issue or comment that the coding agent would later read, plus a legitimate user with write permissions to assign the agent. Classification: setting=research_demonstration, exploit_status=demonstrated, evidence_grade=B on the bounded original investigator/vendor or paper evidence, without independent dynamic replication. remediation_status=mitigation_available; scoped control or limit: Inspect raw Markdown for hidden content before assigning agent work, and ensure the agent execution identity cannot read or emit secrets not needed by that task. Removing an HTML comment from the rendered UI alone does not remove it from agent input. The null impact band avoids an ungrounded cross-Case severity rating; observed damage, targeted population and controlled test outcomes cannot be exchanged as the same quantity. Where a patch is described, its availability is separate from independently tested effectiveness.
Assessed Oct 23, 2026 using diggingbeagle.assessment/1.
Evidence basis: CLM-CP17-COPILOT-HIDDEN-COMMENTS-ENTRY · CLM-CP17-COPILOT-HIDDEN-COMMENTS-STATUS · CLM-CP17-COPILOT-HIDDEN-COMMENTS-ESCALATION · BeyondTrust: hidden issue comments and Copilot authority
At a glance
No production victim compromise established here; classification is attributed to the researcher's timeline.
Limits and uncertaintyFull account
An issue assigned by a repository writer becomes the entry point for attacker-controlled hidden content. The same demonstrated chain reaches additional authority only where deployment permissions and cloud trust permit it.
Mechanism, preconditions and effects. The attacker needed a repository issue or comment that the coding agent would later read, plus a legitimate user with write permissions to assign the agent. Instructions inside HTML comments did not render visibly to that user but remained available to Copilot's parser, which read them with issue context. BeyondTrust's demonstrated chain redirected agent tool use toward available tokens, repository or organizational secrets and attacker-controlled output locations. Subsequent CI/OIDC escalation required additional workflow configuration or privileges, and should not be folded into the basic entry mechanism.
Comparison and evidence limits. GitHub's position, as documented in the researcher's disclosure timeline, was that assignment by an authorized user means no platform authorization bypass occurred; that interpretation does not refute the observed indirect instruction route. The cited disclosure is from the researcher, and the supplied record does not establish production-victim credential theft. Unlike repository-imposed build instructions, hidden comments are unseen in the rendered issue while still being consumed by the assistant.
Claims & evidence
CLM-CP17-COPILOT-HIDDEN-COMMENTS-ENTRYBeyondTrust reports a hidden-comment injection causing Copilot token and agent-secret exfiltration and writes to Copilot branches.supported
Basis: reported finding
- supportsBeyondTrust: hidden issue comments and Copilot authorityprimary disclosure
Introduction; secret-exfiltration and branch-poisoning demonstrations
CLM-CP17-COPILOT-HIDDEN-COMMENTS-STATUSThe researcher says behavior remained present October 15 and records GitHub classifying the submissions as Informational or otherwise outside its security-risk determination.supported
Basis: reported finding
- supportsBeyondTrust: hidden issue comments and Copilot authorityprimary disclosure
Disclosure timeline; Am I affected?
CLM-CP17-COPILOT-HIDDEN-COMMENTS-ESCALATIONThe demonstrated CI/cloud escalation depends on additional setup-workflow permissions, unprotected branches or permissive OIDC trust.supported
Basis: reported finding
- supportsBeyondTrust: hidden issue comments and Copilot authorityprimary disclosure
CI/CD Takeover; Contents: Write; Id-token: write; controlled AWS role example
Controls and mitigations
- Inspect raw Markdown for hidden content before assigning agent work, and ensure the agent execution identity cannot read or emit secrets not needed by that task. Removing an HTML comment from the rendered UI alone does not remove it from agent input.
Unknowns and contradictions
- No production victim compromise established here; classification is attributed to the researcher's timeline.
Sources and citation
Material revision history
- Oct 23, 2026 · Canonical change recorded · new in release · revision 183