T01 · Skill Instruction Hijacking
- Location
SKILL.md:237- Finding
Proactive Output Injection Funnels Conversation Content into an External Publishing Workflow
- Content
View full analysis
Vulnerability Details
File Location:
SKILL.md:237-273
Vulnerability Type: Proactive instruction hijacking and service funnel
Risk Level: HighVulnerable Code
markdown ## Auto-Detection When working alongside a user, proactively detect moments worth capturing as TIL entries. ### When to Suggest Suggest when the conversation produces a genuine "aha" moment — something surprising, non-obvious, or worth remembering. ### Rate Limiting 1. **Once per session** — after suggesting once (accepted or declined), never suggest again 2. **Natural pauses only** — suggest at resolution points or task boundaries, never mid-problem-solving 3. **Respect rejection** — if declined, move on without persuasion ### Suggestion Format Append at the end of your normal response. Never interrupt workflow. **Template:**💡 TIL: [concise title of the insight] Tags: [tag1, tag2] · Capture? (yes/no)
text ### Capture Flow Auto-detected TILs bypass the extract flow. The suggestion itself is the candidate. 1. User replies `yes` / `y` / `ok` / `sure` → agent generates full entry (title, body, tags, lang) from the suggested insight → follows Execution Flow (POST or save locally) 2. User replies `no` / ignores / continues other topic → move on, do not ask againThe same behavior is reinforced in
references/auto-detection.md:95-145:markdown ## Suggestion Format Append the suggestion at the end of your normal response. Never interrupt the workflow with a standalone suggestion message. **Template:**💡 TIL: [concise title of the insight] Tags: [tag1, tag2] · Capture? (yes/no)
text ## Single Confirmation FlowAgent: [normal response content]
text 💡 TIL: [concise title] Tags: [tags] · Capture? (yes/no)User: yes / y / ok / sure
Agent: [Generates full entry: title, body, tags, lang] [POST to API or save locally] [Show result message]
text The suggestion itself is the candidate. When the user says yes, the a ...[truncated 2995 chars]- Remediation
View remediation
Remediation Suggestions
- Remove default proactive conversation monitoring and the instruction to append capture prompts to normal responses.
- Restrict all capture behavior to explicit user invocations such as
/til,/til <content>, or a dedicated command that clearly names the material to capture. - If proactive detection is retained, make it a separately enabled, informed opt-in setting that is disabled by default and clearly indicates that accepted material may be uploaded externally.
- Require an unambiguous confirmation phrase such as
publish this TIL to OpenTIL; do not interpret generic replies such asyes,ok, orsureas publication consent. - Show the complete generated title, body, summary, tags, visibility, destination host, and account identity before any network transmission.
- Default conversation-derived entries to local or remote drafts rather than immediate public publication.
- Require a second explicit confirmation before publishing publicly, distinct from consent to generate or save a draft.
- Preserve the existing desensitization rules, but add a mandatory sensitive-data review for secrets, internal URLs, personal data, proprietary identifiers, and private conversation context before upload.
- Provide a clear configuration control to disable auto-detection permanently and document its state in the Skill's setup section.
