claude-tui

Warn

Audited by Socket on Aug 20, 2026

1 alert found:

Anomaly
AnomalyLOW
scripts/tui_cmd.py

No clear evidence of intentional malware in this fragment (no exfiltration, persistence, or obfuscated payloads). However, the code has a significant security risk: it constructs a shell-like command string for tmux new-session using untrusted data (cwd from JSONL session files and session_id from CLI/env or filenames) without quoting/escaping, creating potential command-injection/sabotage conditions. Additionally, it injects arbitrary user-provided commands into an interactive agent via tmux keystrokes, and it prints captured pane output which may expose sensitive information to console/logs. Treat this as a high-impact automation tool when inputs or session files might be attacker-influenced.

Confidence: 66%Severity: 62%
Audit Metadata
Analyzed At
Aug 20, 2026, 10:48 AM
Package URL
pkg:socket/skills-sh/thaitype%2Fskills%2Fclaude-tui%2F@77433cbfdebb11025b84bf2696387ef2c0a0d5ea23e100d14ee22f0d0a5ef89e
Security Audit — socket — claude-tui