other
Error
- Location
- SKILL.md:145
- Finding
- Automatic Persistent Logging of Potentially Sensitive Conversation Data<![CDATA[ ## Vulnerability Details **File Location**: `SKILL.md:145-208` **Vulnerability Type**: Automatic collection and plaintext persistence of broad conversation data **Risk Level**: High ### Vulnerable Code ```markdown **The Law:** You are a stateful operator. Chat history is a BUFFER, not storage. `SESSION-STATE.md` is your "RAM" — the ONLY place specific details are safe. ### Trigger — SCAN EVERY MESSAGE FOR: - ✏️ **Corrections** — "It's X, not Y" / "Actually..." / "No, I meant..." - 📍 **Proper nouns** — Names, places, companies, products - 🎨 **Preferences** — Colors, styles, approaches, "I like/don't like" - 📋 **Decisions** — "Let's do X" / "Go with Y" / "Use Z" - 📝 **Draft changes** — Edits to something we're working on - 🔢 **Specific values** — Numbers, dates, IDs, URLs ### The Protocol **If ANY of these appear:** 1. **STOP** — Do not start composing your response 2. **WRITE** — Update SESSION-STATE.md with the detail 3. **THEN** — Respond to your human ``` ```markdown ### How It Works 1. **At 60% context** (check via `session_status`): CLEAR the old buffer, start fresh 2. **Every message after 60%**: Append both human's message AND your response summary 3. **After compaction**: Read the buffer FIRST, extract important context 4. **Leave buffer as-is** until next 60% threshold ``` ### Technical Analysis The Skill requires the agent to persist broad classes of information from every user message, including names, identifiers, URLs, dates, preferences, and decisions. Once context usage reaches 60%, it escalates to recording every exchange. These rules contain no sensitivity classifier, secret-redaction step, purpose limitation, retention period, encryption requirement, or restrictive file-permission requirement. Consequently, credentials, private URLs, personal identifiers, health information, confidential business details, and third-party data may be written into plaintext workspace files. The behavior exceeds minimum privilege for ordi ...[truncated 937 chars]
- Remediation
- <![CDATA[ ## Remediation Suggestions 1. Make persistent conversation logging explicitly opt-in. 2. Store only task-essential summaries rather than complete exchanges. 3. Add mandatory redaction for credentials, tokens, private URLs, financial information, health data, and government identifiers. 4. Exclude third-party personal data unless the user explicitly requests its retention. 5. Apply restrictive file permissions and encryption where supported. 6. Define short retention periods and automatic deletion procedures. 7. Provide commands to inspect, export, correct, and delete retained data. 8. Require user confirmation before enabling the working-buffer protocol. ]]>
