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.listUsers method extracts sort and order parameters directly from req.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 pg library (found in UserRepository).
  • Sanitization: The UserRepository.findAll method performs direct string interpolation of the sort and order variables into the SQL ORDER BY clause, which is a known vulnerability surface if the inputs are not whitelisted.
Audit Metadata
Risk Level
SAFE
Analyzed
Nov 6, 2026, 12:17 PM