database-schema-generator
Pass
Audited by Gen Agent Trust Hub on Jun 27, 2026
Risk Level: SAFEPROMPT_INJECTIONCOMMAND_EXECUTION
Full Analysis
- [PROMPT_INJECTION]: The
scripts/generate_schema.pyscript interpolates user-supplied database descriptions directly into an LLM prompt (user_prompt) without using boundary markers (such as XML tags or triple quotes) or input sanitization. This creates an indirect prompt injection surface where a malicious description could influence the generated SQL or code. - Ingestion points: The
descriptionargument inscripts/generate_schema.pyreceives untrusted user input. - Boundary markers: Absent. The input is concatenated directly into the prompt string.
- Capability inventory: The skill possesses the ability to execute arbitrary SQL on a target database using the
execute_sqltool in the Supabase MCP server (invoked viascripts/apply_schema.py). - Sanitization: Although
scripts/validate_schema.pychecks for basic SQL syntax and best practices, it does not specifically filter for malicious SQL patterns or prompt injection artifacts. - [COMMAND_EXECUTION]: The
scripts/apply_schema.pyscript utilizessubprocess.run()to execute local Python scripts and themanus-mcp-cliplatform tool. While these calls use argument lists which mitigate shell injection risks, they enable the skill to interact with the system's command line and apply generated SQL content to live database environments.
Audit Metadata