visual-auditor
Pass
Audited by Gen Agent Trust Hub on Sep 11, 2026
Risk Level: SAFECOMMAND_EXECUTIONINDIRECT_PROMPT_INJECTION
Full Analysis
- [COMMAND_EXECUTION]: The skill uses
subprocess.runto orchestrate internal audit and capture scripts. For example,scripts/finalize_visual_review.pyandscripts/audit_ui.pyexecuteaudit_contrast.pyand other internal components. While these calls are localized to the skill's own directory and use absolute paths, they constitute a command execution capability used for orchestration. - [INDIRECT_PROMPT_INJECTION]: The skill possesses a vulnerability surface for indirect prompt injection because it ingests untrusted data from web pages and is authorized to perform automated code modifications.
- Ingestion points: The tools
capture_screenshotsandaudit_contrast(and the underlyingscripts/audit_ui.py) use Playwright to load content from local or external URLs defined by environment variables or user input. - Boundary markers: The skill instructions do not include specific delimiters or warnings for the agent to ignore instructions that might be embedded within the audited UI text or captured images.
- Capability inventory: The agent is explicitly instructed in
SKILL.mdto "Always fix actionable visual issues in code in the same turn" without prior confirmation, creating a direct path from untrusted input to filesystem and source code modification. - Sanitization: No sanitization or safety-filtering is applied to the visual content or DOM elements captured before they are processed by the agent.
Audit Metadata