Convex Agents RAG
Pass
Audited by Gen Agent Trust Hub on Feb 17, 2026
Risk Level: SAFEEXTERNAL_DOWNLOADSPROMPT_INJECTION
Full Analysis
- [EXTERNAL_DOWNLOADS] (LOW): The skill requires external Node.js packages
@convex-dev/agentand@convex-dev/rag. These are third-party dependencies necessary for the skill's functionality within the Convex ecosystem. - [PROMPT_INJECTION] (LOW): Indirect Prompt Injection Surface (Category 8). The
answerWithContextaction interpolates untrusted data from both the search results and the user's query directly into a prompt template. - Ingestion points: The
questionparameter inanswerWithContextand thetextparameter inaddContent(SKILL.md). - Boundary markers: Employs basic Markdown headers (
# Context:,# Question:) as delimiters. These may be insufficient to prevent sophisticated injection attacks embedded within the documents or the query itself. - Capability inventory: The resulting prompt is passed to
thread.generateTextto produce an LLM response. - Sanitization: No sanitization, escaping, or length validation of the context or question strings is performed before interpolation into the
augmentedPromptstring.
Audit Metadata