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.shautomatically installs thegh-imageextension from the third-party GitHub repositorydrogers0/gh-imageif 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 inreferences/pr-visual-evidence.mdand the scriptscripts/pr-inline-images.shprovide 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.shexecutesgitcommands to scan staged changes for secrets, large files, and debug statements.scripts/avoid_terms_check.py,scripts/pure_del_hunks.py, andscripts/removed_defs_check.pyutilizesubprocess.runto callgitfor 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.shdynamically generates and executes a Python script via stdin to perform text replacement within the pull request body.
Audit Metadata