fastapi-database-setup
Pass
Audited by Gen Agent Trust Hub on Mar 9, 2026
Risk Level: SAFE
Full Analysis
- [SAFE]: The skill provides documentation and Python code snippets for configuring a FastAPI application with SQLAlchemy 2.0. The code uses the asyncpg driver for asynchronous database operations, which is a standard and recommended practice.
- [SAFE]: Example connection strings provided in the documentation use placeholder values or local development defaults. No actual production credentials or sensitive secrets are hardcoded in the skill.
- [SAFE]: The database session management uses the get_db dependency pattern with an async generator, ensuring that sessions are properly closed after each request, preventing connection leaks.
- [SAFE]: No suspicious external downloads, remote code execution, or obfuscation patterns were identified throughout the skill file.
Audit Metadata