claude-sessions
Pass
Audited by Gen Agent Trust Hub on Oct 17, 2026
Risk Level: SAFEDATA_EXFILTRATIONINDIRECT_PROMPT_INJECTION
Full Analysis
- [DATA_EXFILTRATION]: The skill accesses sensitive local conversation history files located in
~/.claude/projects/. These JSONL transcripts contain full records of previous agent interactions, which may include proprietary source code, internal system paths, and user-provided secrets or credentials. While no external network exfiltration was detected, the skill exposes this entire history to the agent's context. - [INDIRECT_PROMPT_INJECTION]: The skill processes untrusted content from past session transcripts (which could include data retrieved from the web or output from untrusted tools in previous sessions), creating a risk for indirect prompt injection.
- Ingestion points: Local
.jsonltranscript files in~/.claude/projects/are scanned byrank_sessions.pyand then read viagrepand subagents. - Boundary markers: Absent. The instructions do not define clear delimiters or provide the subagents with warnings to ignore instructions embedded within the transcript data.
- Capability inventory: The agent has access to powerful tools including
Bash,Read,Agent, andTask, which could be exploited if an injection is successful. - Sanitization: No validation or sanitization is performed on the raw transcript text before it is presented to the subagents for summarization.
Audit Metadata