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.mjsexecutes external binaries using thenode:child_process.execFileSyncmethod. It invokes eitherreg-cliornpxto perform the visual comparison. - [EXTERNAL_DOWNLOADS]: The skill uses the command
npx --yes reg-cli@latestto 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.jsonfile read inscripts/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 viaexecFileSyncand 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