merge
Warn
Audited by Gen Agent Trust Hub on Oct 30, 2026
Risk Level: MEDIUMCOMMAND_EXECUTIONDYNAMIC_EXECUTIONINDIRECT_PROMPT_INJECTION
Full Analysis
- [DYNAMIC_EXECUTION]: The script
local-check.pyimplements a local execution environment for GitHub Actions. It parses the.github/workflows/checks.ymlfile from the repository and executes the shell commands defined in therun:blocks usingbashorsh. This allows the execution of arbitrary commands defined within project-controlled configuration files. - Evidence:
scripts/local-check.pyusessubprocess.runto execute scripts extracted from the YAML workflow file in a local environment. - [DYNAMIC_EXECUTION]:
scripts/merge.pyandscripts/review_boxes.pyutilizeimportlib.utilto dynamically load and execute Python modules from computed paths, specifically the project's.agents/hooks/directory. - Evidence: The
shared_review_reader()function inscripts/merge.pyand theopen_review_box()function inscripts/review_boxes.pydynamically import modules based on local file paths. - [COMMAND_EXECUTION]: Multiple scripts within the skill, including
first-upload.py,merge.py,protect-branch.py, andupload-piece.py, make extensive use ofsubprocess.runto execute shell commands such asgitand the GitHub CLI (gh). This behavior is integral to the skill's functionality but requires strict adherence to security best practices for command construction. - Evidence: Frequent calls to
subprocess.run()are present inscripts/merge.py,scripts/first-upload.py, andscripts/protect-branch.pyfor repository management operations. - [INDIRECT_PROMPT_INJECTION]: The skill processes untrusted data from external sources, specifically Pull Request descriptions and issue bodies retrieved via the GitHub API, which could influence agent behavior.
- Ingestion points: PR bodies are read in
scripts/merge.pyand issue bodies are read inscripts/upload-piece.pyviaghAPI calls. - Boundary markers: The skill instructions guide the agent to look for specific markers (e.g., "Worth stopping for" boxes or "Done when" sections), but these do not fully isolate the agent from instructions embedded in general prose.
- Capability inventory: The skill has the ability to merge code, push to remote repositories, and execute local scripts.
- Sanitization: A secret scanner (
.agents/hooks/scan-secrets.sh) is employed inscripts/upload-piece.pyto check for sensitive data in PR titles and bodies before processing.
Audit Metadata