database-schema
Pass
Audited by Gen Agent Trust Hub on Oct 9, 2026
Risk Level: SAFEINDIRECT_PROMPT_INJECTIONDYNAMIC_EXECUTION
Full Analysis
- [INDIRECT_PROMPT_INJECTION]: The
scripts/generate_schema.pyscript accepts structured input via the--entitiesJSON argument and interpolates these values directly into Python code templates without sanitization. - Ingestion points:
scripts/generate_schema.pyprocesses the--entitiesJSON string. - Boundary markers: No boundary markers or "ignore instructions" warnings are used.
- Capability inventory: The script creates directories and writes multiple
.pyfiles to the filesystem. - Sanitization: No input sanitization or validation is performed on the keys or values within the
entitiesJSON object before they are used in code generation. - [DYNAMIC_EXECUTION]: The skill uses
scripts/generate_schema.pyto programmatically generate Python source files (models, controllers, schemas) by concatenating strings with user-provided parameters. This pattern of generating executable code from untrusted input poses a risk if the input source is compromised.
Audit Metadata