visual-testing

Pass

Audited by Gen Agent Trust Hub on Aug 24, 2026

Risk Level: SAFECOMMAND_EXECUTIONEXTERNAL_DOWNLOADS
Full Analysis
  • [COMMAND_EXECUTION]: The script scripts/visual-diff.mjs executes external binaries using the node:child_process.execFileSync method. It invokes either reg-cli or npx to perform the visual comparison.
  • [EXTERNAL_DOWNLOADS]: The skill uses the command npx --yes reg-cli@latest to fetch and run the diffing tool from the npm registry if it is not pre-installed on the host system. This involves downloading and executing unpinned code from a public registry.
  • [INDIRECT_PROMPT_INJECTION]: The skill handles external image and report data which serves as an attack surface for indirect prompt injection. * Ingestion points: The agent processes findings from the report.json file read in scripts/visual-diff.mjs. * Boundary markers: There are no specific delimiters or ignore instructions used when processing the diff results. * Capability inventory: The skill can execute commands via execFileSync and perform file system operations. * Sanitization: The script performs standard JSON parsing but no additional validation or sanitization of the external tool's output.
Audit Metadata
Risk Level
SAFE
Analyzed
Aug 24, 2026, 04:04 AM