nestjs-drizzle-crud-generator
Pass
Audited by Gen Agent Trust Hub on Sep 14, 2026
Risk Level: SAFEINDIRECT_PROMPT_INJECTIONCOMMAND_EXECUTION
Full Analysis
- [INDIRECT_PROMPT_INJECTION]: The skill processes entity structures defined by the user (Step 1) which are then used to generate executable code.
- Ingestion points: The
featurename andfieldsJSON array provided in Step 1 and Step 2 inSKILL.mdare processed by the generator script. - Boundary markers: None present. The skill does not include instructions to the agent to validate or escape inputs for the generator.
- Capability inventory: The skill uses
Writeto create files andBashto execute the generator script, TypeScript compiler (tsc), and Jest (npm test). - Sanitization: In
scripts/generate_crud.py, thegenerate_table_fields,generate_create_fields, and other generation functions perform direct string interpolation of thenameanddefaultvalues from the input JSON into TypeScript template strings without validation or escaping. If malicious identifiers are provided, they would be injected into the generated source code. - [COMMAND_EXECUTION]: The skill uses the
Bashtool to perform development tasks. - The agent is instructed to run
python scripts/generate_crud.pyto generate the module. - The agent is instructed to run
npx tsc --noEmitandnpm teston the resulting code. While these are standard development procedures, the execution of generated code that has not been sanitized represents a common vulnerability surface for code generation tools.
Audit Metadata