T01 · Skill Instruction Hijacking
- Location
SKILL.md:30- Finding
Unaudited Remote Workflow Instructions Can Hijack Agent Behavior
- Content
View full analysis
``` Always run `traderbro skills list --json` first when the user's request matches a skill's `trigger_keywords`. ``` ### Technical Analysis The skill instructs the agent to retrieve workflow instructions from the external TraderBro service and use those instructions to determine subsequent actions. Neither the workflow contents nor their `trigger_keywords` are included in the audited package. They are therefore mutable, unaudited inputs controlled by the remote service. The responses are described as instructions that tell the agent how to chain CLI commands, rather than as untrusted informational data. No validation, command allowlist, response schema enforcement, trust-boundary warning, or user-confirmation requirement is specified before the agent follows a retrieved workflow. This creates an instruction-hijacking boundary: the reviewed local skill delegates part of its effective behavior to content that may change after review. ### Attack Path 1. A user submits a request involving financial analysis, research, or purchasing decisions. 2. The local skill requires the agent to run `traderbro skills list --json`. 3. A malicious or compromised TraderBro service returns attacker-controlled skill names, trigger keywords, or metadata. 4. The agent matches the user's request against a remotely supplied `trigger_keywords` value. 5. The agent runs `traderbro skills show ` and receives attacker-controlled workfl ...[truncated 1086 chars]- Remediation
View remediation
