sync-git
Pass
Audited by Gen Agent Trust Hub on Sep 7, 2026
Risk Level: SAFECOMMAND_EXECUTIONINDIRECT_PROMPT_INJECTION
Full Analysis
- [COMMAND_EXECUTION]: The skill executes a bash script (
scripts/sync.sh) to perform git operations. It also provides the agent with specific shell commands to manage git worktrees and resolve merge conflicts manually, includinggit merge,git worktree remove, andgit branch -d. It further manages system state by removing the.git/index.lockfile if it is determined to be stale. - [INDIRECT_PROMPT_INJECTION]: The skill is susceptible to indirect prompt injection because it ingests untrusted data from a remote git repository during synchronization.
- Ingestion points: The
git pullandgit fetchcommands withinscripts/sync.shfetch external content into the local environment. - Boundary markers: Absent. There are no instructions to the agent to treat the pulled content or resolved conflicts as potentially untrusted or to ignore embedded instructions.
- Capability inventory: The agent has the capability to execute shell scripts (
bash), modify the file system via git commands andrm, and perform network operations (git push). - Sanitization: Absent. The skill's conflict resolution logic instructs the agent to automatically merge content (e.g., 'accept both'), which could allow malicious instructions from the remote source to persist in the workspace.
Audit Metadata