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, andplutilto monitor processes and manage background tasks. It also usesosascriptto 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
importlibto dynamically load local identity-reading modules andctypesto interface with macOSsysctlAPIs 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 fromauth.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