headless-terminal

PassAudited by VirusTotal on May 4, 2026.

Overview

Type: OpenClaw Skill Name: headless-terminal Version: 1.0.0 The headless-terminal skill provides a legitimate interface for driving terminal user interfaces (TUIs) using the 'ht' CLI tool from montanaflynn/headless-terminal. The documentation (SKILL.md and references/) is thorough, emphasizing safe practices such as session cleanup, unique naming, and explicit warnings regarding the security implications of PTY-backed automation. It includes helpful disambiguation to prevent the installation of unrelated packages and lacks any indicators of malicious intent, data exfiltration, or deceptive prompt injection.

Findings (0)

Artifact-based informational review of SKILL.md, metadata, install specs, static scan signals, and capability signals. ClawScan does not execute the skill or run runtime probes.

What this means

If used on the wrong program or prompt, the agent could accidentally save files, accept installer prompts, change repository state, or operate a remote TUI.

Why it was flagged

The skill teaches the agent to launch arbitrary interactive commands under a PTY and send keystrokes to them, which is exactly its purpose but can affect real local or remote state.

Skill content
`ht run --name demo-$(date +%s) <cmd...>`
`ht send demo "keys..." --wait-idle 200ms --view`
Recommendation

Use this only when a real terminal UI is needed, inspect the command and screen state before sending keys, and require explicit user approval for destructive or account-changing actions.

What this means

The skill could help the agent operate authenticated sessions or remote systems with whatever permissions the user already has.

Why it was flagged

The documented use cases include SSH and authentication prompts, meaning the agent may act through the user's existing local, remote, or account privileges.

Skill content
Use when an agent needs reliable PTY-backed interaction ... for tools like ... `SSH-driven TUIs, installers, auth prompts`.
Recommendation

Do not use it for login, SSH, production, or privileged prompts unless the user has explicitly approved the target, scope, and intended actions.

What this means

Installing the wrong `ht` package or an untrusted release could put a different program on the user's PATH.

Why it was flagged

The skill depends on an external CLI obtained from a Homebrew tap or GitHub release. The artifacts disclose the source and warn about package-name ambiguity, but installation remains a supply-chain trust decision.

Skill content
`brew install montanaflynn/tap/ht` ... use a release tarball from `https://github.com/montanaflynn/headless-terminal/releases`
Recommendation

Verify the repository owner, package name, release page, and ideally checksums/signatures before installing; avoid unrelated packages with similar names.

NoteHigh Confidence
ASI10: Rogue Agents
What this means

A leftover session could keep a terminal program running after the intended task, potentially holding files, remote connections, or processes open.

Why it was flagged

The workflow acknowledges that `ht` sessions can persist. This is disclosed and bounded by cleanup guidance, but users should notice the persistence behavior.

Skill content
Stop and remove the session when done, unless the user explicitly wants a persistent session.
Recommendation

Clean up with `ht stop` and `ht remove` after each task unless persistence was specifically requested, and check `ht list` for stale sessions.

What this means

Terminal captures could contain private file contents, command output, hostnames, prompts, or other sensitive screen data.

Why it was flagged

The references show recording sessions and writing screenshots. Those files can persist terminal contents and may later be read by the agent or shared by the user.

Skill content
`ht record --output session.cast S` ... `ht view --format png --output /tmp/session.png S`
Recommendation

Avoid recording or screenshotting private/authenticated sessions unless necessary, store captures in safe locations, and delete them when no longer needed.