motherduck-query

Pass

Audited by Gen Agent Trust Hub on Oct 26, 2026

Risk Level: SAFEINDIRECT_PROMPT_INJECTION
Full Analysis
  • [SAFE]: The skill provides legitimate documentation and instructions for using MotherDuck database features, including SQL query optimization and schema exploration.
  • [DATA_EXFILTRATION]: While the AI functions (prompt, prompt_jev, embedding) send data to external endpoints (MotherDuck, OpenAI, TypeSafe) for processing, this is a documented and core feature of the service. The instructions include details on regional data processing and administrative controls to disable these features.
  • [INDIRECT_PROMPT_INJECTION]: The skill handles data ingestion from database tables for AI processing, which constitutes an indirect prompt injection surface.
  • Ingestion points: SQL queries reading from table columns (e.g., body or review_text) into AI functions in references/AI_FUNCTIONS.md.
  • Boundary markers: The instructions recommend using prepared statements for untrusted user text.
  • Capability inventory: The skill uses query_rw for write operations and calls external AI models.
  • Sanitization: The skill advises using prepared statements and testing on small samples (LIMIT) before full execution.
  • [COMMAND_EXECUTION]: The skill documents administrative commands like SHUTDOWN and CREATE SNAPSHOT. It includes security best practices by requiring explicit user confirmation and the use of the query_rw tool for any write or lifecycle operations.
Audit Metadata
Risk Level
SAFE
Analyzed
Oct 26, 2026, 11:23 AM