create-design-doc
Pass
Audited by Gen Agent Trust Hub on Sep 11, 2026
Risk Level: SAFEEXTERNAL_DOWNLOADSCOMMAND_EXECUTIONINDIRECT_PROMPT_INJECTIONDYNAMIC_EXECUTION
Full Analysis
- [EXTERNAL_DOWNLOADS]: Fetches the
playwrightpackage and Chromium browser binary. - Evidence:
SKILL.mdStep 4 commands:pip install playwrightandplaywright install chromium. - Context: These are standard dependencies for the skill's screenshot functionality, sourced from official providers.
- [COMMAND_EXECUTION]: Executes shell commands to manage a Python environment and run internal scripts.
- Evidence: Uses
Bashto runcapture_screenshot.pyandcheck_overflow.pyfor rendering and layout validation. - [INDIRECT_PROMPT_INJECTION]: Processes untrusted requirements documents which could contain malicious instructions.
- Ingestion points: Requirements documents provided via
$ARGUMENTS. - Capability inventory: File writing (
Write), command execution (Bash), and rendering in a browser. - Sanitization: Implements a strict static HTML policy. The
_WireframeAuditorclass incheck_overflow.pydetects and blocks all<script>elements,on*event handlers, andiframe srcdoccontent before the browser is invoked. - [DYNAMIC_EXECUTION]: Renders generated HTML in a headless browser to produce image artifacts.
- Security Controls: Playwright routing in both
capture_screenshot.pyandcheck_overflow.pyintercepts all network requests, aborting any that target external domains or local files outside the document's specific directory. Only specific raster image types (.png, .jpg, etc.) are allowed for storyboard generation.
Audit Metadata