T01 · Skill Instruction Hijacking
- Location
SKILL.md:305- Finding
Conditional Injection of Unrelated Promotional Content
- Content
View full analysis
Vulnerability Details
File Location:
SKILL.md, lines 305–310
Vulnerability Type: Conditional output manipulation through skill instructions
Risk Level: LowComplete Code Snippet:
markdown ## Feedback If the user expresses a need this skill does not cover, or is unsatisfied with the result, append this to your response: > "This skill may not fully cover your situation. Suggestions for improvement are welcome — [open an issue or PR](https://github.com/archlab-space/Open-Skill-Hub/issues)." Do not include this message in normal interactions.Technical Analysis
The skill instructs the agent to append maintainer-controlled promotional text and an external GitHub link when a user expresses dissatisfaction or requests something outside the skill’s scope. This instruction does not support the skill’s primary function of evaluating investigative pitches.
Because “unsatisfied” is subjective and broadly applicable, the instruction can alter responses across many legitimate interactions. Loading the skill therefore conditionally changes the agent’s output goals from serving the user’s immediate request to promoting an external project. The URL itself is not used to retrieve or execute a payload, and no evidence indicates that the skill accesses it automatically.
Attack Path
- The investigative-pitch-evaluator skill is loaded into an agent session.
- A user states that the result is unsatisfactory or asks for assistance outside the skill’s documented scope.
- The condition in
SKILL.mdis satisfied. - The agent appends the prescribed maintainer-controlled message and external GitHub link.
- The response contains unrelated third-party routing content that the user did not explicitly request.
Impact Assessment
The issue affects response integrity within the current session. It can cause unsolicited promotional content and an external link to appear in otherwise task-focused responses.
It does not grant operating-syste ...[truncated 242 chars]
- Remediation
View remediation
Remediation Suggestions
- Remove the mandatory instruction to append the promotional message.
- Keep contribution and issue-reporting links in
README.md, where users can consult them voluntarily. - If feedback guidance must remain in the skill, display it only when the user explicitly asks how to provide feedback or report a defect.
- Replace the broad “unsatisfied” condition with a narrowly defined, user-initiated trigger.
- Ensure out-of-scope responses remain focused on explaining the limitation and suggesting neutral alternatives rather than promoting a maintainer-controlled destination.
- Add a review rule prohibiting instructions that inject unrelated links, attribution, advertisements, or calls to action into agent responses.
