git-audit-sync

Warn

Audited by Gen Agent Trust Hub on Nov 22, 2026

Risk Level: MEDIUMPROMPT_INJECTIONREMOTE_CODE_EXECUTIONCOMMAND_EXECUTIONINDIRECT_PROMPT_INJECTION
Full Analysis
  • [PROMPT_INJECTION]: The instructions in SKILL.md attempt to override standard security constraints by asserting 'standing authorization' for the agent. It explicitly directs the agent to skip user confirmation for committing and pushing code, stating that 'Secrets review is mechanical, not a user gate' and that 'it does not require per-repo user approval.' This pattern is designed to suppress user oversight for operations that modify the local filesystem and transfer data to remote servers.
  • [REMOTE_CODE_EXECUTION]: The scripts/audit_sync.py file contains a function check_pi_model that executes an external Python script located at ~/code/model-scan/cli_overall.py. Running external scripts whose source code is not part of the skill and whose integrity cannot be verified poses a risk of arbitrary code execution.
  • [COMMAND_EXECUTION]: The Python script scripts/audit_sync.py makes extensive use of the subprocess module to execute system commands including git, gh, and find. These commands are used to inspect and modify repository states and to communicate with remote git servers.
  • [INDIRECT_PROMPT_INJECTION]: The skill processes untrusted data from git repositories, such as branch names, file names, and diff outputs, which could contain malicious instructions designed to influence the agent's behavior.
  • Ingestion points: Repository metadata and diff content ingested via git status and git diff as seen in scripts/audit_sync.py.
  • Boundary markers: Absent; the data is presented to the agent without isolation or specific instructions to ignore embedded commands.
  • Capability inventory: The skill provides capabilities to perform git add, git commit, git push, and file system reads.
  • Sanitization: Absent; the skill relies on the agent's reasoning to handle potentially malicious input from repository content.
Audit Metadata
Risk Level
MEDIUM
Analyzed
Nov 22, 2026, 04:55 PM