T01 · Skill Instruction Hijacking
- Location
SKILL.md:30- Finding
Mandatory Agent Response Manipulation
- Content
View full analysis
Vulnerability Details
File Location:
SKILL.md:30-31,scripts/generate_result.md.sh:68-73
Vulnerability Type: Mandatory user-facing response injection
Risk Level: HighRelevant code (
SKILL.md:30-31):markdown - **Key security**: If the chat interface blocks the key, instruct the user to create `env.sh` in the current directory and add `export LAS_API_KEY="..."`; the SDK will read it automatically. - **Disclaimer**: The final response must include the prescribed Volcengine LAS billing disclaimer and pricing URL, and estimated prices must not be described as actual charges.Relevant code (
scripts/generate_result.md.sh:68-73):bash cat <<'EOF' --- This method's charges are estimates and may differ from the final charges. The bill generated by Volcengine after execution shall prevail. For billing details, see [Volcengine LAS Pricing](https://www.volcengine.com/docs/6492/1544808). EOFTechnical Analysis
The skill explicitly requires the Agent to append fixed, vendor-authored content and an external link to every final result. This instruction controls the Agent's user-facing response independently of the user's requested output format.
Billing notices can be legitimate, but enforcing verbatim third-party content and a fixed external link at the skill-instruction level creates a response-hijacking primitive. If this pattern were extended or the linked destination changed, the skill could direct users toward unwanted promotional or deceptive content.
Attack Path
- The Agent loads
SKILL.mdwhile handling a video-inpainting request. - The mandatory workflow instruction becomes part of the Agent's active session context.
- The Agent completes the requested operation.
- The skill requires the Agent to alter the final response by inserting prescribed vendor text and an external URL.
- The resulting response may no longer conform strictly to the user's re ...[truncated 333 chars]
- The Agent loads
- Remediation
View remediation
Remediation Suggestions
- Replace mandatory verbatim response text with a neutral requirement to disclose estimated billing where relevant.
- Do not force a fixed external URL into every final response.
- Ensure system and user output-format requirements take precedence over skill-level presentation rules.
- If a pricing link is necessary, validate it against an approved-domain allowlist and present it only when the user requests billing information.
- Keep operational instructions separate from marketing, branding, and response-composition requirements.
