T05 · Unauthorized Access and Privilege Escalation
- Location
references/parse_session.py:32- Finding
Unrestricted Session Archive Parsing Exposes Private Conversation Data
- Content
View full analysis
- Remediation
View remediation
Security audit
Security checks for vulnerabilities and agentic risk
This skill is a session recovery tool, but it is too broad because it can expose arbitrary archived conversations, hidden thinking fields, and partial tool results without clear authorization or privacy controls.
Install only if you are comfortable giving the agent a workflow for reading local OpenClaw session archive files. Before use, restrict it to sessions you own or are explicitly authorized to inspect, avoid parsing arbitrary private/group/reset archives, and do not expose thinking fields, tool results, credentials, tokens, or sensitive code in recovery reports.
references/parse_session.py:32Unrestricted Session Archive Parsing Exposes Private Conversation Data
The skill instructs recovery and summarization of arbitrary session transcripts, including private conversation content, which creates a direct confidentiality risk. In the context of an agent environment, session archives can contain credentials, personal data, proprietary code, and sensitive operational history far beyond what a recall helper should expose.
The skill explicitly instructs extraction of message.content[].thinking, which is hidden internal reasoning rather than normal user-visible transcript content. Exposing or summarizing internal reasoning can leak confidential intermediate analysis, policy logic, or secrets that should never be surfaced through a recall feature.
Directing extraction of both message text and thinking fields turns the skill into a mechanism for disclosing internal and private data from archives. This is especially dangerous because thinking fields may contain hidden model reasoning or other non-user-facing content that should remain inaccessible even when transcript recovery is allowed.
The skill clearly instructs reading local session archive files and parsing transcript data, yet the manifest declares no explicit tool scope or permission boundary. This makes the skill's data-access behavior implicit and increases the risk of overbroad file access without informed review or consent.
The skill advertises full session recovery and transcript parsing without warning that it may reveal sensitive private history, secrets, or personal data. Users may invoke it expecting benign summarization, while the actual behavior materially increases exposure of archived conversations.
The description expands from recovering the current or previous session to letting any user retrieve the complete transcript of arbitrary sessions. That broadens the skill from continuity support into general transcript exfiltration, which can expose unrelated private conversations and sensitive historical context.
The documented commands enumerate and read local archived and reset session files from disk without disclosing the sensitivity of those artifacts. Reset archives and local session stores may contain data users assumed was lost or private, so undisclosed access materially increases the chance of unintended disclosure.
The output template encourages reproducing key context, configuration values, code snippets, and recent instructions from recovered sessions, which can amplify leakage of secrets and sensitive implementation details. Even if the recovery target is valid, this presentation increases downstream exposure by copying high-value data into a new response surface.
The natural-language instructions, usage cues, and trigger description are presented in Chinese, which may effectively force a specific language for use of the skill. The file does not offer an opt-in language choice or explain that the skill is intentionally limited to a Chinese-language context.
This code file contains natural-language strings for the description, usage text, and help output entirely in Chinese. Under the policy rule for language/locale, forcing a specific language without user opt-in is a natural-language policy concern when no alternative or justification is provided.