knowledge-base-management
Pass
Audited by Gen Agent Trust Hub on Sep 20, 2026
Risk Level: SAFEDYNAMIC_EXECUTIONINDIRECT_PROMPT_INJECTIONEXTERNAL_DOWNLOADSCOMMAND_EXECUTION
Full Analysis
- [DYNAMIC_EXECUTION]: The script
scripts/mcp_server.pyperforms dynamic loading of internal modules for its operations. - Evidence: It uses
importlib.util.spec_from_file_locationto load thevault_index.pymodule from a relative path within the skill's internal directory structure. - [INDIRECT_PROMPT_INJECTION]: The skill provides tools for reading and processing local Markdown files, which represents a potential attack surface for indirect prompt injection.
- Ingestion points: Files stored within the user-defined
VAULT_DIRare read via tools likeread_kb_noteinscripts/mcp_server.py. - Boundary markers: The current implementation does not use explicit boundary markers or delimiters when returning file content to the agent.
- Capability inventory: The skill includes file reading, SQLite FTS5 indexing, and directory scanning capabilities.
- Sanitization: Content is retrieved directly from the file system and passed to the agent without escaping or validation filters.
- [EXTERNAL_DOWNLOADS]: The skill configuration and documentation specify the installation of external Python packages from standard registries.
- Evidence:
requirements-mcp.txtlists themcplibrary (v1.30.0), which is a well-known package for implementing the Model Context Protocol. - [COMMAND_EXECUTION]: The skill instructions guide the user to execute Python scripts via the command line for vault maintenance.
- Evidence:
SKILL.mddescribes how to initialize and search the knowledge base usingtools/chubby.py,scripts/vault_health_check.py, andscripts/mcp_server.py.
Audit Metadata