commit-pr-checklist

Warn

Audited by Gen Agent Trust Hub on Nov 29, 2026

Risk Level: MEDIUMCOMMAND_EXECUTIONEXTERNAL_DOWNLOADSCREDENTIALS_UNSAFEINDIRECT_PROMPT_INJECTIONDYNAMIC_EXECUTION
Full Analysis
  • [EXTERNAL_DOWNLOADS]: The script scripts/pr-inline-images.sh automatically installs the gh-image extension from the third-party GitHub repository drogers0/gh-image if it is not present on the system. This introduces an unverifiable dependency from an unknown author.
  • [CREDENTIALS_UNSAFE]: The skill requires a GH_SESSION_TOKEN (extracted from browser sessions) to bypass GitHub API limitations for image uploads. The documentation in references/pr-visual-evidence.md and the script scripts/pr-inline-images.sh provide instructions for the user to extract and manage this token, which is a privileged credential.
  • [COMMAND_EXECUTION]: The skill relies on multiple Python and shell scripts to analyze git state and local files.
  • scripts/preship-scan.sh executes git commands to scan staged changes for secrets, large files, and debug statements.
  • scripts/avoid_terms_check.py, scripts/pure_del_hunks.py, and scripts/removed_defs_check.py utilize subprocess.run to call git for diff analysis and definition tracking.
  • [INDIRECT_PROMPT_INJECTION]: The skill's core logic for generating PR descriptions (Gate G5 in SKILL.md) involves reading existing commit logs and PR titles to mirror the repository's established style. This creates an attack surface where malicious instructions in the commit history could influence the agent's behavior.
  • Ingestion points: Git commit history (git log) and previous PR metadata (gh pr list).
  • Boundary markers: None; the agent is instructed to directly incorporate the style and terminology found in the logs.
  • Capability inventory: Local file access, command execution, and network uploads via GitHub CLI.
  • Sanitization: None; the skill emphasizes learning from existing repository data without filtering for embedded instructions.
  • [DYNAMIC_EXECUTION]: The script scripts/pr-inline-images.sh dynamically generates and executes a Python script via stdin to perform text replacement within the pull request body.
Audit Metadata
Risk Level
MEDIUM
Analyzed
Nov 29, 2026, 01:38 AM