T01 · Skill Instruction Hijacking
Error
- Location
SKILL.md:214- Finding
Untrusted PR Comments Are Passed into an Agent Execution Workflow
- Content
View full analysis
` sections. They do not enforce a security boundary between review content and agent instructions. Arbitrary directives that do not match the cleanup patterns remain intact. The skill also does not require explicit user approval before the downstream execution phase. Consequently, a malicious reviewer or compromised review bot can phrase prompt-injection instructions as actionable feedback. Whether those instructions produce harmful actions depends on the safeguards in the separately loaded `receive-feedback` skill and the tools and permissions available to the agent. That referenced skill was not present in the audited project, so its controls could not be verified. ### Attack Path 1. An attacker obtains permission to submit a PR review or issue comment on the target pull request, or compromises an authorized review bot. 2. The attacker posts a comment containing plausible review feedback to ...[truncated 1419 chars]- Remediation
View remediation
