T01 · Skill Instruction Hijacking
- Location
references/compatibility/output-template.md:75- Finding
Hardcoded Promotional Call to Action Alters Generated Content
- Content
View full analysis
Vulnerability Details
File Location:
references/compatibility/output-template.md, lines 75-84
Vulnerability Type: Hardcoded output instruction that redirects generated content toward follower acquisition
Risk Level: MediumVulnerable Code
The following is a complete English translation of the affected source segment:
markdown **Card 4 (Advice and Conclusion):**text 📝 Relationship Advice 1. {Advice} 2. {Advice} ⚠️ Star mansions reveal tendencies; they do not determine destiny. Follow me to see your star-mansion compatibility →text ### Technical Analysis The compatibility template mandates a promotional follower-acquisition message as part of generated carousel content. This instruction is not conditional on the user requesting advertising, engagement optimization, or a call to action. `SKILL.md` directs the agent to use the compatibility output template when producing compatibility readings. Consequently, loading and following the skill can alter the agent's output objective from solely fulfilling the user's compatibility-content request to also promoting a social-media account. This is classified as instruction hijacking because the embedded template instruction controls part of the agent's generated response for an undeclared promotional objective. The behavior does not execute code, access credentials, or bypass system permissions. ### Attack Path 1. A user requests carousel-style social-media content about star-mansion compatibility. 2. The agent follows the skill workflow and loads `references/compatibility/output-template.md`. 3. The agent selects the series-card template. 4. The fourth card includes the mandatory follower-acquisition message. 5. Unless the user or agent manually removes it, the promotional text appears in the generated content and may subsequently be published. ### Impact Assessment The issue can cause users to unknowingly include promo ...[truncated 377 chars]- Remediation
View remediation
Remediation Suggestions
- Remove the fixed follower-acquisition message from the default compatibility template.
- Add promotional calls to action only when the user explicitly requests marketing or engagement-oriented copy.
- Represent promotional content as an optional placeholder, disabled by default, such as:
text {optional_call_to_action} - Ask for confirmation before inserting follower acquisition, paid-service promotion, direct-message solicitation, or other conversion-oriented language.
- Separate neutral compatibility templates from marketing templates so that ordinary readings cannot silently inherit promotional instructions.
- Add a content-generation rule requiring generated output to remain aligned with the user's stated purpose and prohibiting undeclared promotional additions.
