record-pr-demo
Pass
Audited by Gen Agent Trust Hub on Nov 13, 2026
Risk Level: SAFECOMMAND_EXECUTIONDYNAMIC_EXECUTIONINDIRECT_PROMPT_INJECTIONOBFUSCATION
Full Analysis
- [COMMAND_EXECUTION]: The skill frequently executes external CLI tools including
ffmpeg,ffprobe, andgh(GitHub CLI). These are used to capture lossless video, convert it to H.264, verify video metadata, and attach approved recordings to pull requests. All command executions are documented as part of the primary workflow and involve local processing or interaction with trusted GitHub infrastructure. - [DYNAMIC_EXECUTION]: The skill uses dynamic JavaScript loading to execute scenario scripts.
scripts/prepare-demo.mjsusesimport()to load user-provided scenario modules specified via the--scenarioargument.scripts/presentation-demo.mjsinjects browser-side scripts (WindowChrome/index.mjsandsidebar.mjs) by reading them from disk and loading them as Base64-encoded Data URIs within the browser context. This is a functional requirement for providing the recording overlay (chrome) without modifying the target application's source code.- [INDIRECT_PROMPT_INJECTION]: The skill possesses a vulnerability surface for indirect prompt injection because it processes user-supplied scenario scripts and potentially interacts with external project data (diffs, configs).
- Ingestion points: The primary entry point is the JavaScript scenario file provided to the
prepare-demo.mjsorrecording-job.mjsscripts. - Boundary markers: The skill implements a "Non-negotiable review gate" in
SKILL.md, requiring the agent to stop and obtain explicit user approval for the rendered MP4 and the specific script snapshot before any upload occurs. - Capability inventory: The skill can read/write files in the local repository and
/tmp, execute shell commands (ffmpeg,gh), and perform browser automation (Playwright). - Sanitization: No sanitization is performed on the scenario scripts themselves as they are intended to be executable code; however, the skill re-verifies the SHA-256 hash of the reviewed artifacts immediately before upload to ensure no tampering occurred between review and publication.
- [OBFUSCATION]: A test file,
scripts/record-demo.test.mjs, usesString.fromCharCodeto assemble the string "Clicked" within a mock application. This is a common pattern for obfuscation but in this context, it is a benign verification step in a test suite.
Audit Metadata