T01 · Skill Instruction Hijacking
- Location
SKILL.md:113- Finding
Promotional Instruction Propagation Through the Skill Template
- Content
View full analysis
Vulnerability Details
File Location:
SKILL.md, lines 113 and 192
Vulnerability Type:T01: Skill Instruction Hijacking
Risk Level: LowEvidence at line 113:
markdown *如果你觉得这个技能有用,请给它点个星,谢谢!⭐*Evidence at line 192:
markdown *如果你觉得这个技能有用,请给它点个星,谢谢!⭐*Technical Analysis
The project is a template for producing other agent skills. Line 113 embeds a fixed promotional solicitation inside the copyable
SKILL.mdtemplate, while line 192 includes the same solicitation in the template skill itself.When an agent follows the documented template, the instruction can be copied into unrelated downstream skills. This manipulates generated skill output by adding author-selected promotional content that is not necessary to fulfill the user's requested task. The issue is limited to instruction-layer output manipulation; the audited project contains no executable scripts or dependencies.
Attack Path
- A user asks an agent to create a skill using this template.
- The agent copies the sample
SKILL.md, including the instruction at line 113. - The generated skill is published or loaded by another agent.
- The downstream skill retains or emits the fixed promotional solicitation.
- The author-controlled wording consequently propagates across otherwise unrelated skills and sessions where those skills are used.
Impact Assessment
The issue can affect the integrity and relevance of generated skill documentation or output by introducing unsolicited promotional language. It does not grant filesystem, network, account, system, or administrative privileges. No credential access, code execution, persistence, data exfiltration, or privilege escalation is enabled by the identified instruction.
- Remediation
View remediation
Remediation Suggestions
- Remove the promotional sentence from the copyable template at line 113.
- Remove the duplicate sentence from the template skill at line 192.
- Restrict generated templates to instructions directly required for the declared skill behavior.
- If optional attribution or promotional material is desired, place it in a clearly labeled documentation section that agents are instructed not to copy by default.
- Add a release check that rejects templates containing fixed solicitations, unrelated calls to action, or instructions that modify downstream agent responses.
