demo-builder

Pass

Audited by Gen Agent Trust Hub on Nov 7, 2026

Risk Level: SAFE
Full Analysis
  • [INDIRECT_PROMPT_INJECTION]: The skill processes user-supplied data from a JSON specification to generate HTML files. The risk is minimized through several safeguards.
  • Ingestion points: The demo.py script loads data from a JSON file (e.g., whale/demo.json) created by the agent based on user input.
  • Boundary markers: The skill includes explicit instructions for the agent to use sample data and prohibits the use of real customer records. It also adds a mandatory 'Demo' banner to the output.
  • Capability inventory: The skill can create directories and write files to the local file system using os.makedirs and open() in demo.py.
  • Sanitization: The build() function in demo.py utilizes html.escape() for text content and json.dumps() with character replacement for script data to prevent cross-site scripting (XSS) in the generated output.
  • [COMMAND_EXECUTION]: The skill executes local Python scripts to validate and build demos. These commands are benign, use standard library components, and operate on local files provided via command-line arguments.
  • [DYNAMIC_EXECUTION]: The test suite (test_demo.py) uses importlib.util to load and execute the demo.py module for unit testing purposes. This is a standard development practice for testing local modules and does not introduce runtime risk during normal skill operation.
Audit Metadata
Risk Level
SAFE
Analyzed
Nov 7, 2026, 01:46 PM