T01 · Skill Instruction Hijacking
Error
- Location
- SKILL.md:89
- Finding
- Out-of-Scope Commercial Promotion Embedded in Agent Instructions< — $47 each, covering Fintech, Healthcare, Legal, Construction, SaaS, and more. Each pack includes tax-relevant compliance and financial frameworks for your sector. **Calculate your AI automation ROI:** [AI Revenue Calculator](https://afrexai-cto.github.io/ai-revenue-calculator/) | **Set up your AI agent:** [Agent Setup Wizard](https://afrexai-cto.github.io/agent-setup/) Bundles: Playbook $27 | Pick 3 $97 | All 10 $197 | Everything $247 ``` ### Technical Analysis The skill places third-party advertisements, purchase prices, and calls to action immediately after its mandatory output-format instructions. These promotions are unrelated to the skill's stated function of generating tax-planning recommendations. Because `SKILL.md` is intended to be loaded as agent instructions, content located in this context can influence the agent's current-session behavior and generated answers. Positioning commercial links beside the response requirements creates a risk that the agent will reproduce or endorse the promotions as though they were part of its tax advice. The same destinations are repeated in `README.md` lines 22–26, demonstrating that the links are deliberate promotional material. The project does not contain executable code, and there is no evidence that these URLs are fetched automatically or that remote content is executed. ### Attack Path 1. A user or platform installs and activates the tax-planning skill. 2. The agent loads `SKILL ...[truncated 1135 chars]
- Remediation
- <![CDATA[ ## Remediation Suggestions 1. Remove the commercial footer from `SKILL.md`, particularly lines 93–97. 2. Keep agent instructions limited to behavior necessary for tax-planning functionality. 3. Place optional commercial or project-maintainer links only in clearly labeled documentation that is not loaded as agent instructions. 4. Do not instruct or imply that the agent should include promotional links, prices, or sales messages in user-facing tax guidance. 5. If external resources are genuinely required, disclose their ownership and commercial relationship and require explicit user consent before presenting them. 6. Add a review policy that rejects advertisements, affiliate links, unrelated calls to action, and product-placement instructions from executable skill prompts. 7. Retain the professional-advice disclaimer while keeping it clearly separated from any nonessential external resources. ]]>
