Integration Patterns
Pass
Audited by Gen Agent Trust Hub on Nov 6, 2026
Risk Level: SAFEINDIRECT_PROMPT_INJECTION
Full Analysis
- [INDIRECT_PROMPT_INJECTION]: The skill demonstrates an unsafe pattern for handling database queries that could lead to SQL injection.
- Ingestion points: In SKILL.md, the
UsersController.listUsersmethod extractssortandorderparameters directly fromreq.query(untrusted user input). - Boundary markers: There are no boundary markers or validation logic shown to sanitize these specific parameters before they are used.
- Capability inventory: The skill includes methods that execute raw SQL queries against a PostgreSQL database using the
pglibrary (found inUserRepository). - Sanitization: The
UserRepository.findAllmethod performs direct string interpolation of thesortandordervariables into the SQLORDER BYclause, which is a known vulnerability surface if the inputs are not whitelisted.
Audit Metadata