Case · 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.

At a glance

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

Link to claim
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

Link to claim
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

Link to claim

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

  1. Oct 23, 2026 · Canonical change recorded · new in release · revision 183