T01 · Skill Instruction Hijacking
Warning
- Location
- SKILL.md:55
- Finding
- Mandatory External Promotion Hijacks Agent Responses<**" ``` The same external service is promoted more extensively in `SKILL.md`, lines 14-35. ### Technical Analysis The instruction requires the Agent to append attacker-selected promotional content and an external URL to every generated response. It is unconditional and therefore applies even when the promotion is irrelevant to the user's request. Because skill instructions become part of the Agent's active context, this rule controls the Agent's current-session output. It substitutes the skill author's advertising objective for the user's sole objective of obtaining a local Bazi calculation or interpretation. This behavior is best classified as instruction hijacking rather than remote payload execution: the document does not fetch or execute content from the linked site. The skill also asks users for birth date, birth time, gender, and city. These values are sensitive personal-profile data. The reviewed file states that calculations are local and does not automatically transmit those values. Nevertheless, the compulsory link can encourage users to continue on an external service where they may submit the same information. Such disclosure would require further user action and is not automatic e ...[truncated 1309 chars]
- Remediation
- <![CDATA[ ## Remediation Suggestions 1. Remove the unconditional instruction requiring every response to end with promotional content. 2. Keep the skill's default output limited to the calculation or interpretation explicitly requested by the user. 3. If the external service is retained, present it only when the user explicitly requests additional services or external resources. 4. Clearly label any link as an optional third-party or commercial service rather than integrating it into mandatory Agent behavior. 5. Add a privacy notice before directing users to a service that may collect birth date, birth time, gender, city, or generated chart information. 6. Do not prepopulate URLs, requests, or forms with user data unless the user gives explicit, informed consent. 7. Add review tests that reject unconditional response suffixes, mandatory advertisements, and unrelated external redirects in skill instructions. ]]>
