obsidian-cli

Warn

Audited by Gen Agent Trust Hub on Nov 16, 2026

Risk Level: MEDIUMDYNAMIC_EXECUTIONINDIRECT_PROMPT_INJECTIONCOMMAND_EXECUTIONDATA_EXFILTRATION
Full Analysis
  • [DYNAMIC_EXECUTION]: The skill documents the obsidian eval command, which allows for the execution of arbitrary JavaScript code directly within the runtime context of the Obsidian application (e.g., obsidian eval code="app.vault.getFiles().length"). This capability can be abused to perform any action the application is capable of, bypass internal constraints, or access sensitive plugin data.
  • [INDIRECT_PROMPT_INJECTION]: The skill possesses a significant attack surface for indirect prompt injection due to its ability to ingest untrusted data while maintaining powerful write and execute capabilities.
  • Ingestion points: Vault content is read via obsidian read, obsidian search, obsidian daily:read, and obsidian dev:dom (SKILL.md).
  • Boundary markers: The instructions lack any guidance on using delimiters or safety markers to prevent the agent from following instructions found within the accessed notes.
  • Capability inventory: The skill can create or modify files (obsidian create, obsidian append), change metadata (obsidian property:set), and execute arbitrary code (obsidian eval).
  • Sanitization: There are no documented sanitization or validation steps to ensure that data retrieved from the vault is treated as passive text rather than active instructions.
  • [COMMAND_EXECUTION]: The skill relies on and executes an external binary named obsidian. This utility serves as the primary interface for all vault and developer operations described in the documentation.
  • [DATA_EXFILTRATION]: Several commands allow for the extraction of sensitive information from the application state. obsidian dev:screenshot can capture the visual content of the workspace, and obsidian dev:dom allows for targeted extraction of text from the application's Document Object Model, which may contain private session data, plugin information, or note content.
Audit Metadata
Risk Level
MEDIUM
Analyzed
Nov 16, 2026, 12:35 AM