session-logs
Pass
Audited by Gen Agent Trust Hub on Oct 11, 2026
Risk Level: SAFEINDIRECT_PROMPT_INJECTIONCOMMAND_EXECUTION
Full Analysis
- [INDIRECT_PROMPT_INJECTION]: The skill reads historical conversation logs stored in JSONL format, which represent a source of untrusted data from previous sessions.
- Ingestion points: Reads files from
~/.openclaw/agents/<agentId>/sessions/usingjqandrg. - Boundary markers: No specific delimiters or safety instructions are included to prevent the agent from following instructions found within the logs.
- Capability inventory: The skill utilizes standard text processing tools (
jq,rg,awk,sort). It does not use tools for network communication, file writing, or administrative tasks. - Sanitization: Uses
jqto extract specific message fields, which offers structured data isolation but does not sanitize the text content for potential prompt injection attacks. - [COMMAND_EXECUTION]: The instructions provide several bash command templates that use pipes and subshells.
- Evidence: Examples include complex
forloops combined withjq,awk, andsortto generate summaries and cost reports from local files.
Audit Metadata