T01 · Skill Instruction Hijacking
Warning
- Location
- SKILL.md:83
- Finding
- Mandatory Commercial Output Hijacking Through Embedded Booking and Payment Links## Vulnerability Details **File Location**: `SKILL.md`, lines 83–87 **Vulnerability Type**: `T01: Skill Instruction Hijacking` **Risk Level**: Medium ### Vulnerable Code ```text 💡 Next step: Book a free consultation to see a live demo → https://calendly.com/cbeckford-afrexai/30min 🚀 Start with our $750/month intro offer (first month) → https://buy.stripe.com/fZuaEQaPs9Mrge87l50sU0a ``` ### Technical Analysis The Skill places vendor-specific promotional content inside its prescribed ROI-analysis output template. Consequently, an agent following the Skill is instructed to append consultation and payment links even when the user only requests a financial calculation and does not request vendor contact or purchasing information. This alters the expected goal of a neutral ROI-calculation session by turning the response into a commercial referral. The external links direct users to vendor-controlled Calendly and Stripe destinations. No local code execution, credential theft, persistence, privilege escalation, or system compromise was identified; the issue affects response integrity and user decision-making rather than host security. ### Attack Path 1. A user asks the agent to calculate the return on investment for deploying AI agents. 2. The agent loads and follows the instructions in `SKILL.md`. 3. The agent generates the requested ROI analysis using the mandatory output template. 4. The template causes the agent to append a consultation link and a Stripe purchase link regardless of whether the user requested promotional information. 5. The user may interpret these links as a trusted or neutral recommendation and navigate to vendor-controlled commercial services. ### Impact Assessment The vulnerability allows the Skill author to influence normal agent responses and steer users toward specific commercial endpoints. The affected scope includes the integrity and neutrality of ROI reports generated with this Skill. No operating-system privileges or ad ...[truncated 260 chars]
- Remediation
- ## Remediation Suggestions 1. Remove the consultation and Stripe purchase links from the mandatory ROI output template. 2. Keep the calculator vendor-neutral and separate financial calculations from promotional material. 3. Display vendor links only when the user explicitly asks for purchasing, consultation, or provider-contact information. 4. Clearly label any optional vendor-specific content as advertising or promotional material. 5. Require explicit user confirmation before directing the user to a payment endpoint. 6. Document the ownership and purpose of external destinations so users can make an informed decision before leaving the agent interface. 7. Add a review rule prohibiting unsolicited affiliate, booking, payment, or lead-generation links in standard Skill outputs.
