history-session
Pass
Audited by Gen Agent Trust Hub on Aug 19, 2026
Risk Level: SAFECOMMAND_EXECUTION
Full Analysis
- [COMMAND_EXECUTION]: The skill executes a Python script using the shell to process session history.
- Evidence:
python3 ~/.claude/skills/history-session/scripts/history_session.py "$PWD"inSKILL.md. - [DATA_EXPOSURE_&_EXFILTRATION]: The skill accesses files within
~/.claude/projects/, which contain historical session data, including summaries and git branch names. This is the intended purpose of the skill to help users resume work. - Evidence:
scripts/history_session.pyreadssessions-index.jsonand.jsonlfiles from the user's home directory. - [INDIRECT_PROMPT_INJECTION]: The skill ingests untrusted data from session logs (
.jsonlfiles) and thesessions-index.jsonfile, displaying it back to the agent. - Ingestion points:
read_jsonlandread_indexfunctions inscripts/history_session.py. - Boundary markers: None identified in the script output; the agent is instructed to display output "exactly as-is".
- Capability inventory: Shell command execution to list sessions.
- Sanitization: Summaries are truncated to 45 characters, which provides minimal protection against long injection strings, but no explicit sanitization of content is performed.
Audit Metadata