other
- Location
SKILL.md:12- Finding
Unbounded Retention of Sensitive Conversation Data
- Content
View full analysis
Vulnerability Details
File Location:
SKILL.md, lines 12–15 and 27–29
Vulnerability Type: Privacy-sensitive data collection and retention
Risk Level: MediumThe skill instructs the agent to process conversation transcripts or logs, extract identity information and preferences, preserve original content, and permanently retain selected information.
markdown 1. 读取会话文本或日志 2. 提取身份、偏好、任务、知识 3. 将原始内容保留到短期日志 4. 将高价值内容提升到长期层markdown - 重要内容永久固化 - 无效噪声不进入长期层 - 保留完整短期回溯链路Technical Analysis
Conversation logs can contain credentials, authentication tokens, personal identifiers, confidential business information, and other sensitive data. The documented workflow explicitly calls for retaining raw content and permanently promoting selected information to a long-term layer.
No consent check, sensitive-data filter, field allowlist, retention deadline, encryption requirement, access-control policy, deletion facility, or documented storage location is specified. Consequently, sensitive information could be copied into durable storage without adequate controls. The referenced
scripts/personal_ai_memory.pyimplementation is absent from the audited project, so its actual storage and protection behavior cannot be verified.Attack Path
- A user supplies a session transcript containing personal information, credentials, or confidential material.
- The workflow reads the transcript and extracts identity, preference, task, and knowledge fields.
- The original transcript is retained in a short-term log.
- Content considered valuable is promoted to long-term storage, particularly when the documented
--applyoperation is used. - A later session, user, process, or storage compromise accesses or discloses the retained information.
Impact Assessment
Successful exploitation or accidental exposure could disclose sensitive conversation content across sessions. The affected scope inclu ...[truncated 302 chars]
- Remediation
View remediation
Remediation Suggestions
- Require explicit, informed user consent before processing or retaining transcripts.
- Make raw-session retention opt-in rather than the default.
- Detect and redact credentials, tokens, private keys, financial data, health data, and sensitive identifiers before storage.
- Use an allowlist of fields eligible for long-term retention instead of broadly extracting identity and knowledge.
- Require user review and confirmation before applying long-term-memory changes.
- Encrypt retained data at rest and restrict access according to least privilege.
- Define short, enforceable retention periods for raw logs and automatically delete expired records.
- Provide mechanisms to inspect, correct, export, and permanently delete retained information.
- Document the storage location, trust boundary, access model, and backup behavior.
- Include the referenced script in the package for review, or remove the nonfunctional command documentation until its implementation can be audited.
