session-handoff
Pass
Audited by Gen Agent Trust Hub on Sep 14, 2026
Risk Level: SAFEINDIRECT_PROMPT_INJECTION
Full Analysis
- [INDIRECT_PROMPT_INJECTION]: The skill is designed to ingest session history and project-specific files to generate a handoff document that a subsequent agent is instructed to follow. This creates a surface for indirect prompt injection if the source materials (e.g., project documentation or prior conversation) contain malicious instructions.
- Ingestion points: The skill reads the current conversation context, project configuration files (such as CLAUDE.md or AGENTS.md), and results from session searches to build the handoff.
- Boundary markers: The skill requires the handoff to be output within a single fenced code block and includes a specific prompt footer for the next agent, which mandates verification of claims against the code rather than blind trust.
- Capability inventory: The procedure involves writing content to the local filesystem (e.g.,
/tmp/or the project root) and utilizing thedelegate_tasktool to pass context. - Sanitization: The instructions explicitly command the agent to redact secrets (API keys, tokens, PII) and to frames claims as context to be verified, which serves as a mitigation against data exposure and accidental instruction obedience.
Audit Metadata