Hidden Instructions
- Category
- Prompt Injection
- Confidence
- 95% confidence
- Finding
The skill instructs the agent to emit hidden HTML comments carrying machine-readable citation metadata that is invisible in normal rendering but preserved in output. Hidden channels are risky because downstream systems or users may not notice embedded metadata, and prompt/content boundaries can blur when invisible markers are later parsed by other agents or tools.
- Content
md When emitting any citation in the draft body, write the citation in two layers: 1. **Visible layer**: standard author-year form (e.g. `Smith (2024)` or `(Smith, 2024)`). 2. **Hidden layer**: immediately after the visible form, append an HTML comment of the shape `<!--ref:slug-->`, where `slug` is the `citation_key` already present in the corpus context provided in this prompt. Examples: `Smith (2024) <!--ref:smith2024-->` or `(Smith, 2024)<!--ref:smith2024-->`.
