sync-force-to
Pass
Audited by Gen Agent Trust Hub on Jun 21, 2026
Risk Level: SAFECOMMAND_EXECUTIONPROMPT_INJECTION
Full Analysis
- [COMMAND_EXECUTION]: The skill executes a bundled bash script using an unquoted variable for arguments.
- Evidence: The execution instruction
bash $HOME/.claude/skills/sync-force-to/scripts/sync-force-to.sh $ARGUMENTSinSKILL.mddoes not quote the$ARGUMENTSvariable. - Risk: This allows the shell to perform word splitting and globbing, which can lead to command injection if an attacker-controlled branch name containing shell metacharacters (e.g.,
;,|,&) is processed. - [COMMAND_EXECUTION]: The skill performs destructive remote operations using the GitHub CLI and Git.
- Evidence: The script
scripts/sync-force-to.shperformsgit push --deleteon remote branches. - Mitigation: The skill includes instructions to the agent to always ask for user confirmation and implements a backup PR mechanism to allow for state recovery.
- [PROMPT_INJECTION]: The skill contains an attack surface for indirect prompt injection during the configuration of GitHub Actions.
- Ingestion points: The skill reads existing workflow files from
.github/workflows/*.ymlin theSetup modedefined inSKILL.md. - Capability inventory: The skill has the ability to modify these workflow files using the
Edittool. - Boundary markers: No delimiters or specific instructions to ignore embedded content are used when processing the workflow files.
- Sanitization: The skill does not perform validation or sanitization of the existing workflow content before applying modifications.
Audit Metadata