vectordb
Pass
Audited by Gen Agent Trust Hub on Aug 13, 2026
Risk Level: SAFEPROMPT_INJECTION
Full Analysis
- [INDIRECT_PROMPT_INJECTION]: The RAG implementation in
SKILL.mdcreates a vulnerability surface by interpolating untrusted data from the vector database and user queries directly into a large language model prompt without sanitization or boundary markers. - Ingestion points: The
contextvariable (populated bydoc.contentfrom the vector store) and thequestionparameter in theRAGService.querymethod. - Boundary markers: Absent. The prompt template uses simple string concatenation without delimiters or instructions to treat the injected content as data rather than instructions.
- Capability inventory: The skill allows high-privilege tools including
Bash,Write, andEdit, which could be targeted if a malicious document in the vector store successfully triggers an injection. - Sanitization: The code lacks any escaping, filtering, or validation of external content before interpolation.
Audit Metadata