headroom
Pass
Audited by Gen Agent Trust Hub on Oct 30, 2026
Risk Level: SAFECOMMAND_EXECUTIONPERSISTENCEINDIRECT_PROMPT_INJECTIONEXTERNAL_DOWNLOADS
Full Analysis
- [COMMAND_EXECUTION]: The skill uses
subprocess.runto invoke theheadroomandgraphifyCLI tools. These operations are implemented using argument lists (argv) rather than shell strings, effectively mitigating command injection risks. - [PERSISTENCE]: The provided installation script (
setup-claude-code-policy-hook.sh) registers a hook in the agent's configuration (~/.claude/settings.json). This is a legitimate persistence mechanism for the skill's functionality and includes safety measures such as backing up existing configuration and enforcing strict0600file permissions. - [INDIRECT_PROMPT_INJECTION]: The policy hook (
scripts/jeo-code-policy-hook.py) represents an ingestion surface for data from the host agent. It ingests structured JSON viasys.stdinand lacks explicit natural language boundary markers. However, the script's capabilities are restricted to read-only diagnostics (graphify scope,headroom doctor) and it sanitizes inputs by usingargvlists for subprocess calls, preventing data interpolation from leading to command injection. - [EXTERNAL_DOWNLOADS]: The skill facilitates the installation of the
headroom-aipackage via theuvtool. This is the primary purpose of the skill and targets the vendor's official package.
Audit Metadata