other
- Location
SKILL.md:126- Finding
Unrestricted Processing and Persistent Storage of Agent Memory
- Content
View full analysis
Vulnerability Details
File Location:
SKILL.md, lines 126–139
Vulnerability Type: Sensitive Agent Memory Access
Risk Level: MediumVulnerable Code
markdown ### Heartbeat Integration Add to your agent's `HEARTBEAT.md`: ```markdown ## Conatus Check - Run conatus self-analysis every 4th heartbeat - Log results to memory/conatus-log.md - Alert if score drops below 50Cron-Based Daily Reflection
Schedule a daily philosophical reflection:
text Generate a Conatus daily reflection for today. Review memory/YYYY-MM-DD.md and produce an Ordine Geometrico report. Save to memory/conatus/YYYY-MM-DD-reflection.mdtext ### Technical Analysis The skill directs the agent to modify its heartbeat configuration, repeatedly process daily memory files, and retain derived reports in persistent memory. Daily memory files can contain unrelated conversation history, personal information, operational details, or other sensitive context. The instructions provide no requirements for explicit user authorization, purpose limitation, field-level filtering, redaction, retention limits, or secure deletion. Reading an entire daily memory file is broader than necessary to calculate task-completion and recovery metrics. Writing the resulting analysis to additional persistent files also creates derived records that may reproduce or infer sensitive behavioral information. Although the documented behavior does not transmit memory to an external service, it unnecessarily expands the number of persistent locations in which sensitive information may be processed or retained. The heartbeat modification also causes this processing to recur beyond the immediate invocation. This is not established to be a malicious backdoor or attacker-controlled memory poisoning, so it is classified as an unlisted sensitive-memory-access issue rather than T02 or T06. ### Attack Path 1. A user installs or loads the skill and fo ...[truncated 1478 chars]- Remediation
View remediation
Remediation Suggestions
- Require explicit, informed user approval before reading daily memory, modifying
HEARTBEAT.md, or enabling recurring analysis. - Replace broad access to
memory/YYYY-MM-DD.mdwith a narrow input interface containing only required metrics, such as task counts, error-recovery rates, uptime, and user-approved quality indicators. - Prohibit inclusion of raw conversations, credentials, personal data, tool output, and unrelated operational context in generated reflections.
- Apply deterministic redaction or allowlisting before data is processed or persisted.
- Make heartbeat and scheduled integration opt-in rather than part of the default usage pattern.
- Store only aggregate scores when possible, and avoid retaining source excerpts or detailed behavioral narratives.
- Define retention periods, deletion procedures, file permissions, and maximum log sizes for all generated memory files.
- Clearly document which files are read, which files are written, how frequently processing occurs, and whether any data is shared externally.
- Provide a non-persistent mode that generates a report only in the current response without modifying agent memory or configuration.
- Require explicit, informed user approval before reading daily memory, modifying
