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-assistant and exa/search into shell variables (e.g., $SEARCH_RESULT, $EVIDENCE, $OVERVIEW) in SKILL.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 belt CLI tool using the Bash tool, 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 add command, targeting the inference-sh/skills repository.
  • [COMMAND_EXECUTION]: The skill provides numerous Bash templates that execute the belt CLI tool with interpolated data.
  • The shell snippets interpolate external search data directly into the --input JSON string of the belt command. 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
Risk Level
SAFE
Analyzed
Nov 18, 2026, 09:01 PM