ai-rag-pipeline
Pass
Audited by Gen Agent Trust Hub on Nov 18, 2026
Risk Level: SAFEINDIRECT_PROMPT_INJECTIONEXTERNAL_DOWNLOADSCOMMAND_EXECUTION
Full Analysis
- [INDIRECT_PROMPT_INJECTION]: The skill implements a RAG (Retrieval Augmented Generation) pipeline that ingests untrusted data from external web search tools and incorporates it into agent prompts.
- Ingestion points: The skill captures output from tools like
tavily/search-assistantandexa/searchinto shell variables (e.g.,$SEARCH_RESULT,$EVIDENCE,$OVERVIEW) inSKILL.md. - Boundary markers: The example prompts use weak text-based delimiters (e.g., "Search Results:" or "== Statistics ==") which are insufficient to prevent an LLM from potentially following instructions embedded within the retrieved search content.
- Capability inventory: The skill has the capability to execute commands via the
beltCLI tool using theBashtool, which could be abused if an injected instruction successfully manipulates the agent's logic. - Sanitization: There is no evidence of sanitization, escaping, or validation of the content retrieved from external URLs before it is passed to the language models.
- [EXTERNAL_DOWNLOADS]: The skill references and encourages the installation of external components from the vendor's infrastructure.
- It provides a link to a remote installation script/guide hosted on GitHub:
https://raw.githubusercontent.com/inference-sh/skills/refs/heads/main/cli-install.md. - It suggests adding multiple external skills using the
npx skills addcommand, targeting theinference-sh/skillsrepository. - [COMMAND_EXECUTION]: The skill provides numerous Bash templates that execute the
beltCLI tool with interpolated data. - The shell snippets interpolate external search data directly into the
--inputJSON string of thebeltcommand. This creates a risk of command or JSON structure breakage if the retrieved content contains unescaped special characters such as double quotes or backticks.
Audit Metadata