atomic-note-audit
Pass
Audited by Gen Agent Trust Hub on Sep 6, 2026
Risk Level: SAFEINDIRECT_PROMPT_INJECTIONCOMMAND_EXECUTION
Full Analysis
- [INDIRECT_PROMPT_INJECTION]: The skill processes user-controlled Markdown notes which are interpolated into LLM prompts without proper escaping, creating a potential injection surface.
- Ingestion points:
scripts/collect_model_judgments.pyandscripts/prepare_model_judgment.pyread content from Markdown files within the Obsidian vault for model evaluation. - Boundary markers: The scripts use
NOTE_CONTENT_STARTandNOTE_CONTENT_ENDas markers to delimit the note content within the prompt sent to the LLM. - Capability inventory: Model judgment results can trigger vault modifications via the Obsidian CLI (in
scripts/obsidian_adapter.py) and influence automated remediation recommendations. - Sanitization: There is no escaping or filtering of the
NOTE_CONTENT_ENDsequence in the note content. A malicious note containing this marker could terminate the data block and inject unauthorized instructions into the model judgment context. - [COMMAND_EXECUTION]: The skill utilizes
subprocess.runto execute external binaries and commands for core functionality. scripts/collect_model_judgments.pyexecutes external LLM runners (likecodex) or user-defined command templates.scripts/obsidian_adapter.pyandscripts/obsidian_cli.pyinvoke the Obsidian CLI binary to perform vault operations.- The scripts implement standard security mitigations, such as using list-based arguments and
shlex.split, to reduce the risk of shell injection.
Audit Metadata