The skill is vulnerable to shell injection in 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 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.
/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 with a dynamically generated title and body using a shell here-document. If the agent's internal state or user input is compromised, this could lead to shell injection or the creation of malicious pull requests for social engineering.
gh pr create --title "<title>" --body "$(cat <<'EOF' ... EOF)"
The skill instructs the agent to run the project's test suite using commands like 'npm test', 'cargo test', 'pytest', or 'go test'. While standard, if the project's test scripts are compromised, this could lead to arbitrary command execution.
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.