alembic-patterns
Pass
Audited by Gen Agent Trust Hub on Oct 9, 2026
Risk Level: SAFE
Full Analysis
- [CREDENTIALS_UNSAFE]: The documentation includes a placeholder database connection string 'postgresql://user:pass@localhost/db' to demonstrate configuration. This is a generic example and does not pose a security risk as it does not contain real credentials.
- [COMMAND_EXECUTION]: The skill provides examples of standard alembic CLI commands like 'alembic init', 'alembic revision', and 'alembic upgrade'. These are legitimate uses of the bash tool for the stated purpose of the skill.
- [DYNAMIC_EXECUTION]: Several examples demonstrate the use of
op.execute()andsa.text()for running custom SQL migrations. One example uses Python f-strings for batch processing logic (LIMIT {batch_size}), which is a common and acceptable pattern in migration scripts when handling large datasets.
Audit Metadata