record-pr-demo
Pass
Audited by Gen Agent Trust Hub on Oct 10, 2026
Risk Level: SAFEDYNAMIC_EXECUTIONINDIRECT_PROMPT_INJECTIONCOMMAND_EXECUTIONEXTERNAL_DOWNLOADS
Full Analysis
- [DYNAMIC_EXECUTION]: The skill instructs the agent to generate JavaScript scenario files in a temporary directory (
/tmp) and subsequently executes them using the Node.jsimport()function inscripts/prepare-demo.mjsandscripts/record-demo.mjs. This mechanism allows the agent to define and run custom browser automation scripts. - [INDIRECT_PROMPT_INJECTION]: The skill ingests external, potentially untrusted data such as pull request diffs and test configurations to plan and record demonstrations, which represents a vulnerability surface for instructions embedded in code or configuration.
- Ingestion points: Pull request diffs and test configurations are read as part of the feature inspection step in
SKILL.md. - Boundary markers: The skill does not define specific delimiters or instructions to ignore embedded commands within the diff content.
- Capability inventory: The skill possesses the ability to execute shell commands (
ffmpeg,ffprobe,gh), write files to the system, and perform network operations via Playwright browser automation and the GitHub CLI. - Sanitization: No sanitization or filtering of the ingested pull request content is performed before the agent processes it.
- [COMMAND_EXECUTION]: The skill frequently executes shell commands to process media and interact with GitHub.
- Evidence:
scripts/convert-demo.shinvokesffmpegandffprobe.scripts/prepare-demo.mjsusesspawnSyncto call the conversion script as well asffmpegandffprobedirectly. The publishing workflow inreferences/publishing.mdutilizes thegh(GitHub CLI) to view, edit, and comment on pull requests. - [EXTERNAL_DOWNLOADS]: The skill relies on the
@playwright/testpackage, which is designed to download and execute browser binaries (e.g., Chromium) to facilitate the recording process.
Audit Metadata