obsidian-vault

Pass

Audited by Gen Agent Trust Hub on Apr 7, 2026

Risk Level: SAFECOMMAND_EXECUTIONPROMPT_INJECTION
Full Analysis
  • [COMMAND_EXECUTION]: The scripts/vault.py script executes system search tools ripgrep (rg) or grep to locate notes within the vault based on frontmatter facets. These executions are performed using list-based arguments via subprocess.run and do not invoke a shell, mitigating command injection risks. Search patterns are escaped using re.escape() before execution.
  • [PROMPT_INJECTION]: The skill processes markdown files from the user's Obsidian vault, representing an indirect prompt injection surface.
  • Ingestion points: Untrusted data enters the agent context when scripts/vault.py reads file content or frontmatter during query and display operations.
  • Boundary markers: Structural separation is maintained using YAML frontmatter delimiters, which are parsed by a dedicated internal parser (parse_frontmatter) to isolate metadata from the document body.
  • Capability inventory: The skill includes functions to read, write, and delete (unlink) files, as well as execute local search commands.
  • Sanitization: The skill treats note content as plain text and quotes metadata values during writing to preserve the integrity of the YAML structure.
Audit Metadata
Risk Level
SAFE
Analyzed
Apr 7, 2026, 04:04 PM