local-knowledge
Fail
Audited by Gen Agent Trust Hub on Aug 3, 2026
Risk Level: HIGHREMOTE_CODE_EXECUTIONCOMMAND_EXECUTIONEXTERNAL_DOWNLOADSDATA_EXFILTRATIONPROMPT_INJECTION
Full Analysis
- [REMOTE_CODE_EXECUTION]: The
SentenceTransformersMultimodalBackendclass inscripts/core/embeddings/sentence_transformers_multimodal.pyloads models using thetrust_remote_code=Trueparameter. This setting allows the execution of arbitrary Python code defined within a remote model's repository (e.g., from Hugging Face) upon loading, which can lead to a full system compromise if a malicious model is selected. - [COMMAND_EXECUTION]: The skill makes frequent use of
subprocess.runto interact with the host system. It invokes external binaries liketextutil,antiword, andcatdocto parse documents, and executes a helper scriptword_com.pyfor Windows Word COM interaction. While these are intended functions, they expand the attack surface for command injection if file paths are manipulated. - [EXTERNAL_DOWNLOADS]: The
local_knowledge.shwrapper and the Python backend automate the download and installation of numerous third-party dependencies from PyPI and embedding models from Hugging Face. This occurs during thedoctor --installphase and automatically if dependencies are missing during indexing. - [DATA_EXFILTRATION]: The skill is designed to recursively read and index local directories. While no explicit malicious exfiltration was found, the core functionality provides the agent with the ability to read and process sensitive local files, which could be leveraged if the agent's behavior is influenced by an attacker.
- [PROMPT_INJECTION]: The skill is susceptible to indirect prompt injection by indexing untrusted document content.
- Ingestion points: The
scan_documentsfunction inscripts/core/files.pyreads content from various local file types. - Boundary markers: The skill lacks explicit boundary delimiters or safety instructions when processing or returning retrieved document chunks.
- Capability inventory: The skill has significant capabilities, including file system access and shell command execution.
- Sanitization: No sanitization or content filtering is performed on the data ingested from files.
Recommendations
- AI detected serious security threats
Audit Metadata