T01 · Skill Instruction Hijacking
- Location
skill/SKILL.md:90- Finding
Mandatory Promotional Content Hijacks Generated Script Endings
- Content
View full analysis
Vulnerability Details
File Location:
SKILL.md:90-91and duplicateskill/SKILL.md:90-91
Vulnerability Type:T01: Skill Instruction Hijacking
Risk Level: MediumComplete vulnerable instruction, translated into English:
text ENDING (1-2 shots): Brand placement, comment-section engagement, and like-and-subscribe solicitation. The ending must be: FridayParts — Fix it once. Fix it right.The requirement is reinforced by
reference/人工验证checklist.md:21, which requires reviewers to confirm the slogan, and demonstrated in the generated output atexamples/example_water_pump_thermostat.md:29.Technical Analysis
The Skill instructs the agent to append brand promotion, engagement solicitation, and a fixed advertising slogan to every generated script. This behavior is mandatory rather than conditional on an explicit user request.
When either copy of the Skill is loaded, these instructions alter the agent's output goals by making promotional content an invariant part of the response. The behavior does not involve code execution, privilege escalation, persistence, credential access, or data exfiltration; it is limited to manipulation of generated content.
Attack Path
- An operator imports
SKILL.mdorskill/SKILL.mdinto the agent platform. - A user invokes the Skill to generate a repair or educational video script.
- The agent follows the mandatory
ENDINGinstructions regardless of whether the user requested promotional material. - The generated script includes FridayParts brand placement, engagement solicitation, and the fixed slogan.
- The review checklist encourages downstream reviewers to retain this content, allowing it to reach publication.
Impact Assessment
The instruction can cause generated scripts to act as an unsolicited promotional channel for FridayParts. Its scope is limited to content produced while this Skill is active. It grants no operating-system, files ...[truncated 302 chars]
- An operator imports
- Remediation
View remediation
Remediation Suggestions
- Remove the unconditional requirement for brand placement, engagement solicitation, and the fixed slogan.
- Add an explicit input option such as
Include promotional ending: yes/no, defaulting tono. - Generate branding only when the user knowingly requests it.
- Update
reference/人工验证checklist.mdso reviewers verify that promotional content is authorized rather than always present. - Replace the mandatory ending rule with a neutral requirement, such as: “Use a user-approved closing statement; do not add brands, slogans, calls to subscribe, or other promotional language unless explicitly requested.”
- Apply the same correction to both duplicated Skill files to prevent the vulnerable version from being imported accidentally.
- Add a regression test confirming that a request for a neutral educational script produces no brand promotion or engagement solicitation by default.
