implement
Warn
Audited by Gen Agent Trust Hub on Aug 17, 2026
Risk Level: MEDIUMCOMMAND_EXECUTIONREMOTE_CODE_EXECUTIONPROMPT_INJECTION
Full Analysis
- [REMOTE_CODE_EXECUTION]: The
scripts/cleanup.pyscript automatically executes a script file discovered at runtime within the managed repository. Evidence: The script definesREPOSITORY_HOOK = ".agents/hooks/cleanup"and executes it inrepository_hookusingsubprocess.run([str(hook)], cwd=primary, allowed=(0, 1)). This allows any repository the agent works on to execute arbitrary code. - [COMMAND_EXECUTION]: The skill relies on executing
gitandghshell commands viasubprocess.runinstart.py,delivery.py, andcleanup.py. Spawning subprocesses based on external repository state and data increases the vulnerability to command injection if arguments are not strictly controlled. - [PROMPT_INJECTION]: The skill is vulnerable to indirect prompt injection through the ingestion of untrusted data from GitHub. 1. Ingestion points: Issue metadata and sub-issue lists in
scripts/start.py, and pull request review thread comments inscripts/delivery.py. 2. Boundary markers: No delimiters or protective instructions are used when handling these external strings. 3. Capability inventory: The skill can execute shell commands, manage files, and run local repository hooks. 4. Sanitization: Whilesubprocess.runuses list-based arguments, there is no validation or sanitization of the text content retrieved from GitHub.
Audit Metadata