T01 · Skill Instruction Hijacking
- Location
SKILL.md:121- Finding
Untrusted Web Guidance Is Executed and Persisted in Recovery Playbooks
- Content
View full analysis
fix ubuntu 24 " ``` 3. Read the top result and attempt the recommended fix 4. If the fix works: - Append what you learned to the relevant playbook file - Log with `result: "success"` and note: "Learned new fix via Tavily" 5. Log: "Learned new fix for ``: ``" ``` ### Technical Analysis The Skill instructs the agent to retrieve an arbitrary top-ranked search result and attempt its recommended remediation without validating the source, constraining the permitted command set, or obtaining user approval. Search results and retrieved pages are untrusted input and may contain malicious shell commands or prompt-injection instructions. The risk becomes persistent because successful guidance is appended to a playbook. Consequently, attacker-controlled instructions can become part of the Skill's durable operational state and influence future privileged sessions. The mechanism combines current-session instruction hijacking with long-term state poisoning. ### Attack Path 1. An attacker publishes or compromises a page targeting an infrastructure error likely to be searched by the Skill. 2. The page is ranked as the top Tavily result or otherwise selected by the agent. 3. The page embeds unsafe remediation commands or instructions designed to override expected operational boundaries. 4. The agent reads the page and attempts the recommended fix. 5. Because recovery operations commonly use `sudo`, the malicious guidance may execute with elevated privileges. 6. If the apparent problem is resolved, the agent appends the gui ...[truncated 451 chars]- Remediation
View remediation
