rag-architect
Warn
Audited by Gen Agent Trust Hub on Jul 9, 2026
Risk Level: MEDIUMREMOTE_CODE_EXECUTIONPROMPT_INJECTIONEXTERNAL_DOWNLOADS
Full Analysis
- [REMOTE_CODE_EXECUTION]: The code in
references/chunking-strategies.mduses thetrust_remote_code=Trueparameter when loading thejinaai/jina-embeddings-v2-base-enmodel via thetransformerslibrary. This setting allows the execution of arbitrary Python code provided by the model author on HuggingFace, which can pose a significant security risk if the remote repository is compromised. - [PROMPT_INJECTION]: The skill processes external data (user queries, chat history, and document chunks) by interpolating them into LLM prompts, creating an indirect prompt injection surface.
- Ingestion points: Untrusted data enters the context via user queries and document text processed in
references/retrieval-optimization.mdandreferences/chunking-strategies.md. - Boundary markers: The implementation examples lack explicit delimiters or instructions to ignore embedded commands within the processed data.
- Capability inventory: The skill environment includes tools for network operations and database access.
- Sanitization: There is no evidence of input validation or sanitization in the provided prompts.
- [EXTERNAL_DOWNLOADS]: The skill's implementation scripts perform multiple remote requests to download resources. This includes fetching datasets using
nltk.download('punkt')inreferences/chunking-strategies.mdand downloading model weights from HuggingFace. While these sources are well-known, the reliance on external assets at runtime is a risk factor.
Audit Metadata