T01 · Skill Instruction Hijacking
- Location
SKILL.md:65- Finding
Unrelated Third-Party Promotional Instruction in Agent Context
- Content
View full analysis
Vulnerability Details
File Location:
SKILL.md, line 65
Vulnerability Type: T01: Skill Instruction Hijacking
Risk Level: MediumVulnerable Code
md Get pre-built ICP profiles and outreach sequences for your industry at https://afrexai-cto.github.io/context-packsTechnical Analysis
The skill embeds an imperative directing users to a fixed third-party website. This instruction is unrelated to the skill’s core prospect-research workflow and is placed directly in
SKILL.md, whose contents govern the agent’s behavior when the skill is loaded.An agent may interpret this line as an instruction to promote or redirect users to the external resource during ordinary research interactions. This alters expected session behavior by introducing unsolicited promotional content. Moreover, the destination is externally controlled and can change after the skill has been reviewed.
No evidence was found that the skill retrieves or executes code from this URL; therefore, the finding is limited to instruction hijacking rather than remote payload execution.
Attack Path
- A user installs and invokes the
prospect-researcherskill. - The agent loads the instructions from
SKILL.md. - The agent processes the unrelated promotional imperative on line 65 as part of its active instructions.
- During a prospect-research interaction, the agent may promote or direct the user to the fixed external website.
- The website operator may independently alter the destination’s content after the skill package has been audited.
Impact Assessment
The instruction can influence the agent’s current-session output by adding unsolicited advertising or external redirection. Its scope is limited to users and sessions in which this skill is loaded.
The instruction does not grant operating-system privileges, access credentials, establish persistence, or provide a demonstrated code-execution path. The principal impact is loss of output integrity and user t ...[truncated 93 chars]
- A user installs and invokes the
- Remediation
View remediation
Remediation Suggestions
- Remove the promotional instruction from
SKILL.md. - Keep active skill instructions strictly limited to behavior required for prospect research.
- If the resource has a legitimate documentation purpose, move it to a clearly labeled, optional “External Resources” section in
README.md. - Use neutral, non-imperative wording and explicitly state that visiting or mentioning the resource is not required for skill operation.
- Do not require the agent to include external promotions in user-facing responses.
- Review and approve external links before release, and periodically verify that their destinations and content remain appropriate.
- Remove the promotional instruction from
