finishing-a-development-branch
Pass
Audited by Gen Agent Trust Hub on Oct 6, 2026
Risk Level: SAFECOMMAND_EXECUTIONINDIRECT_PROMPT_INJECTIONDYNAMIC_EXECUTION
Full Analysis
- [COMMAND_EXECUTION]: The skill performs several local command-line operations to manage git branches and create pull requests.
- It uses
git merge-base,git checkout,git pull, andgit mergeto integrate code. - It uses the GitHub CLI (
gh pr create) to automate pull request creation. - It uses a custom script
scripts/run-teststo execute the project's test suite. - [INDIRECT_PROMPT_INJECTION]: The skill is susceptible to indirect prompt injection through project configuration files that it parses and acts upon.
- Ingestion points: The
scripts/run-testsscript reads content frompackage.json,Cargo.toml,pytest.ini,conftest.py,setup.cfg,go.mod, andMakefilewithin the local project directory. - Boundary markers: None. The script does not use delimiters or warnings when processing these files.
- Capability inventory: The skill has the capability to execute shell commands (
exec $RUNNER), write to the terminal, and perform git operations (push, merge, delete branches). - Sanitization: There is no sanitization or validation of the commands extracted from configuration files (specifically the
testscript inpackage.jsonor targets inMakefile) before they are passed to the shell for execution. - [DYNAMIC_EXECUTION]: The
scripts/run-testsutility implements dynamic execution by auto-detecting a project's test runner and executing it. - The script uses
sedto extract command strings frompackage.jsonand then usesexec $RUNNERto run the result. - This allows for the execution of arbitrary commands defined in the project's metadata, which is a standard feature for development tools but presents a security risk if the agent is operating on an untrusted or malicious repository.
Audit Metadata