merge
Pass
Audited by Gen Agent Trust Hub on Nov 1, 2026
Risk Level: SAFECOMMAND_EXECUTIONINDIRECT_PROMPT_INJECTIONDYNAMIC_EXECUTION
Full Analysis
- [COMMAND_EXECUTION]: The skill uses shell commands (git checkout, merge, tag, branch) and a python call with multiple interpolated variables such as
{session-id},{winner}, and{task}. If these variables contain shell metacharacters and are not sanitized by the platform, it could lead to arbitrary command execution. - [INDIRECT_PROMPT_INJECTION]: The skill relies on data ingested from previous tasks and user inputs to determine which branches to merge or archive.
- Ingestion points: Session IDs and agent identifiers provided by the user or parsed from repository metadata in
.agenthub/. - Boundary markers: The skill instructions specify a manual user confirmation step ("Confirm with user before merging") which provides a human-in-the-loop safety check.
- Capability inventory: The skill can execute shell commands, write to the filesystem (merge-summary.md), and run local Python scripts.
- Sanitization: No explicit validation or escaping logic for the interpolated variables is provided in the instruction file.
- [DYNAMIC_EXECUTION]: The skill executes a local Python script
session_manager.pylocated at{skill_path}. It passes dynamic arguments like--cleanup {session-id}to this script at runtime, depending on the state of the session.
Audit Metadata