faiss
Pass
Audited by Gen Agent Trust Hub on Sep 5, 2026
Risk Level: SAFEINDIRECT_PROMPT_INJECTIONREMOTE_CODE_EXECUTION
Full Analysis
- [INDIRECT_PROMPT_INJECTION]: The skill processes dense vectors and embeddings which are often generated from untrusted user input or external documents. While FAISS itself operates on numerical vectors, the integration with LangChain and LlamaIndex involves processing external document content.
- Ingestion points: LangChain
similarity_searchandfrom_documentsfunctions inSKILL.md. - Boundary markers: None present in the provided code snippets to distinguish between instructions and data.
- Capability inventory: File system read/write (
faiss.write_index,vectorstore.save_local), network operations (implicit viaOpenAIEmbeddings), and deserialization (FAISS.load_local). - Sanitization: None observed in the vector search or document loading logic.
- [REMOTE_CODE_EXECUTION]: The LangChain integration example in
SKILL.mdincludes the parameterallow_dangerous_deserialization=Truewhen callingFAISS.load_local. This flag enables the use ofpicklefor loading indices, which can execute arbitrary code if the index file (faiss_index) is malicious or originated from an untrusted source.
Audit Metadata