rag-architect
Warn
Audited by Gen Agent Trust Hub on Aug 27, 2026
Risk Level: MEDIUMDYNAMIC_EXECUTIONINDIRECT_PROMPT_INJECTIONEXTERNAL_DOWNLOADS
Full Analysis
- [DYNAMIC_EXECUTION]: The skill's chunking reference (
references/chunking-strategies.md) includes an implementation of 'Late Chunking' that utilizes thetransformers.AutoModel.from_pretrainedmethod with thetrust_remote_code=Trueparameter. This setting allows the execution of arbitrary Python code defined within the remote model repository. While the example targets a well-known model repository (jinaai/jina-embeddings-v2-base-en), this pattern introduces a risk of remote code execution if the repository is compromised or points to a malicious source. - [INDIRECT_PROMPT_INJECTION]: The skill is designed to ingest and process external, untrusted documents to build knowledge bases, creating a surface for indirect prompt injection.
- Ingestion points: Multiple functions in
SKILL.mdandreferences/chunking-strategies.mdingest raw text from documents (doc.page_content). - Boundary markers: The LLM prompts used for contextual chunking and proposition extraction lack explicit delimiters or instructions to treat the ingested text as untrusted data.
- Capability inventory: The skill possesses capabilities for network communication (multiple LLM and Vector DB APIs) and file system interactions (caching embeddings).
- Sanitization: Documented preprocessing focuses on formatting and length rather than sanitizing against malicious instructions embedded in documents.
- [EXTERNAL_DOWNLOADS]: The skill includes instructions to download external resources from well-known and trusted providers during runtime.
- It fetches the
punkttokenizer data from NLTK's official servers inreferences/chunking-strategies.md. - It downloads model weights from Hugging Face for various embedding and evaluation tasks (
sentence-transformers,FlagEmbedding).
Audit Metadata