web-project-builder
Pass
Audited by Gen Agent Trust Hub on Aug 22, 2026
Risk Level: SAFECOMMAND_EXECUTIONPROMPT_INJECTION
Full Analysis
- [INDIRECT_PROMPT_INJECTION]: The scaffolded project is vulnerable to Cross-Site Scripting (XSS).
- Ingestion points: Untrusted data enters the system through the API via the
POST /api/itemsendpoint defined inapp.pyand is retrieved viaGET /api/items. - Boundary markers: None present in the generated code templates to prevent command injection or data confusion.
- Capability inventory: The frontend script
static/js/main.jsuses theinnerHTMLproperty to render data from the API. - Sanitization: The
renderTablefunction inmain.jsdoes not perform any escaping or sanitization of theitem.namefield, allowing an attacker to execute arbitrary JavaScript in the context of the user's browser. - [DYNAMIC_EXECUTION]: The scaffolding script constructs file paths from user-provided arguments without validation.
- Evidence:
scripts/scaffold.pyusesos.path.joinon thenameanddirarguments provided via the command line to determine where to create the project skeleton. - Risk: This pattern could allow for path traversal if an attacker influences the arguments, though it is typical for local scaffolding tools.
- [EXTERNAL_DOWNLOADS]: The skill scaffolds projects that depend on external resources from well-known CDN providers.
- The
BASE_HTMLtemplate inscripts/scaffold.pyincludes script and style tags referencingcdn.jsdelivr.netfor Bootstrap and ECharts libraries. - [COMMAND_EXECUTION]: The skill requires the user to execute local scripts and run a web server.
- The instructions in
SKILL.mdguide the user to runpython3 scripts/scaffold.pyand start the Flask application withpython app.py.
Audit Metadata