specgate-router
Pass
Audited by Gen Agent Trust Hub on Jul 22, 2026
Risk Level: SAFECOMMAND_EXECUTION
Full Analysis
- [COMMAND_EXECUTION]: The skill's primary function is to instruct the agent to execute the
specgateCLI tool. It provides specific command templates such asspecgate change status "$WORK_REF" --json,specgate doctor --json, andspecgate open. While this involves shell execution, it is the intended purpose of the skill to interface with this specific tool. - [INDIRECT_PROMPT_INJECTION]: The skill contains an attack surface for indirect prompt injection as it processes data from external sources (repository artifacts and CLI outputs).
- Ingestion points: The agent interpolates a user-provided
$WORK_REFinto a shell command and is instructed to follow instructions contained in the JSON output ofspecgate change status(specificallydata.next_actorandnext_command). It also reads "Context Packs" from the repository. - Boundary markers: There are no explicit delimiters or warnings provided to the agent to ignore instructions embedded within the CLI output or repository artifacts.
- Capability inventory: The agent has the capability to execute shell commands via the
specgateCLI. - Sanitization: The skill does not provide instructions for sanitizing the
$WORK_REFinput or validating the contents of thenext_commandfield before execution.
Audit Metadata