T01 · Skill Instruction Hijacking
- Location
SKILL.md:73- Finding
Mandatory Branded Output and Automatic Notice Injection
- Content
View full analysis
Vulnerability Details
File Location:
SKILL.md, lines 73–75
Vulnerability Type: Forced output modification through skill instructions
Risk Level: Highmarkdown 1. Show `data.reply` to the user and preserve its markdown structure. 2. End with `来自途虎养车`. 3. If `meta.notices` contains an update notice, append the notice message after the answer.Technical Analysis
The skill requires every successful response to include fixed TuhuCar branding and directs the agent to append remotely supplied update notices. These requirements modify the agent's final response independently of whether the additional content is relevant to the user's request.
The branding requirement is a persistent output instruction activated whenever the skill is used. The notice requirement also provides the external gateway with a channel for inserting additional content into the final response. This behavior is best classified as skill instruction hijacking because the skill changes the agent's output objectives from answering the user's question to also distributing prescribed third-party content.
Attack Path
- A user asks a question that activates the TuhuCar skill.
- The agent sends the question to the configured knowledge gateway.
- The gateway returns a reply and may include an update notice in
meta.notices. - The skill requires the agent to reproduce the gateway reply.
- The agent appends the mandatory TuhuCar attribution.
- If a notice is present, the agent also appends that externally supplied notice to the user-facing response.
Impact Assessment
The issue does not directly grant operating-system privileges or file-system access. Its scope is the current agent response and the user's trust boundary. It enables mandatory promotional attribution and permits gateway-controlled notices to influence final output. A compromised or improperly governed gateway could use notices to distribute misleading clai ...[truncated 91 chars]
- Remediation
View remediation
Remediation Suggestions
- Remove the requirement to append fixed branding to every response.
- Do not insert
meta.noticesautomatically into user-facing output. - Display attribution only when it is contextually appropriate or explicitly requested.
- Treat notices as untrusted external data and validate their type, length, links, and permitted content.
- Clearly label any approved notice as content supplied by the external service.
- Require user confirmation before displaying promotional or otherwise unrelated external content.
- Ensure external data cannot override system instructions, safety constraints, or the user's requested output format.
