duckdb
Warn
Audited by Gen Agent Trust Hub on Oct 22, 2026
Risk Level: MEDIUMPERSISTENCEINDIRECT_PROMPT_INJECTIONCOMMAND_EXECUTIONEXTERNAL_DOWNLOADS
Full Analysis
- [PERSISTENCE]: The documentation in
SKILL.mdinstructs the user to modify shell configuration files, specifically~/.zshenvandBASH_ENV, to alter thePATHenvironment variable. This is a persistence mechanism that changes the environment for all subsequent shell sessions. - [COMMAND_EXECUTION]: The Python test scripts
scripts/test_diff_macros.pyandscripts/test_markdown_macros.pyusesubprocess.runto call theduckdbbinary. This allows for command execution and interaction with the local system to verify SQL macro functionality. - [INDIRECT_PROMPT_INJECTION]: The skill is designed to ingest and process untrusted external data sources such as JSON logs, Markdown, and code diffs, which creates a potential surface for indirect prompt injection. 1. Ingestion points: The skill reads data using DuckDB functions like
read_json,read_csv, andread_textin files such asscripts/diff_macros.sqlandscripts/markdown_macros.sql. 2. Boundary markers: No specific delimiters or instructions to ignore embedded commands are provided in the documentation. 3. Capability inventory: The skill allows the agent to perform complex SQL operations and execute shell commands via the DuckDB CLI. 4. Sanitization: There is no evidence of input validation or sanitization for the data processed by the SQL macros. - [EXTERNAL_DOWNLOADS]: The skill provides instructions for downloading the DuckDB CLI binary from the official GitHub releases page, which is a well-known and reputable source for software distribution.
Audit Metadata