git-workflow

Warn

Audited by Gen Agent Trust Hub on Nov 23, 2026

Risk Level: MEDIUMDYNAMIC_EXECUTIONEXTERNAL_DOWNLOADSCOMMAND_EXECUTIONINDIRECT_PROMPT_INJECTION
Full Analysis
  • [DYNAMIC_EXECUTION]: The screenshot.mjs and record-video.mjs scripts dynamically assemble JavaScript code strings at runtime. They read logic from files (such as journey.js, setup.js, or steps.js) that are created by the agent and interpolate them into a template. This generated script is then executed through an external CLI tool (playwright-cli run-code), which is performing a dynamic execution of locally generated code.
  • [EXTERNAL_DOWNLOADS]: The skill is configured to download and execute external packages and binaries at runtime. Specifically, it uses npx to fetch the @playwright/cli package from the NPM registry if it is not already installed. Additionally, it facilitates the download of browser binaries (like 'Chrome for Testing', roughly 200MB) from remote servers when necessary for its visual capture functionality. These downloads target well-known and trusted sources (NPM and Microsoft).
  • [COMMAND_EXECUTION]: The skill performs extensive shell command execution to manage the git workflow and visual capture process. It uses git worktree to create temporary checkouts, executes node to run its internal scripts, uses npx for tool management, and employs the gh (GitHub) CLI to create and edit pull requests, including attaching media files. It also optionally uses ffmpeg for video conversion and potentially runs arbitrary dependency installation commands from the repository being analyzed.
  • [INDIRECT_PROMPT_INJECTION]: The skill possesses a vulnerability surface for indirect prompt injection because it processes untrusted data from the repository (such as ticket URLs, issue numbers, and PR descriptions) and uses this data to direct a browser-automation tool. This could be exploited to navigate the browser to sensitive internal pages, capture screenshots, and automatically attach them to a public pull request. Additionally, instructions to install dependencies and start the app on a separate worktree could lead to the execution of malicious code contained within a repository's build scripts.
  • Ingestion points: External URLs found in tickets (Jira, Linear, GitHub), PR templates, and repository-specific instructions or build configurations.
  • Boundary markers: Absent; the skill does not use specific delimiters or warnings to prevent the agent from obeying instructions embedded in the processed data.
  • Capability inventory: Full shell command execution (node, git, gh), network access via a browser automation tool (Playwright), and the ability to upload files to GitHub PRs.
  • Sanitization: Absent; URLs and other data points are used directly to drive automation or repository setup without validation or sanitization.
Audit Metadata
Risk Level
MEDIUM
Analyzed
Nov 23, 2026, 08:12 AM