skills/garri333/skills/knowledge-base/Gen Agent Trust Hub

knowledge-base

Pass

Audited by Gen Agent Trust Hub on Oct 13, 2026

Risk Level: SAFEINDIRECT_PROMPT_INJECTIONDATA_EXFILTRATION
Full Analysis
  • [INDIRECT_PROMPT_INJECTION]: The skill implements a RAG pipeline that reads content from diverse file types (.pdf, .docx, .md, .py) and interpolates this untrusted data into an LLM prompt.
  • Ingestion points: The index_directory and load_file functions in SKILL.md ingest content from any file in a specified directory tree.
  • Boundary markers: The format_context function uses simple labels (e.g., [Fuente 1: path]), but the answer_with_rag function lacks robust delimiters or instruction-isolation markers between the retrieved context and the final instruction.
  • Capability inventory: The skill uses openai.chat.completions.create to process the aggregated context.
  • Sanitization: No sanitization, filtering, or instruction-override detection is performed on the ingested text before it is sent to the LLM.
  • [DATA_EXFILTRATION]: The load_file function explicitly includes .env.example in its list of readable text files. While intended for documentation, a user or agent targeting a directory might inadvertently index actual .env files or other sensitive configuration if the extension filter is modified or if credentials exist in .env.example files.
  • Evidence: if suffix in [".txt", ".md", ".py", ".ts", ".js", ".json", ".yaml", ".yml", ".env.example"]: return path.read_text(encoding="utf-8") in SKILL.md.
Audit Metadata
Risk Level
SAFE
Analyzed
Oct 13, 2026, 05:03 PM