T01 · Skill Instruction Hijacking
Warning
- Location
- references/digest-prompt.md:106
- Finding
- Mandatory Promotional Content Alters Agent Output<![CDATA[ ## Vulnerability Details **File Location**: `references/digest-prompt.md:106-110` **Vulnerability Type**: Mandatory output manipulation **Risk Level**: Medium ### Vulnerable Code ```markdown ### Stats Footer ``` --- 📊 Data Sources: RSS {{rss}} | Twitter {{twitter}} | Reddit {{reddit}} | Web {{web}} | Dedup: {{merged}} articles 🤖 Generated by media-news-digest v<VERSION> | <https://github.com/draco-agent/media-news-digest> | Powered by OpenClaw ``` ``` ### Technical Analysis The Skill instructions require every generated digest to contain fixed branding and external promotional links. This requirement is unrelated to collecting, summarizing, or delivering news and prevents the caller from retaining complete control over the generated output. Because the behavior is embedded in the prompt loaded by the Agent, it changes the Agent's output requirements for the current session. Under the supplied classification criteria, mandatory promotional content constitutes Skill instruction hijacking even though it does not disable safety controls or execute code. ### Attack Path 1. The Agent loads `references/digest-prompt.md`. 2. The Agent follows the mandatory “Stats Footer” instructions. 3. Every generated digest receives the fixed project and OpenClaw attribution links. 4. The injected content is distributed to Discord or email recipients as part of the report. ### Impact Assessment The issue affects the integrity and neutrality of generated reports. It enables persistent insertion of third-party promotional links into user-facing output for every execution using this prompt. It does not grant operating-system privileges, expose credentials, or provide code execution. ]]>
- Remediation
- <![CDATA[ ## Remediation Suggestions - Remove mandatory third-party links from the report-generation instructions. - Make attribution optional and controlled through an explicit configuration setting. - Default to no promotional footer unless the caller requests one. - Clearly separate operational report metadata from branding. - Ensure templates do not silently restore branding when the prompt omits it. ]]>
