skills/broomva/skills/ctx-core/Gen Agent Trust Hub

ctx-core

Pass

Audited by Gen Agent Trust Hub on Nov 24, 2026

Risk Level: SAFEDYNAMIC_EXECUTIONCOMMAND_EXECUTIONEXTERNAL_DOWNLOADSINDIRECT_PROMPT_INJECTION
Full Analysis
  • [DYNAMIC_EXECUTION]: The shell wrappers scripts/ctx-hook.sh and scripts/ctx-s1-hook.sh dynamically execute Python code. Specifically, ctx-s1-hook.sh uses a Python loader that compiles and executes the local ctx_s1_hook.py script via exec(). This logic is employed as a fail-open mechanism to ensure the agent's turn is not blocked if the hook script is missing or unreadable.
  • [COMMAND_EXECUTION]: The skill executes various system commands through subprocesses to perform its coordination and auditing tasks. This includes using git for repository discovery and branch identification in scripts/ctx.py, the GitHub gh CLI to retrieve pull request data in scripts/ctx_s2.py, and the AI agent's own claude CLI to list active sessions during health checks in scripts/ctx_compare.py.
  • [EXTERNAL_DOWNLOADS]: The skill fetches pull request metadata from GitHub's official CLI as part of the context indexing process performed in scripts/ctx_s2.py.
  • [INDIRECT_PROMPT_INJECTION]: The skill processes data from session transcripts and repository files to inject context into the agent's prompts, creating a surface for indirect prompt injection. It mitigates this risk by using explicit boundary markers ([ctx claims]), flattening identifiers to single lines to prevent instruction breakout, and employing a guard_ok filter designed to drop strings containing credential-shaped tokens or long alphanumeric sequences.
Audit Metadata
Risk Level
SAFE
Analyzed
Nov 24, 2026, 12:38 AM