ghostty-use

Pass

Audited by Gen Agent Trust Hub on Nov 27, 2026

Risk Level: SAFECOMMAND_EXECUTIONPERSISTENCEDYNAMIC_EXECUTIONPRIVILEGE_ESCALATIONDATA_EXFILTRATIONINDIRECT_PROMPT_INJECTION
Full Analysis
  • [COMMAND_EXECUTION]: Executes local system utilities such as ps, lsof, launchctl, and plutil to monitor processes and manage background tasks. It also uses osascript to perform native Ghostty actions including tab creation, command pasting, and tab reordering.
  • [PERSISTENCE]: Includes an installer that can register a macOS LaunchAgent (io.ghostty.session-snapshot.plist) to perform periodic background snapshots of terminal inventories.
  • [DYNAMIC_EXECUTION]: Uses importlib to dynamically load local identity-reading modules and ctypes to interface with macOS sysctl APIs for retrieving process arguments.
  • [PRIVILEGE_ESCALATION]: Requires macOS Accessibility and Automation permissions to control the Ghostty application and simulate keyboard input for session restoration.
  • [DATA_EXFILTRATION]: Reads local session transcripts from ~/.claude/projects/, ~/.codex/sessions/, and ~/.gemini/antigravity-cli/ to identify conversation IDs and liveness state for recovery. It also accesses a hashed version of the ChatGPT account identity from auth.json.
  • [INDIRECT_PROMPT_INJECTION]: The skill has an attack surface where it ingests untrusted data from terminal session transcripts and process command lines, which are then used to construct shell commands for session restoration.
Audit Metadata
Risk Level
SAFE
Analyzed
Nov 27, 2026, 04:05 AM