frontend-ui-design
Pass
Audited by Gen Agent Trust Hub on Apr 12, 2026
Risk Level: SAFECOMMAND_EXECUTIONEXTERNAL_DOWNLOADSPROMPT_INJECTION
Full Analysis
- [COMMAND_EXECUTION]: The skill includes shell scripts (
scripts/link_audit.shandscripts/ui-codex) that execute shell commands, Python code, and thecodexCLI tool. These scripts are intended for maintenance tasks such as link verification and automated UI triaging. - [EXTERNAL_DOWNLOADS]: The
scripts/link_audit.shscript performs network requests (HEAD and GET) using Python'surllib.requestlibrary. It scans the skill's reference files for URLs and attempts to verify their availability when the--allow-networkflag is used. - [PROMPT_INJECTION]: The
scripts/ui-codexscript is vulnerable to indirect prompt injection because it accepts user input via the--issueargument and interpolates it directly into a complex prompt string passed to thecodex execcommand. - Ingestion points: User-supplied text from the
--issuecommand-line argument inscripts/ui-codex. - Boundary markers: The script uses a heredoc structure but lacks explicit delimiters or specific instructions to the model to ignore embedded directives in the user-supplied issue text.
- Capability inventory: The script invokes
codex execwithworkspace-writepermissions, allowing the downstream agent to modify repository files. - Sanitization: No validation, escaping, or sanitization is performed on the user-provided string before it is used to construct the prompt.
Audit Metadata