motherduck-create-dive

Pass

Audited by Gen Agent Trust Hub on Oct 26, 2026

Risk Level: SAFEINDIRECT_PROMPT_INJECTIONDYNAMIC_EXECUTIONEXTERNAL_DOWNLOADS
Full Analysis
  • [INDIRECT_PROMPT_INJECTION]: The skill facilitates the creation of interactive Dives that ingest data from external MotherDuck tables. This data is rendered in a component where an 'AI Chat' agent has context and edit permissions. Maliciously crafted data within the database could potentially trigger unintended actions (such as altering queries or sharing data) when an authorized user interacts with the AI assistant while viewing the affected Dive.
  • Evidence Chain:
  • Ingestion points: useSQLQuery hooks in React components (DIVE_DESIGN_GUIDE.md).
  • Boundary markers: Standard React rendering is used; no explicit 'ignore instructions' delimiters are enforced for the data rendered in the UI.
  • Capability inventory: The AI Chat can edit Dives, modify filters, and share data with the organization (DIVE_DESIGN_GUIDE.md Section: Agent Chat on Dives).
  • Sanitization: The skill recommends validating Flight inputs as untrusted and binding SQL parameters, but doesn't explicitly mandate sanitization of data displayed in the UI that the AI Chat observes.
  • [DYNAMIC_EXECUTION]: The skill's primary function is to generate and execute dynamic React components and SQL queries. It uses the useSQLQuery hook for data fetching and useRunFlight for backend write-back operations. While this is the intended functionality, it involves the runtime execution of agent-generated code.
  • [EXTERNAL_DOWNLOADS]: The 'Dives as Code' workflow involves installing packages via npm (e.g., @motherduck/react-sql-query, recharts, lucide-react). These are legitimate, vendor-specific, or well-known visualization libraries used for the skill's primary purpose.
Audit Metadata
Risk Level
SAFE
Analyzed
Oct 26, 2026, 11:22 AM