kiva-custom-query

Pass

Audited by Gen Agent Trust Hub on Nov 28, 2026

Risk Level: SAFECOMMAND_EXECUTIONEXTERNAL_DOWNLOADSINDIRECT_PROMPT_INJECTIONDYNAMIC_EXECUTION
Full Analysis
  • [COMMAND_EXECUTION]: The skill uses the kiva dsql command-line tool to perform CRUD operations on query records and execute them against the platform's database runner.\n- [EXTERNAL_DOWNLOADS]: References the @kivacore/api-client Node.js package, which is used to integrate saved queries into frontend applications.\n- [INDIRECT_PROMPT_INJECTION]: The skill processes user-provided DSQL (logical SQL) and JSON-formatted filter parameters to create and execute reusable database query templates.\n
  • Ingestion points: SKILL.md (Workflow steps 4 and 5) and kiva dsql CLI arguments.\n
  • Boundary markers: Absent in prompt interpolation.\n
  • Capability inventory: Execution of database queries via kiva dsql run-custom-query subprocess calls in SKILL.md.\n
  • Sanitization: Employs a Handlebars {{filter}} helper that validates and escapes runtime filter values into safe SQL predicates, preventing raw string concatenation.\n- [DYNAMIC_EXECUTION]: Utilizes Handlebars templating to compile SQL bodies at runtime, injecting session context variables such as USER_ID and TENANT_ID and binding dynamic filter parameters.
Audit Metadata
Risk Level
SAFE
Analyzed
Nov 28, 2026, 12:52 PM