soia-pkm-maintain
Pass
Audited by Gen Agent Trust Hub on Jul 20, 2026
Risk Level: SAFECOMMAND_EXECUTIONPROMPT_INJECTION
Full Analysis
- [COMMAND_EXECUTION]: The skill modifies configuration files for external tools (
.claude/settings.jsonandconfig.toml) to insert hooks that execute shell scripts (session_end_log.sh) automatically at the end of AI sessions or turns. - [COMMAND_EXECUTION]: Utilizes shell
evalwithincodex_notify_wrapper.shandsession_end_log.shto dynamically load environment variables exported by a Python helper script. While variables are quoted and keys are validated, this pattern involves executing shell code generated at runtime. - [PROMPT_INJECTION]: The skill processes the entire content of an Obsidian vault to generate Weekly Reports and Knowledge Maps. Malicious instructions embedded in vault markdown files could potentially influence the AI's summary or report generation.
- Ingestion points:
scripts/lint_vault.pyandscripts/gen_vault_map.pyread all.mdfiles in the specified vault. - Boundary markers: No explicit delimiters or "ignore embedded instructions" warnings are used when interpolating file data into the report generation prompt.
- Capability inventory: The skill has permissions to write to the file system (creating reports and maps), modify tool configurations, and execute shell scripts via hooks.
- Sanitization: Shell arguments are sanitized using
shlex.quoteinmaintain_env.py, and filenames are managed through Python'sosmodule.
Audit Metadata