session-transfer
Pass
Audited by Gen Agent Trust Hub on Sep 25, 2026
Risk Level: SAFECOMMAND_EXECUTIONINDIRECT_PROMPT_INJECTIONDYNAMIC_EXECUTION
Full Analysis
- [COMMAND_EXECUTION]: The skill uses the
subprocessmodule to execute informationalgitcommands (such asgit status,git log, andgit branch) to track work progress and reconcile repository state between sessions. These commands are static and do not involve untrusted input execution.\n- [INDIRECT_PROMPT_INJECTION]: The skill is designed to read and follow 'Next Recommended Action' and 'Resume Instructions' from handoff files stored in local directories. This creates an inherent surface for indirect instruction processing, which the skill manages through clear data structure boundaries and a mandatory validation process.\n - Ingestion points:
scripts/session_transfer_lib.pyandscripts/resume_handoff.pyread markdown handoff files from agent-specific directories like.codex/handoffs/.\n - Boundary markers: Metadata is segregated into YAML code blocks, and the content is organized using standard Markdown headers to delimit instructions from data.\n
- Capability inventory: The skill can write files to project-local agent directories and run informational
gitcommands.\n - Sanitization: The
scripts/validate_handoff.pyutility provides a security gate by scanning handoff text for secrets (API keys, tokens, passwords) using regular expressions and blocking the finalization of handoffs that fail these safety checks.\n- [DYNAMIC_EXECUTION]: The scriptsscripts/check_staleness.pyandscripts/create_handoff.pyuse the__import__function to dynamically load standard library modulesosandre. This is used for portable module loading and does not indicate malicious runtime code generation or obfuscation.
Audit Metadata