hunk-review
Warn
Audited by Gen Agent Trust Hub on Apr 10, 2026
Risk Level: MEDIUMCOMMAND_EXECUTIONPROMPT_INJECTIONDATA_EXFILTRATION
Full Analysis
- [COMMAND_EXECUTION]: The
hunk session reload -- <command>instruction inSKILL.mdallows the agent to execute subcommands. While the documentation provides examples fordiffandshow, the command structure is a common pattern for passing and executing arbitrary commands through a subprocess.\n- [DATA_EXFILTRATION]: The skill accesses local repository content and diff patches usinghunk session review --repo . --include-patch --json. While this is required for the skill's primary purpose of code review, it grants the agent access to potentially sensitive source code and repository data.\n- [PROMPT_INJECTION]: The skill is susceptible to indirect prompt injection because it ingests untrusted data from diff sessions.\n - Ingestion points:
hunk session reviewandhunk session contextcommands inSKILL.mdfetch content from external git repositories.\n - Boundary markers: No explicit delimiters or instructions are provided to the agent to treat diff content as data rather than instructions.\n
- Capability inventory: The agent possesses the ability to execute commands via
hunk session reloadand modify session state by adding or applying comments viahunk session commentcommands inSKILL.md.\n - Sanitization: There is no evidence of sanitization, filtering, or validation of the ingested diff data before it is processed by the agent.
Audit Metadata