review
Warn
Audited by Gen Agent Trust Hub on Jul 6, 2026
Risk Level: MEDIUMCOMMAND_EXECUTIONPROMPT_INJECTION
Full Analysis
- [COMMAND_EXECUTION]: The skill instructs the agent to execute the shell command
mkdir -p "/tmp/$(basename "$PWD")". Because the directory name is derived from the current working directory, an attacker could potentially achieve command execution by tricking a user into running the skill within a maliciously named directory (e.g., one containing backticks or command substitution syntax). - [PROMPT_INJECTION]: The skill processes untrusted code changes from
git diffoutput, creating a surface for indirect prompt injection where malicious instructions within the reviewed code could influence the agent's behavior. - Ingestion points: The agent ingests output from
git diff HEADandgit diff --cachedinto its execution context. - Boundary markers: The instructions do not define boundary markers or explicit delimiters to separate the untrusted diff content from the agent's logic.
- Capability inventory: The skill has the capability to execute shell commands (
git,mkdir) and perform file system write operations. - Sanitization: There is no evidence of input sanitization or validation of the diff output before it is processed by the agent.
Audit Metadata