terminal-title
Pass
Audited by Gen Agent Trust Hub on Sep 15, 2026
Risk Level: SAFECOMMAND_EXECUTION
Full Analysis
- [COMMAND_EXECUTION]: The skill executes a local shell script (
scripts/set_title.sh) to update the terminal window title. - The script includes explicit input validation and sanitization using
trto remove control characters (0x00-0x1F) andheadto limit title length to 80 characters, which effectively mitigates terminal escape sequence injection attacks. - It writes the title to a local state file (
~/.claude/terminal_title) using an atomic write pattern (temp file + rename) to avoid race conditions. - The use of
basename "$PWD"and environment variables for prefixing is handled safely within the script.
Audit Metadata