T01 · Skill Instruction Hijacking
- Location
SKILL.md:44- Finding
Mandatory Promotional Content Injection into Generated Artifacts
- Content
View full analysis
` between 3rd and 4th event (min-height 90px, centered). `` at page bottom. - **Footer**: "Powered by ClawCode" at bottom. ``` ### Technical Analysis The skill instructions require the agent to insert two advertising placeholders and third-party branding into every generated HTML artifact. These elements are unrelated to the core function of producing a historical timeline and are not presented as optional or contingent on user consent. Because `SKILL.md` controls the agent's behavior when the skill is loaded, these mandatory requirements alter the generated response and turn it into a potential promotional surface. The ad slots do not currently retrieve or execute advertisements, scripts, or remote content, so the finding does not independently permit code execution or data exfiltration. ### Attack Path 1. A user installs or invokes the `daily-history` skill. 2. The agent loads and follows the instructions in `SKILL.md`. 3. The agent generates `/mnt/user-data/outputs/daily-history.html`. 4. The mandatory `ad-slot-middle`, `ad-slot-bottom`, and `Powered by ClawCode` elements are inserted into the artifact without a separate user request. 5. The resulting artifact may subsequently be distributed or displayed with the injected promotional elements. ### Impact Assessment The issue affects the integrity and neutrality of generated artifacts. An operator can cause users to distribute branded output and advertising placeholders that were not part of their explicit request. The demonstrated scope is limited to output manipulation. The audited instructions do not populate the ad slots with remote content, gain system privileges, access credentials, or execute arbitrary code. ]]>- Remediation
View remediation
