generating-orm-code
Warn
Audited by Gen Agent Trust Hub on Sep 9, 2026
Risk Level: MEDIUMPRIVILEGE_ESCALATIONDYNAMIC_EXECUTIONCOMMAND_EXECUTIONINDIRECT_PROMPT_INJECTIONEXTERNAL_DOWNLOADS
Full Analysis
- [PRIVILEGE_ESCALATION]: The scripts
scripts/generate_model.pyandscripts/generate_schema.pycontain agenerate_scriptmethod that applieschmod(0o755)to dynamically created files, granting them execution permissions. - [DYNAMIC_EXECUTION]: The skill is designed to generate executable code and scripts based on user-provided or database-derived content, which is then written to the filesystem.
- [COMMAND_EXECUTION]: The instructions in
SKILL.mddirect the agent to execute shell commands such asnpx prisma migrate,typeorm migration:generate, andalembic revision, requiring theBashtool. - [INDIRECT_PROMPT_INJECTION]: The skill ingests untrusted data from database schemas (
information_schema,pg_catalog) and has the capability to write files and execute shell commands. Maliciously crafted database metadata could potentially influence agent behavior during the generation process. - [EXTERNAL_DOWNLOADS]: The skill references documentation and resources from well-known and trusted services including Prisma, TypeORM, SQLAlchemy, Drizzle ORM, and Django. These are assessed as SAFE and do not contribute to verdict escalation.
Audit Metadata