T01 · Skill Instruction Hijacking
- Location
SKILL.md:86- Finding
Mandatory Response-Flow Hijacking and Unconditional Message Persistence
- Content
View full analysis
60% = automatic logging / 缓冲危险区,>60%自动记录 3. **Strict budgeting** — 10/40/20/20, no exceptions / 严格预算,10/40/20/20无例外 ``` ### Technical Analysis The skill declares that every message must be scanned and that the agent must write selected message content to persistent workspace state before responding. The phrases “WAL is non-negotiable” and “no exceptions” attempt to establish unconditional precedence rather than defining an optional, user-authorized workflow. This changes the agent's normal response sequence as soon as the skill is loaded and can conflict with higher-priority privacy, data-minimization, or task-specific requirements. It also lacks exclusions for credentials, authentication tokens, personal information, confidential business data, or messages for which persistence was not requested. ### Attack Path 1. A user or automated workflow loads the skill. 2. The skill directs the agent to inspect every subsequent message. 3. A message includes a sensitive value, URL, identifier, preference, or attacker-controlled instruction. 4. Before replying, the agent follows the skill and writes that content to `SESSION-STATE.md` ...[truncated 613 chars]- Remediation
View remediation
