session-handoff
Pass
Audited by Gen Agent Trust Hub on Oct 9, 2026
Risk Level: SAFEINDIRECT_PROMPT_INJECTIONCOMMAND_EXECUTION
Full Analysis
- [INDIRECT_PROMPT_INJECTION]: The skill is designed to read and process handoff files created in previous sessions, which creates a surface for indirect prompt injection if those files contain malicious instructions.
- Ingestion points: The agent is instructed in
SKILL.mdto "Read the relevant handoff document completely" during theRESUME Workflow. Additionally,scripts/list_handoffs.py,scripts/check_staleness.py, andscripts/validate_handoff.pyingest and parse these files. - Boundary markers: There are no explicit delimiters or "ignore instructions" warnings defined to wrap the content of the handoff documents when they are loaded into the agent's context.
- Capability inventory: The skill can execute local shell commands (Git) and write new files to the project directory.
- Sanitization: The
validate_handoff.pyscript checks for hardcoded secrets and incomplete placeholders but does not include sanitization logic for the natural language content to prevent instruction overrides. - [COMMAND_EXECUTION]: Several scripts use the
subprocessmodule to execute Git commands on the local system. - Evidence:
subprocess.run()calls are located inscripts/check_staleness.py,scripts/create_handoff.py, andevals/setup_test_env.py. These calls facilitate project metadata discovery, such as branch status, recent commits, and file differences. The commands are constructed using static lists, which mitigates direct shell injection risk, though they operate based on directory paths parsed from the project environment.
Audit Metadata