kplex-obsidian-cli

Pass

Audited by Gen Agent Trust Hub on Nov 22, 2026

Risk Level: SAFECOMMAND_EXECUTIONDYNAMIC_EXECUTIONINDIRECT_PROMPT_INJECTION
Full Analysis
  • [COMMAND_EXECUTION]: The skill executes shell commands using the obsidian CLI tool. This allows the agent to interact with the local operating system to access vault paths and manage the Obsidian application process.
  • [DYNAMIC_EXECUTION]: The skill makes extensive use of obsidian eval to execute JavaScript code within the context of the Obsidian desktop application. While this is the primary mechanism for interacting with the K-Plex API, it provides a powerful execution environment with host-level privileges. The skill includes specific developer guidance to mitigate injection risks, such as instructing the agent to use JSON.stringify for data interpolation and avoiding the construction of executable strings from untrusted note content.
  • [INDIRECT_PROMPT_INJECTION]: The skill processes untrusted data from the user's Obsidian vault (such as markdown notes, canvas files, and ontology descriptions), which constitutes a potential attack surface for indirect prompt injection.
  • Ingestion points: External data enters the agent context through methods such as search, node, evidence, and inspectOntologyOccurrences as documented in SKILL.md.
  • Boundary markers: The skill does not define specific syntax delimiters for vault content but provides high-level instructions to treat all retrieved content strictly as data.
  • Capability inventory: The skill possesses capabilities to read arbitrary files within the vault and perform write operations to both YAML frontmatter (via FileManager.processFrontMatter) and note bodies (via Vault.process).
  • Sanitization: The instructions require the agent to use JSON.stringify for all data handling to prevent command injection and mandate explicit human-in-the-loop approval for all data modification or consolidation phases.
Audit Metadata
Risk Level
SAFE
Analyzed
Nov 22, 2026, 03:57 PM