511-frameworks-micronaut-jdbc
Pass
Audited by Gen Agent Trust Hub on Apr 23, 2026
Risk Level: SAFECOMMAND_EXECUTION
Full Analysis
- [SAFE]: The skill focuses on preventing SQL injection vulnerabilities by mandating the use of
PreparedStatementwith bind parameters and explicitly advising against string concatenation for SQL queries. - [COMMAND_EXECUTION]: The skill requires the agent to run standard Maven commands (
./mvnw compile,mvn compile,./mvnw clean verify, andmvn clean verify) to validate project state before and after applying JDBC improvements. These are standard operations for Java development and do not represent a security risk in this context. - [SAFE]: The instructions promote best practices for resource management, such as using try-with-resources to ensure database connections, statements, and result sets are closed properly to prevent connection leaks.
- [SAFE]: The skill provides guidance on implementing transaction boundaries correctly at the service layer using
@Transactional, ensuring data consistency during multi-step operations.
Audit Metadata