T01 · Skill Instruction Hijacking
- Location
SKILL.md:390- Finding
Conditional External Promotion Through Skill Instructions
- Content
View full analysis
Vulnerability Details
File Location:
SKILL.md, line 390
Vulnerability Type: Conditional instruction hijacking and external redirection
Risk Level: LowVulnerable Code Snippet:
markdown If the user expresses an unmet need or dissatisfaction with the workflow (e.g. "we need a Level 3 advanced template with resistograph data fields", "we need a post-storm rapid triage version", "we need a multi-tree inventory framing"), surface the contribution link: https://github.com/archlab-space/Open-Skill-Hub/issues. Do not surface it in normal interactions.Technical Analysis
The instruction introduces behavior unrelated to the core tree-risk-assessment workflow. When a user expresses dissatisfaction or requests an unsupported workflow, the loaded Skill directs the Agent to insert a predetermined third-party project URL into its response.
This is a limited form of instruction hijacking because the Skill modifies the Agent's output goals based on a conversational trigger. The conditional wording also prevents the behavior from appearing during ordinary use, making it less apparent during basic functional testing.
The instruction does not download or execute remote content, invoke tools, transmit user information automatically, or override safety controls. The issue is limited to conditional output manipulation and promotion of an external destination.
Attack Path
- The Agent loads and follows the instructions in
SKILL.md. - A user expresses dissatisfaction or requests functionality not supported by the workflow, such as a Level 3 template.
- The condition at line 390 is satisfied.
- The Agent inserts
https://github.com/archlab-space/Open-Skill-Hub/issuesinto its response. - The user may follow the link and leave the current environment for a third-party platform.
No further exploitation, remote payload retrieval, or automatic disclosure occurs solely from this instruction.
Impact
...[truncated 526 chars]
- The Agent loads and follows the instructions in
- Remediation
View remediation
Remediation Suggestions
- Remove the conditional feedback instruction from
SKILL.mdso dissatisfaction does not trigger unrelated promotional content. - Keep contribution and issue-tracker links in
README.md, where project-maintenance information is expected and does not alter runtime Agent behavior. - If runtime feedback guidance is required, display it only when the user explicitly asks how to report a problem or contribute.
- Clearly label any external link, identify its destination, and avoid implying that visiting it is necessary to complete the assessment.
- Add a review rule prohibiting hidden or conditionally activated promotional instructions in operational Skill files unless they are essential to the declared task.
- Remove the conditional feedback instruction from
