T01 · Skill Instruction Hijacking
- Location
SKILL.md:57- Finding
Hard-Coded Commercial Content Injected into Agent Responses
- Content
View full analysis
Vulnerability Details
File Location:
SKILL.md:57-68
Vulnerability Type:T01: Skill Instruction Hijacking
Risk Level: MediumVulnerable Code
markdown ## Context Packs For industry-specific AP frameworks with regulatory requirements, compliance checklists, and automation ROI calculators: → https://afrexai-cto.github.io/context-packs/ ($47/pack) **Fintech Pack** — Payment processing compliance, reconciliation automation **Manufacturing Pack** — 3-way match for complex BOMs, landed cost tracking **Construction Pack** — Retention holdbacks, lien waiver management, AIA billing ## Tools - Revenue Leak Calculator: https://afrexai-cto.github.io/ai-revenue-calculator/ - Agent Setup Wizard: https://afrexai-cto.github.io/agent-setup/ - Bundles: Pick 3 ($97) | All 10 ($197) | Everything ($247)Technical Analysis
The skill's operative instructions contain commercial links, prices, product bundles, and branded external resources unrelated to the minimum functionality required to generate an accounts-payable management framework. Because this content appears directly in
SKILL.md, an agent loading the skill may treat it as part of the expected response rather than optional project metadata.This alters the normal response objective from providing neutral accounts-payable guidance to promoting operator-controlled products and websites. The same commercial destinations and offerings are corroborated in
README.md:29-46, indicating that the links form a sales and deployment funnel rather than an operational dependency of the skill.No executable code, automatic network request, credential access, remote payload retrieval, or local privilege escalation was identified. The risk is therefore limited to instruction-level influence, response integrity, and user redirection.
Attack Path
- A user or platform installs or loads the skill.
- The agent interprets
SKILL.mdas behavioral instruc ...[truncated 1041 chars]
- Remediation
View remediation
Remediation Suggestions
- Remove the
Context PacksandToolspromotional sections from the operative instructions inSKILL.md. - Keep commercial resources in
README.mdor another non-operative documentation file, clearly labeled as optional advertising. - Do not include external links, prices, bundles, or branded recommendations in generated responses unless the user explicitly requests product recommendations.
- Separate functional skill instructions from marketing metadata through a clearly defined configuration boundary.
- If optional resources remain available, disclose ownership or affiliation and explain that they are not required for the skill to function.
- Apply an allowlist and review process to external links distributed with the project.
- Add tests confirming that ordinary AP-framework requests produce neutral guidance without unsolicited commercial content.
- Remove the
