deliver-task
Pass
Audited by Gen Agent Trust Hub on Aug 31, 2026
Risk Level: SAFECOMMAND_EXECUTIONINDIRECT_PROMPT_INJECTION
Full Analysis
- [COMMAND_EXECUTION]: The utility script
scripts/deliver-task.mjsexecutes Git commands usingexecFileSyncto manage worktrees, verify commits, and handle repository snapshots. The script performs validation on inputs such as Task IDs and Git OIDs using regular expressions to prevent command injection. - [INDIRECT_PROMPT_INJECTION]: The skill processes external data, including repository source code and user-provided task contracts (
task.json). These inputs serve as the primary source of instructions for the agent's work. The skill implements boundary markers by isolating the environment in Git worktrees and using explicit allowed/forbidden path lists to mitigate risks associated with processing untrusted data. - Ingestion points: The skill reads task definitions from
task.json(via stdin), architecture guidelines fromARCHITECTURE.md, and repository source files as described inSKILL.mdandscripts/deliver-task.mjs. - Boundary markers: Instructions mandate the use of isolated Git worktrees, a dedicated
.dev-task/state directory, and explicitallowedPathsandforbiddenPathsfiltering. - Capability inventory: The agent is authorized to perform file system read/write operations and execute
gitsubprocesses through the provided helper script. - Sanitization: The
deliver-task.mjsscript performs JSON schema validation and regex-based input filtering for task metadata and Git OIDs.
Audit Metadata