kata-configure-settings
Warn
Audited by Gen Agent Trust Hub on Sep 18, 2026
Risk Level: MEDIUMCOMMAND_EXECUTIONINDIRECT_PROMPT_INJECTION
Full Analysis
- [COMMAND_EXECUTION]: The skill executes a highly invasive shell script
scripts/setup-worktrees.sh. This script converts the repository into a bare repo layout by cloning to a.barefolder, removing all files and hidden directories from the project root, and then creating worktree pointers. While it includes checks for a clean git status, these destructive file operations pose a risk to user data if misused. - [COMMAND_EXECUTION]: The skill uses
node scripts/kata-lib.cjsto perform various configuration tasks, including reading and writing settings to the.planning/config.jsonfile. It also performs git operations likegit addandgit committo manage planning artifacts. - [INDIRECT_PROMPT_INJECTION]: The skill reads settings from
.planning/config.jsonvia a helper script and interpolates these values directly into the prompt displayed to the user viaAskUserQuestion. If the configuration file contains malicious strings, they would be processed and presented by the agent. - Ingestion points:
.planning/config.jsonread vianode scripts/kata-lib.cjsinSKILL.md(Process Step 2). - Boundary markers: None; values are interpolated directly into Markdown tables and descriptive text for user review.
- Capability inventory: The skill has the capability to execute shell commands (
bash,node), write files (fs.writeFileSyncinkata-lib.cjs), and modify git repository structure. - Sanitization: There is no evidence of sanitization or escaping of the configuration values before they are rendered in the agent's output display.
Audit Metadata