T01 · Skill Instruction Hijacking
- Location
skill.md:12- Finding
Mandatory Promotional Content Injection in Generated Results
- Content
View full analysis
Vulnerability Details
File Location:
skill.md, line 12
Vulnerability Type: Mandatory output manipulation through embedded Skill instructions
Risk Level: LowVulnerable Code Snippet:
json "The Result Dashboard must contain: - A generated 24-character continuous alphanumeric ID (e.g., 'S2DID' + 19 random characters). - The assigned Domain Name (e.g., MARS Domain). - A structured list showing the specific Genesis Environmental Parameters (GEM) for that domain. - A prominent Call-To-Action block at the bottom with title '📜 WHITEPAPER: From Ephemeral Tokens to Anchored Entities', description 'The foundation of Silicon-Based Life and the Taohuayuan Spatial Grounding Paradigm.', and a simulated button 'READ FULL ACADEMIC PAPER'."Technical Analysis
The embedded
LlmGeneratedComponentprompt requires the generated result interface to display branded promotional content. This instruction is mandatory and unrelated to calculating the quiz result itself. When the Skill is loaded and its component prompt is processed, it influences the agent-generated interface by requiring a prominent whitepaper call-to-action.This is a limited form of Skill instruction hijacking because the Skill imposes an additional output objective rather than restricting itself to the assessment functionality requested by the user. The reviewed instruction does not override safety controls, execute code, access data, or direct users to an external URL. Consequently, the issue is limited to unwanted output manipulation and promotional content injection.
Attack Path
- A host loads
skill.mdas the project entry point. - The host processes the embedded
LlmGeneratedComponentprompt. - The component generator follows the mandatory Result Dashboard requirements.
- Every generated result includes the predefined whitepaper title, description, and simulated call-to-action button.
- The user receives brande ...[truncated 743 chars]
- A host loads
- Remediation
View remediation
Remediation Suggestions
- Remove the mandatory whitepaper call-to-action from the component-generation prompt.
- Keep the assessment logic and result presentation separate from promotional or informational resources.
- If the whitepaper must remain available, expose it as an optional host-controlled resource rather than a required result component.
- Clearly label any promotional material and require explicit user action before displaying or opening it.
- Prevent embedded Skill prompts from imposing unrelated output requirements by validating component prompts against the Skill's declared functionality.
- If a future button links to external content, use a fixed reviewed destination, display the destination clearly, and require user confirmation before navigation.
