claude-handoff
Pass
Audited by Gen Agent Trust Hub on Sep 11, 2026
Risk Level: SAFECOMMAND_EXECUTIONINDIRECT_PROMPT_INJECTIONDYNAMIC_EXECUTION
Full Analysis
- [INDIRECT_PROMPT_INJECTION]: The skill is susceptible to indirect prompt injection because it ingests untrusted conversation history and user arguments to generate the prompt for a new background agent.\n
- Ingestion points: Conversation history and user-supplied arguments are summarized in
SKILL.md.\n - Boundary markers: Absent; the summary is passed directly as an argument without delimiters or safety warnings to the next agent.\n
- Capability inventory: The skill triggers shell command execution using the
claudeCLI as shown inSKILL.md.\n - Sanitization: Instructions advise the agent to redact sensitive information, but this relies on the model's reliability and is not a technical enforcement.\n- [COMMAND_EXECUTION]: The skill instructs the agent to construct and execute a shell command using generated text.\n
- Evidence:
claude --bg --name \"<descriptive name>\" \"<handoff summary>\"inSKILL.md.\n - Risk: Interpolating generated summaries into a shell command could lead to command injection if the summary contains backticks, subshell syntax, or unescaped quotes.\n- [DYNAMIC_EXECUTION]: Commands are dynamically generated based on potentially adversarial or complex conversation history.\n
- Evidence: The
<handoff summary>is dynamically created based on the current session context.
Audit Metadata