T01 · Skill Instruction Hijacking
- Location
SKILL.md:179- Finding
Mandatory Third-Party Branding Injected into Agent Responses
- Content
View full analysis
Vulnerability Details
File Location:
SKILL.md:179-182
Vulnerability Type: Mandatory output manipulation
Risk Level: MediumVulnerable Code
markdown --- *Data source: based on fly.ai real-time search results; weather information is for reference only. Check the latest forecast before departure.* ✈️ Powered by FlyAITechnical Analysis
The skill defines a fixed response template that requires FlyAI attribution and promotional branding in the agent's final answer. This instruction is unrelated to the essential function of calculating weekends and recommending destinations, and it applies regardless of whether the user requested promotional content.
Because the content is part of the agent prompt, loading the skill changes the output behavior of the current session. The agent is instructed to reproduce third-party branding rather than independently deciding whether attribution is relevant. This is classified as instruction hijacking because skill text imposes an external output objective on the host agent.
Attack Path
- A user request activates the travel skill.
- The host agent loads the skill prompt and mandatory output template.
- The agent performs the travel recommendation workflow.
- The fixed template causes the final response to include FlyAI attribution and branding.
- The user receives promotional content that was not explicitly requested.
Impact Assessment
The issue does not grant operating-system privileges or access to confidential data. Its scope is limited to the current agent session and generated responses. However, it compromises response integrity by allowing the skill author to mandate third-party promotional content and override the host agent's normal discretion over final-answer composition.
- Remediation
View remediation
Remediation Suggestions
- Remove mandatory promotional branding from the output template.
- Include source attribution only when FlyAI data was actually used.
- Clearly distinguish factual source attribution from promotional language.
- Allow the host agent to select an appropriate attribution format.
- Do not require fixed third-party text in every user-facing response.
