session-bash-audit
Pass
Audited by Gen Agent Trust Hub on Sep 15, 2026
Risk Level: SAFECOMMAND_EXECUTIONDATA_EXFILTRATIONINDIRECT_PROMPT_INJECTION
Full Analysis
- [COMMAND_EXECUTION]: The script executes local git commands to identify its own version hash when recording measurement baselines.
- Evidence:
scripts/audit.pyusessubprocess.runto callgit ls-files,git rev-parse, andgit statuson the skill's own directory. - [DATA_EXFILTRATION]: The skill accesses sensitive local files containing session history and agent configuration settings, representing data exposure.
- Evidence:
scripts/audit.pyreads Claude Code transcript logs from~/.claude/projects/*.jsonl. - Evidence:
scripts/prompts.pyreads configuration from~/.claude/settings.jsonto simulate permission engine behavior. - [INDIRECT_PROMPT_INJECTION]: The skill processes and displays content from previous session transcripts, which may contain untrusted data or past malicious instructions that could influence the agent's context.
- Ingestion points:
~/.claude/projects/*.jsonl(parsed inscripts/audit.py). - Boundary markers: Absent; transcript content is printed directly into the agent's output buffer.
- Capability inventory: Local file writing (baselines and JSON dumps), metadata-focused subprocess calls, and printing to stdout.
- Sanitization: Absent; the tool extracts and displays raw command strings and transcript snippets verbatim.
Audit Metadata