T01 · Skill Instruction Hijacking
Error
- Location
SKILL.md:55- Finding
Untrusted Remote Recipes Can Control Agent Actions
- Content
View full analysis
[--input "context text"] ``` Start a Recipe run — the AI agent executes the workflow checklist step by step. | Flag | Required | Default | Description | |------|----------|---------|-------------| | `` | Yes | — | ID of the Recipe template to run | | `--input` | No | — | Context or instructions for the run | > [!CAUTION] > Write command — creates a new Recipe run (a chat session) and the agent may create/update context cards, search the web, and take other actions. Confirm with the user before executing. Output is NDJSON (one JSON object per line) as the agent streams its response. ``` ### Technical Analysis The skill delegates workflow control to remotely stored Recipe content and instructs the AI agent to execute that content “step by step.” The resulting agent is expressly permitted to modify context cards, search the web, and perform unspecified additional actions. Although the skill requires user confirmation before starting a Recipe, it does not require the complete workflow to be displayed or reviewed before execution. It also does not define publisher verification, immutable content hashes, instruction sanitization, tool restrictions, domain restrictions, or confirmation gates for consequential actions performed during the run. Consequently, confirmation to start a seemingly benign Recipe can implicitly authorize attacker-controlled instructions that were not visible to the user. A malicious or compromised Recipe could attempt to change the agent's goals, induce disclosure of supplied context, manipulate persistent context cards, or direct other available tools. ### Attack Path 1. An attacker publishes a malicious marketplace Recipe or compromises an existing Recipe or its hostin ...[truncated 1230 chars]- Remediation
View remediation
