
Prompt-Injection PR Trick Leaks Repo Secrets
A researcher showed that AI coding agents used in GitHub workflows can be tricked by a malicious pull request description into running “safe-looking” commands…
Researchers showed that an attacker can hide instructions inside an Azure DevOps pull request description so an AI coding agent follows the attacker’s directions instead of the reviewer’s. Because the agent acts with the reviewer’s permissions, it can access other projects and leak sensitive content (like confidential wiki pages) back into the pull request where the attacker can read it.
Researchers demonstrated that Azure DevOps pull request descriptions accept Markdown, which allows HTML comments. In the web UI, an HTML comment renders as nothing, so a reviewer scanning a PR sees a normal description. But the Azure DevOps MCP server tool path for pull requests returns the full PR description text, including the hidden comment, to any AI agent that reads it. When a reviewer asks their agent to review the PR, the hidden instructions can rewrite the agent's goal without the reviewer ever noticing.
In the proof of concept, the agent's tool trace showed a chain of actions well beyond reviewing code: it triggered a pipeline in a different project, read a confidential wiki page the attacker could not open directly, and posted that page's contents back as a comment on the PR, where the attacker could read it.
The core issue is that the AI agent acts with the reviewer's own permissions. Since the agent is carrying the reviewer's credentials, it can reach projects and data the attacker has no rights to access on their own. The gap between what a human sees in the interface and what the model actually receives as input is the delivery mechanism for this attack. The risk grows when agents are configured to run tools automatically without per-tool confirmation, and when review workflows are triggered automatically rather than manually.
Organizations using AI coding agents connected to internal tools like Azure DevOps should treat pull request text as untrusted input, since hidden content can exist even when the interface looks clean. Practical steps include requiring explicit human approval before an agent runs sensitive actions such as triggering pipelines or accessing wikis, giving agents least-privilege tokens scoped only to the project under review rather than broad cross-project access, and regularly auditing agent tool traces for cross-project pipeline runs, wiki reads, or comments posted during reviews. These measures reduce the chance that a hidden instruction in a PR can turn a routine review into a path for data exfiltration.
Mirage safely runs attacks like this one against your own team, so you find out what happens before a real adversary does.
An attacker can insert an HTML comment into a PR description that renders as nothing in the web UI but is still returned to the AI agent through the API, letting the hidden text redirect the agent's actions during review.
In a proof of concept, the agent used the reviewer's own permissions to trigger a pipeline in another project, read a confidential wiki page, and post that page's contents back into the PR comment thread where the attacker could see it.
The AI agent reads the full PR description text via the API while the human reviewer only sees the rendered version in the UI, so the gap between what a human sees and what the model receives becomes the delivery mechanism.
Require explicit approval for sensitive agent actions like pipeline runs or wiki access, scope agent tokens to least privilege for the project under review, and audit tool traces for unexpected cross-project activity.
In Azure DevOps, your AI code reviewer can be hijacked by text you can’t even see. An attacker adds an invisible HTML comment to a pull request description. The Azure DevOps MCP tool sends that hidden text to the AI, so when you click “AI review,” it quietly rewrites the agent’s goal. Now your agent, using your permissions, starts running pipelines in another project, reading a confidential wiki page it shouldn’t, and posting that secret text back as a PR comment for the attacker to read. If you use AI reviewers, make one change: require explicit approval before the agent can run powerful tools like pipelines, read wikis, or post comments during a PR review.

A researcher showed that AI coding agents used in GitHub workflows can be tricked by a malicious pull request description into running “safe-looking” commands…

This roundup describes several real-world social-engineering and human-abuse techniques, including trojanized “installer” lures (ClickFix), large-scale…

Researchers demonstrated a new “agent data injection” technique where attackers plant content (like a review or GitHub comment) that an AI agent mistakenly…

Kaspersky reports an active OkoBot malware campaign targeting Windows users who manage cryptocurrency. Victims are lured via “ClickFix” fake-error pages that…

Kaspersky reports an active malware campaign (“OkoBot”) that tricks people into running malicious scripts via a ClickFix-style prompt or by downloading a fake…

Attackers used fake Steam forum replies that looked like helpful troubleshooting steps for real gaming/PC problems. The posts tricked users into running…