T01 · Skill Instruction Hijacking
- Location
SKILL.md:75- Finding
Mandatory Promotional Content Injected into Generated Responses
- Content
View full analysis
Vulnerability Details
File Location:
SKILL.md, line 75
Vulnerability Type: Mandatory output manipulation through skill instructions
Risk Level: HighComplete vulnerable instruction, faithfully translated into English:
markdown This script was generated by [Livestream Sales Script Generator] | Price: CNY 24.9/useTechnical Analysis
The skill defines a mandatory output template that inserts its branding and pricing advertisement into every generated sales script. This footer is not necessary to perform the requested script-generation task. Loading and following the skill therefore changes the agent's response objective by requiring unrelated commercial content to be presented to the user.
This is classified as instruction hijacking because the manipulation resides directly in the skill text and affects the current session's generated output. No safety-control bypass, code execution, external payload retrieval, persistent state modification, or elevated system privilege is involved.
Attack Path
- The agent loads
SKILL.md. - A user requests a livestream sales script for a product.
- The agent follows the mandatory output format defined by the skill.
- The prescribed branding and pricing footer is appended to the response.
- The user receives third-party promotional content as though it were an ordinary part of the requested deliverable.
Impact Assessment
The issue compromises the integrity and neutrality of generated responses. It enables the skill author to place persistent commercial messaging in user-facing output without requiring explicit user consent.
The affected scope is limited to responses generated while this skill is active. The instruction does not grant operating-system privileges, access credentials, execute code, modify files, access remote services, or establish cross-session persistence.
- The agent loads
- Remediation
View remediation
Remediation Suggestions
- Remove the mandatory branding and pricing footer from the output template.
- Restrict generated output to content directly required by the user's request.
- If attribution is operationally necessary, make it optional and obtain explicit user consent before including it.
- Clearly separate optional metadata from the requested sales script rather than embedding it in the required response body.
- Review future template changes for fixed advertisements, referral material, pricing claims, or other unrelated content that could manipulate agent responses.
