claude-handoff
Pass
Audited by Gen Agent Trust Hub on Nov 23, 2026
Risk Level: SAFECOMMAND_EXECUTIONINDIRECT_PROMPT_INJECTION
Full Analysis
- [COMMAND_EXECUTION]: The skill instructs the agent to execute the platform's command-line interface (
claude) to initiate a background session. It uses shell subshell expansion$(cat ...)to read a conversation summary from a temporary file and pass it as a prompt argument (SKILL.md). - [INDIRECT_PROMPT_INJECTION]: The handoff process creates a propagation path for potentially malicious instructions from the current conversation context to a fresh background agent.
- Ingestion points: The conversation summary is derived from the current session's history, which may include untrusted content from files, URLs, or other tool outputs (SKILL.md).
- Boundary markers: The instructions specify using a shell separator (
--) to mitigate command injection at the shell level but do not define delimiters or system instructions for the next agent to distinguish the summary from its primary directives. - Capability inventory: The skill enables execution of the
claudeCLI and file system operations in the operating system's temporary directory (SKILL.md). - Sanitization: The instructions advise redacting sensitive information like API keys and passwords, but they do not include guidance for identifying or neutralizing malicious instructions embedded in the summarized data.
Audit Metadata