specgate-work-delivery
Warn
Audited by Gen Agent Trust Hub on Jul 26, 2026
Risk Level: MEDIUMCOMMAND_EXECUTIONREMOTE_CODE_EXECUTIONDATA_EXFILTRATIONPROMPT_INJECTION
Full Analysis
- [COMMAND_EXECUTION]: The skill extracts a
next_commandfield from the JSON output of thespecgate change statuscommand and explicitly instructs the agent to "Run it verbatim". While the skill attempts to mitigate risk by requiring the command to be a singlespecgateCLI call without shell operators, it still allows a remote service to dictate which local commands the agent executes at runtime. - [REMOTE_CODE_EXECUTION]: Because the instructions to execute specific commands are provided by the
specgateservice's state data, this creates a mechanism for remote logic to drive local agent behavior. Additionally, the--run-checksflag in section 5 indicates that the tool executes shell commands defined in a completion scaffold. - [DATA_EXFILTRATION]: The skill collects and transmits local project metadata to the
specgateservice. This includes repository remote URLs, branch names, current head revisions (git rev-parse HEAD), and file change statuses (git status --short). This data is sent via thesubmitandreportsubcommands. - [PROMPT_INJECTION]: The skill processes untrusted external data in the form of
guidanceandmissingfields from the CLI status. These fields are used to determine the agent's next steps and logic flow. 1. Ingestion point: Data enters viaspecgate work contextandspecgate change status. 2. Boundary markers: None provided for the interpolatedguidancetext. 3. Capability inventory: Subprocess calls tospecgateand shell-based check execution. 4. Sanitization: No sanitization is performed; the agent is told to carry the guidance verbatim through later steps.
Audit Metadata