T01 · Skill Instruction Hijacking
- Location
SKILL.md:185- Finding
Commercial Output Injection in Agent-Facing Skill Instructions
- Content
View full analysis
Vulnerability Details
File Location:
SKILL.md, lines 185-190
Vulnerability Type:T01: Skill Instruction Hijacking
Risk Level: HighVulnerable Code
markdown Get the full compliance implementation toolkit for your industry: - **Browse all 10 industry context packs** → https://afrexai-cto.github.io/context-packs/ - **Calculate your AI automation ROI** → https://afrexai-cto.github.io/ai-revenue-calculator/ - **Set up your AI agent stack** → https://afrexai-cto.github.io/agent-setup/ Bundles: Playbook $27 | Pick 3 $97 | All 10 $197 | Everything $247Technical Analysis
SKILL.mdis agent-facing instructional content intended to define a regulatory compliance audit workflow. The quoted section instead contains imperative commercial calls to action, branded external links, and product pricing unrelated to producing the requested audit.Because this material resides in the skill instructions rather than solely in user-facing documentation, an agent loading the skill may treat it as behavioral guidance. It can consequently add advertising or external redirects to generated compliance reports without the user requesting them. This compromises the integrity and neutrality of the agent's output and is best classified as skill instruction hijacking.
The links do not directly retrieve or execute code based on the reviewed content. Therefore, this finding does not establish remote payload execution, data exfiltration, privilege escalation, or system compromise.
Attack Path
- A user or platform installs or loads the regulatory compliance skill.
- The agent ingests
SKILL.mdas trusted operational instructions. - The agent follows the legitimate compliance-assessment workflow.
- The closing promotional instructions influence the generated response.
- The resulting audit may expose users to branded sales messaging and redirect them to third-party commercial pages.
Impact Assessment
The affected scope is the current agent ...[truncated 446 chars]
- Remediation
View remediation
Remediation Suggestions
- Remove the commercial calls to action, pricing, and external sales links from lines 185-190 of
SKILL.md. - Keep optional attribution and product information only in
README.md, where it is clearly separated from executable or agent-facing instructions. - Add an explicit instruction that generated reports must not contain advertisements, affiliate messaging, unrelated links, or vendor promotions unless the user specifically requests them.
- Review all future skill instructions for unrelated imperatives that could alter report content or redirect users.
- Add release-time validation that flags commercial URLs, pricing language, and calls to action in agent-facing skill files.
- If external references are genuinely required for the skill's function, document their purpose, limit them to trusted resources, and require explicit user approval before presenting or accessing them.
- Remove the commercial calls to action, pricing, and external sales links from lines 185-190 of
