T01 · Skill Instruction Hijacking
- Location
SKILL.md:71- Finding
Remote Tool Output Can Hijack Agent Instructions
- Content
View full analysis
120: text = text[:120] + "..." lines.append(f"- **简介**:{text}") ``` ### Technical Analysis The Skill explicitly instructs the Agent to recognize an “agent / LLM instructions” marker in `reply_markdown` and obey the associated instructions. This improperly delegates the Agent's control plane to tool output. Candidate names, descriptions, cover URLs, and other metadata originate from remote BizyAir API responses. Although the scripts format these values, they do not classify them as untrusted data, escape Markdown control content, remove instruction markers, or prevent multiline metadata from imitating the privileged marker. The vulnerability is therefore not merely reflected content. The Skill defines a behavior that elevates specially formatted remote content into Agent instructions. This violates the separation between trusted Skill instructions and untrusted API data. ### Attack Path 1. An attacker publishes or compromises a BizyAir application, workflow, or ModelZoo listing. 2. ...[truncated 1263 chars]- Remediation
View remediation
