session-harvest
Pass
Audited by Gen Agent Trust Hub on Sep 18, 2026
Risk Level: SAFECOMMAND_EXECUTIONINDIRECT_PROMPT_INJECTION
Full Analysis
- [COMMAND_EXECUTION]: The skill utilizes Python's
subprocessmodule to execute various system commands includinggit,gh,docker,ps, andnetstatfor its auditing functions. Evidence: TheLiveRunnerclass inscripts/harvest.pyinvokessubprocess.runwithshell=Falseto collect system and repository information. - [INDIRECT_PROMPT_INJECTION]: The skill's core functionality involves analyzing session transcripts which contain untrusted data from user turns and tool outputs. Ingestion points:
scripts/harvest.pyreads Claude Code transcript files from~/.claudevia theread_entriesfunction. Boundary markers: The extraction and analysis logic does not implement specific delimiters or instructions to ignore potential commands embedded within the transcript text. Capability inventory: The skill has the capability to write to persistent files such asAGENTS.mdandplans/*.md, and can execute system commands through the agent harness. Sanitization: While transcript data is loaded as JSON, the extracted text is processed without dedicated filtering or sanitization to mitigate prompt injection risks. - [EXTERNAL_DOWNLOADS]: The skill connects to remote repositories using
git fetchand the GitHub CLI (gh) to retrieve updates and CI status. Evidence:SKILL.mddocuments network access for these tools to interact with repository remotes on well-known services.
Audit Metadata