T06 · System Persistence
- Location
SKILL.md:70- Finding
Unattended Memory Consolidation Through a Persistent Scheduled Task
- Content
View full analysis
- Remediation
View remediation
Security audit
Security checks for vulnerabilities and agentic risk
The skill does what it says, but it can automatically read private memory journals and change long-term agent memory without a review step.
Install only if you are comfortable with the agent reading memory journals and changing MEMORY.md. Prefer manual runs or preview-only operation, avoid enabling nightly cron until there is an approval step, and review proposed additions for secrets, private data, prompt-like instructions, and unverified claims before they become long-term memory.
SKILL.md:70Unattended Memory Consolidation Through a Persistent Scheduled Task
SKILL.md:24Untrusted Journal Content Can Be Promoted Into Persistent Agent Memory
Hidden instructions were detected in comments or invisible text. These could contain malicious directives. Manual review is recommended.
#### 阶段四:标记(Mark)
给 30 天以上的旧日记打上"已整合"标签:
- 在文件顶部添加 `<!-- dream-consolidated: YYYY-MM-DD -->`
- **绝不删除任何文件**——只标记,不销毁
#### 阶段五:报告(Report)
Hidden instructions were detected in comments or invisible text. These could contain malicious directives. Manual review is recommended.
#### 阶段四:标记(Mark)
给 30 天以上的旧日记打上"已整合"标签:
- 在文件顶部添加 `<!-- dream-consolidated: YYYY-MM-DD -->`
- **绝不删除任何文件**——只标记,不销毁
#### 阶段五:报告(Report)
The skill is expressly designed to mine conversation-derived memory logs and promote selected information into long-term memory. That creates a semantic data-retention risk because sensitive user information, secrets, or incidental personal data may be persisted beyond the original conversation scope.
Skill establishes unauthorized persistence across sessions via cron jobs, startup scripts, or state files. Session persistence allows an attacker to maintain access beyond the current interaction.
方式三:只复制核心文件
mkdir -p ~/.openclaw/skills/memory-dream
curl -o ~/.openclaw/skills/memory-dream/SKILL.md \
https://raw.githubusercontent.com/wavmson/openclaw-skill-memory-dream/main/SKILL.md
Skill establishes unauthorized persistence across sessions via cron jobs, startup scripts, or state files. Session persistence allows an attacker to maintain access beyond the current interaction.
方式三:只复制核心文件
mkdir -p ~/.openclaw/skills/memory-dream
curl -o ~/.openclaw/skills/memory-dream/SKILL.md \
https://raw.githubusercontent.com/wavmson/openclaw-skill-memory-dream/main/SKILL.md
Skill enumerates or reads other installed skills. Access to other skills' SKILL.md files or the skills directory reveals prompt instructions, capabilities, and secrets that should be invisible to peer skills.
mkdir -p ~/.openclaw/skills/memory-dream
curl -o ~/.openclaw/skills/memory-dream/SKILL.md \
https://raw.githubusercontent.com/wavmson/openclaw-skill-memory-dream/main/SKILL.md
Skill enumerates or reads other installed skills. Access to other skills' SKILL.md files or the skills directory reveals prompt instructions, capabilities, and secrets that should be invisible to peer skills.
mkdir -p ~/.openclaw/skills/memory-dream
curl -o ~/.openclaw/skills/memory-dream/SKILL.md \
https://raw.githubusercontent.com/wavmson/openclaw-skill-memory-dream/main/SKILL.md
The Chinese trigger '做梦' is common natural language and may be used figuratively in normal conversation, making accidental activation plausible. In this skill's context, unintended runs can scan memory logs, alter MEMORY.md, and mark older files without deliberate user intent.
The Scan phase directs the agent to extract 'new facts' and contradictions from recent journals into durable memory. Without strong classification and consent checks, this can convert ephemeral conversation data into persistent records, increasing privacy and compliance risk.
The Merge phase explicitly instructs adding facts, preferences, and configurations from logs into MEMORY.md. Preferences and configurations can include sensitive behavioral or environment details, so storing them persistently can amplify exposure if memory is later accessed or leaked.
The README states daily memory files are 'read-only' while the documented Mark phase says the skill adds consolidation tags to old journal files. This discrepancy can mislead operators about write behavior and trust boundaries, causing them to enable the skill in environments where modifying historical logs is not acceptable.
The English description confirms that recent daily files are scanned and important information is extracted into long-term memory. This is the core functional behavior, but it also creates persistent retention of user-derived data that may outlive the original context or expectation.
Using 'dream' as a trigger is overly broad and likely to appear in ordinary conversation, which creates a realistic risk of unintended activation. Because this skill reads logs and updates persistent memory, accidental invocation can cause unplanned data retention and file modification.
The English Scan instructions tell the agent to read recent memory files and extract information not already in long-term memory. In the context of conversational journals, this can silently persist sensitive or context-specific details that should remain transient.
The English Merge phase instructs storing new facts, preferences, and configurations in MEMORY.md, directly expanding persistent state from prior logs. This is dangerous when the source logs can contain confidential user data, system details, or prompt-injected content that should not be promoted to durable memory.
The English Notes section claims daily files are read-only, but earlier sections explicitly instruct adding a consolidation comment to files older than 30 days. Inconsistent documentation about file mutation can lead to unsafe deployment assumptions and accidental integrity-policy violations.
The trigger list includes generic phrases such as "dream" and "consolidate memory," which can plausibly appear in ordinary conversation and cause accidental activation. Because this skill performs persistent file reads/writes and can also run automatically, ambiguous invocation increases the chance of unintended memory modification without explicit user intent.
The usage section repeats broad activation conditions, including ordinary-language phrases and autonomous triggers like cron or heartbeat, without a strong authorization boundary. This makes unintended execution more likely, especially in environments where agents continuously process chat or system events.
The skill directs the agent to extract facts from daily journals into long-term memory and to append a log entry for each run, creating a built-in retention path for potentially sensitive natural-language content. Even without malicious intent, this can persist private details, inferred preferences, or operational data beyond the original context and increase exposure if memory files are later accessed or reused.
The skill instructs the agent to modify persistent memory artifacts, mark old journals, and report consolidation results, but it does not prominently warn that user data will be copied into long-term storage and potentially retained indefinitely. Users may not understand that invoking the skill or enabling cron changes durable files automatically, which creates consent and privacy risks.
By declaring MEMORY.md the primary output for all consolidated knowledge, the skill encourages broad, cumulative retention of user-derived information in a single durable location. In context, this is more dangerous because the skill is specifically designed to aggregate multiple daily files, which amplifies privacy impact and the risk of sensitive information becoming normalized as long-term memory.
No suspicious patterns detected.