worklets-cherry-pick
Pass
Audited by Gen Agent Trust Hub on Nov 21, 2026
Risk Level: SAFEINDIRECT_PROMPT_INJECTIONCOMMAND_EXECUTION
Full Analysis
- [INDIRECT_PROMPT_INJECTION]: The skill processes untrusted metadata from GitHub Pull Requests (titles and author information) and incorporates them into shell commands. This creates a surface for indirect prompt injection where an attacker could craft a PR title to attempt command injection.\n
- Ingestion points: GitHub PR metadata is fetched in SKILL.md using
gh pr viewandgit show.\n - Boundary markers: The skill contains explicit instructions to use double quotes around shell variables (
\"$title\",\"$author\") and warns against typing metadata directly into commands to prevent execution of backticks or subshells.\n - Capability inventory: The skill uses
gitandghto perform file system operations (worktrees), commit code, and perform network operations (pushing to GitHub, creating PRs, updating issues).\n - Sanitization: PR titles are processed with
sedto remove conventional commit prefixes, which provides basic filtering of the input.\n- [COMMAND_EXECUTION]: The skill performs extensive shell command execution usinggitandghto manage branches, worktrees, and repository state. These actions are intended for the skill's core purpose of backporting code and are restricted to the author's own repository.
Audit Metadata