research-rag
Pass
Audited by Gen Agent Trust Hub on Sep 9, 2026
Risk Level: SAFEINDIRECT_PROMPT_INJECTION
Full Analysis
- [INDIRECT_PROMPT_INJECTION]: The skill implements a Retrieval-Augmented Generation (RAG) pattern, which introduces a surface for indirect prompt injection where untrusted content from the database is processed by the agent.
- Ingestion points: External research data is retrieved from the
harness_embeddingstable in Neon via SQL queries. - Boundary markers: The instructions do not define specific delimiters or instructions to ignore embedded commands within the retrieved text chunks.
- Capability inventory: The skill allows the agent to execute SQL queries and read local markdown files identified in search results.
- Sanitization: No explicit sanitization or validation of the retrieved content is mentioned before it is processed by the LLM.
- [SAFE]: The skill contains specific security guidance that aligns with best practices, such as preventing the logging of sensitive environment variables like
DATABASE_URLor API keys. It also enforces data isolation by requiring aWHEREclause to scope queries to a specificcorpus_id.
Audit Metadata