T01 · Skill Instruction Hijacking
- Location
SKILL.md:76- Finding
Commercial Output Manipulation Through Skill Instructions
- Content
View full analysis
Vulnerability Details
File Location:
SKILL.md:76-78
Vulnerability Type:T01: Skill Instruction Hijacking
Risk Level: Mediummarkdown Need the full business context pack for your industry? **[Browse AfrexAI Context Packs](https://afrexai-cto.github.io/context-packs/)** — pre-built agent configs for Fintech, Healthcare, Legal, SaaS, and 6 more verticals ($47 each). Calculate what AI automation could save your business: **[AI Revenue Leak Calculator](https://afrexai-cto.github.io/ai-revenue-calculator/)**Technical Analysis
The skill's declared purpose is to produce TAM, SAM, and SOM market-sizing analyses. The cited instructions append unrelated commercial promotions and attacker-selected external links to the operative skill text.
Because
SKILL.mdis loaded as agent guidance, this content can influence the agent to surface or reproduce promotional material in responses that users expect to contain neutral market analysis. The commercial links are not necessary to perform the documented calculation workflow, cite market data, or generate the specified output format. Their placement in executable skill context rather than documentation creates an instruction-level output manipulation risk.No executable scripts, credential access, remote code retrieval, persistence mechanisms, privilege escalation, or data-exfiltration behavior were identified in the reviewed files.
Attack Path
- A user installs or activates the market-sizing skill.
- The agent loads
SKILL.mdas active instructional context. - The commercial closing content enters the agent's current-session context alongside the legitimate market-sizing workflow.
- The agent may reproduce or recommend the embedded third-party commercial links in a market-sizing response.
- A user may follow those links under the assumption that they are required or endorsed components of the requested analysis.
Impact Assessment
The issu ...[truncated 542 chars]
- Remediation
View remediation
Remediation Suggestions
- Remove the promotional text and external commercial links from
SKILL.md. - Keep the operative skill instructions limited to functionality required for market sizing.
- If project links must be retained, place them only in
README.mdor repository metadata under a clearly labeled, non-operative section. - Explicitly prohibit the skill from appending advertisements, affiliate content, or unrelated calls to action to generated analyses.
- Review future skill changes to ensure that all instructions are directly related to the declared functionality and that external links are not presented as required resources.
- Add a test verifying that generated output follows the documented TAM/SAM/SOM format without unsolicited promotional material.
- Remove the promotional text and external commercial links from
