commit-archaeologist
Pass
Audited by Gen Agent Trust Hub on Jul 23, 2026
Risk Level: SAFECOMMAND_EXECUTIONPROMPT_INJECTION
Full Analysis
- [COMMAND_EXECUTION]: The skill executes local
gitcommands (such aslog,show, andblame) via a Python script (scripts/archaeologist.py). The script uses thesubprocessmodule with argument lists to prevent shell injection and utilizes the--delimiter to protect against path-based argument injection. - [PROMPT_INJECTION]: The skill processes untrusted data from git commit messages, which represents a potential indirect prompt injection surface. Ingestion points: Git commit subjects and bodies read in
scripts/archaeologist.py. Boundary markers: Detailed interpretation rules and confidence levels inSKILL.mdandreferences/reading-git-history.mdexplicitly instruct the agent to remain skeptical. Capability inventory: The script is limited to read-only git operations and lacks network or file-write capabilities. Sanitization: Encoding errors are handled using theerrors='replace'parameter during output decoding. - [SAFE]: The skill operates entirely locally without external dependencies or network access. It includes path validation logic to ensure that all analyzed files are within the specified repository's directory, effectively mitigating path traversal risks.
Audit Metadata