api-database-typeorm

Pass

Audited by Gen Agent Trust Hub on Apr 7, 2026

Risk Level: SAFE
Full Analysis
  • [SAFE]: The skill provides detailed instructions on using TypeORM with a strong focus on security and performance best practices.
  • [SAFE]: It explicitly warns against SQL injection vulnerabilities and provides correct patterns for using parameterized queries in both QueryBuilder and raw SQL to mitigate these risks.
  • [SAFE]: It mandates the use of migrations and strictly prohibits using the synchronize: true setting in production environments to prevent accidental schema changes and data loss.
  • [SAFE]: It provides clear guidance on proper transaction management, specifically highlighting the importance of using the finally block to release QueryRunner connections and prevent database connection pool exhaustion.
Audit Metadata
Risk Level
SAFE
Analyzed
Apr 7, 2026, 01:31 AM