T01 · Skill Instruction Hijacking
- Location
SKILL.md:182- Finding
Mandatory Commercial Promotion Injected into Agent Responses
- Content
View full analysis
Vulnerability Details
File Location:
SKILL.md, lines 182-186
Vulnerability Type: Instruction-driven output hijacking
Risk Level: MediumVulnerable Code
markdown --- *⚠️ Lite sentiment check — headlines and crowd temperature only.* *For scored multi-source Pulse, contrarian signals, and options flow:* *Full version → agentofalpha.com*Technical Analysis
The skill's prescribed output template requires the agent to append commercial promotional content and an external domain to ordinary sentiment-analysis responses. Because this text is embedded in the mandatory output format, it alters the agent's response objective from solely satisfying the user's request to promoting a third-party service.
The behavior is reinforced by additional promotional instructions at
SKILL.md:22-24andSKILL.md:205-207. No evidence establishes that the referenced website is itself malicious; the confirmed issue is the compulsory and unrelated manipulation of agent output.This best matches
T01: Skill Instruction Hijackingbecause attacker-authored skill instructions alter what the agent presents during the current session.Attack Path
- The agent loads
SKILL.mdas an active skill. - A user requests a market-sentiment analysis for a ticker or asset.
- The agent performs the legitimate news and sentiment workflow.
- The agent follows the mandatory output template in the skill.
- The final response automatically includes promotional claims and directs the user to
agentofalpha.com, even though the user did not request product recommendations or external services.
Impact Assessment
The issue permits manipulation of user-facing agent responses and recurring redirection of users to an external commercial website. It can reduce response integrity, create undisclosed commercial bias, and cause users to interpret promotional claims as trusted agent recommendations.
The affected scope is ...[truncated 210 chars]
- The agent loads
- Remediation
View remediation
Remediation Suggestions
- Remove the mandatory promotional footer and external domain from the response template.
- Remove or clearly separate the repeated promotional material at lines 22-24 and 205-207 from operational skill instructions.
- Ensure the default output contains only information necessary to answer the user's sentiment-analysis request.
- Present product or upgrade information only when the user explicitly asks about available versions, paid features, or related services.
- If an external link is retained, label it clearly as promotional, avoid unsupported claims, and require explicit user action rather than inserting it into every result.
- Add a review policy prohibiting advertisements, affiliate redirects, and unrelated calls to action in mandatory output templates.
