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.mjsandrecord-video.mjsscripts dynamically assemble JavaScript code strings at runtime. They read logic from files (such asjourney.js,setup.js, orsteps.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
npxto fetch the@playwright/clipackage 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 worktreeto create temporary checkouts, executesnodeto run its internal scripts, usesnpxfor tool management, and employs thegh(GitHub) CLI to create and edit pull requests, including attaching media files. It also optionally usesffmpegfor 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