This skill is vulnerable to shell command injection via PR creation
Claims to do
Finishing a Development Branch: Guide completion of development work by presenting clear options and handling chosen workflow.
Actually does
This skill executes various `git` commands to manage local branches (merge, delete, push), runs project-specific test commands (`npm test`, `cargo test`, `pytest`, `go test`), and interacts with GitHub via `gh pr create` to create pull requests. It also manages `git worktree` instances by listing and removing them, and implicitly contacts GitHub via `git push` and `gh pr create`.
/plugin marketplace add obra/superpowers/plugin install finishing-a-development-branch@obra/superpowersgemini extensions install https://github.com/obra/superpowers.git --consentnpx skills add https://github.com/obra/superpowersThe skill constructs a `gh pr create` command using placeholders for title and body. If these placeholders are filled with unsanitized user input or attacker-controlled data, it could lead to shell command injection.
gh pr create --title "<title>" --body "$(cat <<'EOF' ... EOF)"
The skill executes project-defined test commands (`npm test`, `cargo test`, `pytest`, `go test`). If the project's test scripts are malicious, this could lead to arbitrary code execution on the host system.
npm test / cargo test / pytest / go test ./...
[](https://mondoo.com/ai-agent-security/skills/github/obra/superpowers/finishing-a-development-branch)<a href="https://mondoo.com/ai-agent-security/skills/github/obra/superpowers/finishing-a-development-branch"><img src="https://mondoo.com/ai-agent-security/api/badge/github/obra/superpowers/finishing-a-development-branch.svg" alt="Mondoo Skill Check" /></a>https://mondoo.com/ai-agent-security/api/badge/github/obra/superpowers/finishing-a-development-branch.svgSkills can read files, run commands, and access credentials. Mondoo helps organizations manage the security risks of AI agent skills across their entire fleet.