vault-fs
Pass
Audited by Gen Agent Trust Hub on Oct 22, 2026
Risk Level: SAFECOMMAND_EXECUTIONINDIRECT_PROMPT_INJECTION
Full Analysis
- [COMMAND_EXECUTION]: The script utilizes the
trashutility viasubprocess.runto delete files. This is a common practice on macOS to avoid permanent deletion. The command is executed without a shell (shell=Falseby default for list arguments), which prevents shell injection attacks. The files targeted for deletion are restricted to those indexed within the user-defined vault directory. - [INDIRECT_PROMPT_INJECTION]: The skill processes user-provided markdown files to rewrite internal links. While this involves reading and writing file content, the operations are limited to specific regex patterns for wikilinks and markdown links. The skill does not execute instructions found within the vault files, mitigating risks of malicious content affecting the agent's behavior.
- [FILE_SYSTEM_OPERATIONS]: The skill performs directory creation, file renaming, and file writing. These operations are gated by a mandatory dry-run step (requiring the
--applyflag) and include checks to ensure destination paths do not escape the vault root (e.g., checking for..in destination paths).
Audit Metadata