T01 · Skill Instruction Hijacking
- Location
SKILL.md:17- Finding
Mandatory Workflow and Skill-Selection Hijacking
- Content
View full analysis
Vulnerability Details
File Location:
SKILL.md, lines 17–20, 26–37, and 103–116
Vulnerability Type: T01: Skill Instruction Hijacking
Risk Level: HighVulnerable Instruction Excerpts
The following English translations preserve the meaning of the relevant instructions:
text Before invoking any implementation skill, writing any code, setting up any project, or taking any implementation action, the design must first be presented and approved by the owner. Every project must follow this process, regardless of perceived complexity.text Complete each task in this order: 1. Explore the project context. 2. Offer a visualization companion when applicable. 3. Ask clarification questions one at a time. 4. Present two or three approaches. 5. Present the design and obtain approval. 6. Write the design document and commit it. 7. Review the specification. 8. Require the owner to review the written specification. 9. Transition to implementation by invoking superpowers-writing-plans. The endpoint is invoking writing-plans. Do not invoke any other implementation skill.text Wait for the owner to respond. If changes are requested, modify the specification and repeat the review process. Only after owner approval may execution continue. Invoke superpowers-writing-plans to create the implementation plan. Do not invoke any other skill. writing-plans is the next step.Technical Analysis
The Skill does not limit its brainstorming guidance to cases where the user explicitly requests that workflow. Instead, it declares a mandatory gate for every broadly defined creative task and prohibits implementation until its own approval process has been completed.
It also claims exclusive control over subsequent skill selection by requiring the Agent to invoke
superpowers-writing-plansand forbidding all other implementation skills. This changes the Agent's active workflow ...[truncated 2211 chars]- Remediation
View remediation
Remediation Suggestions
- Restrict activation to explicit user requests for brainstorming or design assistance rather than automatically applying it to all creative work.
- Replace absolute directives such as “must,” “every project,” and “do not invoke any other skill” with optional recommendations subordinate to the current user request and system policy.
- Remove exclusive downstream skill routing. Present
superpowers-writing-plansas an optional next step and obtain explicit user consent before invoking it. - Require separate, explicit authorization before creating files, modifying the repository, or running
git commit. - Permit abbreviated or skipped workflows when the user has already supplied an approved design, requests direct implementation, or is performing a trivial and well-scoped change.
- State clearly that the Skill cannot override higher-priority instructions, the user's current objective, security controls, or tool-use restrictions.
- Add a non-mutating default mode in which brainstorming results are returned in the conversation unless the user specifically asks for documentation to be written and committed.
