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.pyscript 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.makedirsandopen()indemo.py. - Sanitization: The
build()function indemo.pyutilizeshtml.escape()for text content andjson.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) usesimportlib.utilto load and execute thedemo.pymodule 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