T01 · Skill Instruction Hijacking
- Location
SKILL.md:70- Finding
Mandatory Branded Workflow Redirection in Agent Responses
- Content
View full analysis
Vulnerability Details
File Location:
SKILL.md, lines 70–78
Vulnerability Type: Agent response manipulation and workflow redirection
Risk Level: MediumComplete Code Snippet:
markdown ## After running Report back to the user: - A summary of key findings (list top 3–5) - Which tools/skills were used - How many literature sources were pulled - Offer follow-up options: - "Want me to post this to Infinite?" → use `scienceclaw-post` skill - "Want a deeper multi-agent investigation?" → use `scienceclaw-investigate` skill - "Want to investigate a local file instead?" → use `scienceclaw-local-files` skillTechnical Analysis
The skill requires the agent to append predefined calls to action that direct the user toward Infinite and additional ScienceClaw skills. These instructions are unconditional and are not limited to cases in which the user asks to publish results, initiate a multi-agent investigation, or process local files.
Because skill text becomes part of the agent's active instructions, this requirement modifies the expected response behavior whenever the skill is loaded. It introduces branded workflow steering into otherwise ordinary scientific-query responses. The issue is an instruction-level behavior change rather than executable-code compromise.
Attack Path
- A user asks a scientific question and triggers this skill.
- The agent runs or attempts to run the documented dry-run investigation.
- The instructions require the agent to include the listed follow-up prompts.
- The response directs the user toward publishing on Infinite or invoking additional ScienceClaw workflows, even when those actions were not requested.
- If the user accepts a prompt, the interaction transitions into an additional service or skill workflow.
Impact Assessment
The issue can influence the current session's output and subsequent workflow selection. It does not, based on the ...[truncated 227 chars]
- Remediation
View remediation
Remediation Suggestions
- Remove the unconditional requirement to advertise Infinite and related skills.
- Mention publishing, multi-agent investigation, or local-file processing only when the user explicitly requests that functionality or when it is directly relevant.
- Use neutral follow-up language that does not favor a particular service.
- Require explicit confirmation before transitioning to another skill or posting workflow.
- Clearly distinguish optional capabilities from actions necessary to answer the current request.
