Introducing The Sweep: OX’s New Live Security Research Series
Register Now
Breaking: The 2026 Vulnpocalypse Hits PHP: Four Critical RCEs, but How Dangerous Are They?
Read the Report
Are you exposed? Connect your apps in minutes.
Scan your apps free

shellpuppet

Latest version: v0.5.4

Overview

Last scanned
29 Nov 2026
Published
29 Nov 2026
npm package Publisher: agenthandler
0 Stars
0 Forks
13 Versions
2.1K Downloads
TypeScript Repo language

Scan summary

shellpuppet was last scanned on 29 Nov 2026 at version 0.5.4. Risk score 0 of 100. No malicious behavior was detected.

  • Releases: 13 versions; the latest 5 were published within 4 days (26–29 Nov 2026).
  • Findings: No rules fired in version 0.5.4.
  • Downloads: 2,083 downloads.

Versions

13 versions published
Versions and the rules that fired in each
VersionPublishedStatus
0.5.4 LATEST 29 Nov 2026 No rules fired
0.5.3 29 Nov 2026 No rules fired
0.5.2 27 Nov 2026 No rules fired
0.5.1 27 Nov 2026 Not shown
0.5.0 26 Nov 2026 Not shown

No rules fired in 0.5.4

Findings

Findings for v0.5.4. The score is a capped sum of the weights of the rules that fired — not CVSS, not exploitability, and not a probability. It is not comparable across packages with different scan coverage.

The score describes 0.5.4; other versions have their own rules, not their own score.

README

The publisher’s own README, as collected from the registry.

ShellPuppet

▶ Watch the full demo (67 seconds, MP4)

Supervised terminal sessions for AI agents. An agent drives a real terminal while a human watches, and types into, the same live session from a browser. The terminal runs whatever you point it at: an agent CLI such as Claude Code, Codex, Antigravity, Hermes, OpenCode, MiMo Code, Qoder, Goose or Grok, or any other TUI.

ShellPuppet is to the terminal what Playwright is to the browser. Playwright gives a program a real browser: the program clicks, reads the page, waits and works on pages only a person could use. ShellPuppet gives an agent a real terminal the same way.

Without ShellPuppet, an agent runs a program the way you might shout through a closed door: one instruction goes in, one note comes back, and if the program asks a question, nobody is there to answer it. ShellPuppet opens the door. The agent sits at the keyboard: it types, looks at the screen, waits and types again. And there's a window on your screen, so you can pull up a chair, watch what it's doing and take the keyboard yourself whenever you like. Some programs only work if someone is sitting there: menus, wizards, chat-style tools, other AI assistants. An agent couldn't use those at all. Now it can.

ShellPuppet is the open-source terminal layer of Intermeld, the agent governance platform by Red Eagle Tech. Everything in this repository runs on your machine and needs nothing we operate.

Status: 0.5.4, with submit by default for known agents and dashboard Auto fit. The daemon, CLI, MCP server, viewer and dashboard install from npm (below). Watch the repository's Releases for what comes next, and bring questions, ideas and what you build with it to Discussions. 🦅

What you get

  • Real terminals, driven by tools. Sessions run in a real PTY (ConPTY on Windows), rendered through a real terminal emulator and exposed as twelve small MCP tools: start, snapshot, type, key, wait, find, result, list, resize, screenshot, viewer-url, kill. The CLI has a verb for each, spelled snap for the snapshot. Seven messaging tools share the MCP connection.
  • An agent's answer without its reasoning. Several agent CLIs draw the model's reasoning on screen as they work. A supervising agent can read a session with that left out (snapshot, find and wait take hideReasoning), or take just the answer that ended the latest turn, and so keep another model's reasoning out of its own context. A screenshot shows the whole screen.
  • A human in the same session. When the first session starts, the dashboard opens on your machine. Later sessions appear there. You see what the agent sees, live, and you can type into it: to answer a prompt, to correct course or to take over. Your window sets the size: the terminal reshapes itself to fill it, as a terminal should. To watch from another device, or to let someone else watch, ask the agent for a link or run shellpuppet viewer-url <id>. A fresh link is live until it's opened, so hand it over as you would a key; it works once and for a few minutes, so a link in an old transcript is spent. --read-only gives one that can watch but never type.
  • Waits instead of sleeps, and prompts you're told about. wait blocks on text, a regex, quiescence or "the program is asking a question". The daemon spots permission prompts in driven agent CLIs, flags sessions that sit on one and badges the viewer so the human knows they are needed.
  • Nothing leaves your machine unless you send it or switch it on. Today the tool has no outbound path at all: no telemetry, no crash reporting, no update checks, and the daemon listens on 127.0.0.1 only. Diagnostics, when it comes, stays off until you switch it on, carries no session content and no identifiers, and writes every payload to a local file before it leaves. That rule, nothing leaves unless you send it or switch it on, is a permanent property of the tool rather than a default. VISION.md and SECURITY.md say why.

Quickstart

Install, then wire it into your agent and ask it for something; or run the five commands under Check the install from any shell.

You need Node.js 22 or later. On Windows you need Windows 10 version 1809 (build 18309) or later: the sessions run on ConPTY, which node-pty 1.2.0 requires (it removed its winpty fallback); a start on an older build is refused with the minimum named. node-pty ships prebuilt binaries for Windows and macOS and, in the 1.2.0 beta ShellPuppet pins, for mainstream Linux too (glibc, x64 and arm64), so no compiler is needed there. Where no prebuilt matches (another architecture, or musl in place of glibc), npm builds it with node-gyp, which needs Python 3, make and a C++ compiler (on Debian and Ubuntu: sudo apt-get install -y python3 make g++).

Install:

npm install -g shellpuppet                            # Windows and macOS
npm install -g --allow-scripts=node-pty shellpuppet   # Linux

On Windows, npm installs shellpuppet as a PowerShell script as well as a .cmd, and PowerShell's default execution policy refuses the script. Run Set-ExecutionPolicy -Scope Process -ExecutionPolicy RemoteSigned in that window first, or run ShellPuppet from Command Prompt.

If you lose an outside messaging claim code, run shellpuppet msg claim <name> --replace. For a name beginning with a hyphen, pass it with --name=, as in shellpuppet msg claim --replace --name=--desk.

npm 12 runs a dependency's install script only when you allow it. On Linux, node-pty's install script is what builds it where no prebuilt binary matches the machine. Without the flag the install still completes; where a prebuilt binary is present it loads that, and otherwise shellpuppet start refuses and names the flag.

Recent npm 11 releases and npm 12 print a warning that node-pty has install scripts. On Windows and macOS ShellPuppet needs none of them, so there the warning is safe to ignore. npm 10 ignores the flag, and early npm 11 releases warn that it is an unknown option; both run the install scripts anyway.

On macOS, ShellPuppet makes node-pty's spawn-helper executable itself on the first start. If you installed with sudo, it can't, and that first start tells you the sudo chmod +x to run once.

From source (the same thing, plus a build):

git clone https://github.com/intermeld/shellpuppet.git
cd shellpuppet
npm ci
npm run build
npm link            # puts `shellpuppet` on your PATH; or use `node dist/cli/index.js`

On Windows the shim npm link makes meets the same execution policy; set it as above, or use the node dist/cli/index.js form instead.

Wire it into your agent. ShellPuppet is an MCP server. With shellpuppet on your PATH, Claude Code is one command:

claude mcp add shellpuppet -- shellpuppet mcp

For any other MCP client, the equivalent entry:

{
  "mcpServers": {
    "shellpuppet": { "command": "shellpuppet", "args": ["mcp"] }
  }
}

That shape works for Claude Code, Cursor, Gemini CLI and the desktop apps. Codex reads ~/.codex/config.toml instead:

[mcp_servers.shellpuppet]
command = "shellpuppet"
args = ["mcp"]

Without npm link, use node with the absolute path to dist/cli/index.js and the argument mcp.

Then ask your agent for something. Tell it to run a program in a ShellPuppet session. A window opens on your screen as the session starts: you watch, and when the program asks a question, you click into the window and answer it. A good first ask: "Run npm create vite@latest in a ShellPuppet session, in an empty folder, and let me choose the options." npm first asks whether to install the wizard: answer y, and the wizard's menus appear in the window as they come, each one flagged for you; pick with the arrow keys and Enter. In the recording at the top, four agents do this at once, and the person answers Codex's permission prompt in its window.

Check the install from any shell. The CLI has a verb for every tool, so you can drive a session by hand:

# 1. Start a Node REPL in a real PTY. The daemon starts itself, you get a
#    session id (s1) and the dashboard opens (or a viewer link, if no window can).
#    s1 is the first session on a fresh daemon: use whatever id start printed.
shellpuppet start --label demo --no-shell node

# 2. Wait for the REPL to paint and settle, instead of guessing at a sleep.
shellpuppet wait s1 --quiet 1000

# 3. Type as an agent would, and confirm the keystrokes landed.
shellpuppet type s1 '6 * 7' --enter --verify

# 4. Read the screen back as plain text.
shellpuppet snap s1

# 5. Kill the session: the whole process tree, not just the PTY child.
shellpuppet kill s1

Step 2 prints the REPL banner and prompt, step 3 says typed 6 bytes (verified on screen). and step 4 shows 42 under your input. That exercises daemon auto-start, the PTY, the renderer, waiting, input verification and tree-kill.

No window? By default a session start opens the dashboard in ShellPuppet's own isolated browser profile. If that window cannot open, start prints a single-session viewer link. On a headless machine, or if you'd rather have a link, set viewer.launchMode to "no-window" in ~/.shellpuppet/config.json: start then prints a viewer link, and an agent is given one to pass to you. Whatever the setting, shellpuppet viewer-url <id> mints a fresh link whenever you want one, and --read-only makes it a link that can watch but never type. The options are in docs/reference/configuration.md.

In the viewer, on Windows and Linux, Ctrl+V pastes; to send a literal Ctrl+V to the program, there is no in-pane shortcut. Ctrl+C copies selected terminal text, and sends ^C when nothing is selected. On macOS, Cmd+V pastes and Ctrl+V still sends ^V.

In the viewer and dashboard, hold Shift and drag to select terminal text even when the program handles the mouse. A program that copies with OSC 52 can write to your clipboard for two seconds after you press the primary pointer button, type a character or use a supported editing or navigation key in its focused pane. Holding a key does not extend that time, and pasting closes the window. Copying also works in a read-only viewer.

How long it takes. On clean machines:

  • Windows 11 (a fresh Windows Sandbox, Node 24): installing ShellPuppet with npm took 22 to 26 s from a cold npm cache, and the five steps above 3.6 s end to end.
  • Linux (a clean container, Node 22): the install took 29 s, including npm building node-pty, and the five steps about 2 s.

The first viewer window on a fresh machine takes longer, about 13 s in that sandbox, because the browser is starting for the first time.

Working with an agent

The twelve terminal tools are terminal_start, terminal_snapshot, terminal_type, terminal_key, terminal_wait, terminal_find, terminal_result, terminal_list, terminal_resize, terminal_screenshot, terminal_viewer_url and terminal_kill. The session_* messaging tools use the daemon's current permissions and settings (ADR-010).

Tool Prompt supervision
terminal_type New clients submit by default for listed built-in agents when the launched program matches the agent. Set submit: false to type only, or submit: true to request Enter explicitly. A written Enter reports unconfirmed until the agent supplies a turn-correlated acceptance event. Older daemons refuse omitted submit before writing; explicit values retain legacy compatibility.
terminal_start Pass waitReady: true when starting an agent CLI to delegate work to. Returns ready, a question, exit or a timeout with the session still running.
terminal_wait prompt: true with no session or an array of ids waits for any prompt. now: true polls once. Both return compact details without a screen.
terminal_list waitingOnly: true returns only sessions waiting on a prompt.

terminal_wait with prompt: true can omit session to wait for a prompt in any live session, or take an array of session ids to watch only those. It returns compact waiting sessions without screens; now: true polls once. terminal_list with waitingOnly: true returns the same compact view. The CLI forms are shellpuppet wait --prompt [id ...] [--now] and shellpuppet list --waiting. A wait with one string session id keeps its usual screen response.

terminal_start does not wait by default. With waitReady: true it uses the resolved agent's known ready signals, or your readyText/readyQuiet override. readyTimeout defaults to 30,000 ms and is capped at 300,000 ms. A longer explicit wait needs a longer MCP client budget, including startup overhead. A client that gives up may lose the answer; the session still exists and terminal_list shows it. Shells and unknown programs need an explicit condition. Dashboard launches and launch profiles never wait. See the MCP start reference for the outcomes.

The HTTP GET /sessions/wait?prompt=true response is compact, including on a timeout or an immediate now=true poll:

{
  "matched": true,
  "reason": "prompt",
  "waitedMs": 80,
  "sessions": [
    {
      "id": "s2",
      "label": "build delegate",
      "question": "Allow this command to run?",
      "options": ["Allow once", "Deny"],
      "selectedOption": 0,
      "waitingMs": 4200
    }
  ]
}

reason is prompt or timeout. A timeout has matched: false and an empty sessions array. Each row always has id, label and waitingMs in milliseconds; question, options and selectedOption are optional. hideReasoning=true removes question and options. GET /sessions?waitingOnly=true returns the same rows in its sessions array, alongside the usual version field. MCP tool results frame prompt text as untrusted terminal data, including the full terminal_list result. Each result uses one matching pair of delimiter lines with a fresh random nonce. Terminal output cannot predict the closing delimiter or end its own frame.

Text snapshots (terminal_snapshot, terminal_wait, shellpuppet snap and lastLines) prefix a uniquely styled menu choice with ⟦SP:selected⟧. This text annotation is never sent to the terminal or viewer. A detected prompt keeps its option labels unchanged and reports selectedOption separately as their zero-based index, when inverse video or a background colour identifies one choice. Ordinary highlighting adds neither field nor marker.

OX Radar and Response Center

Find threats in your stack.

OX Radar can check high-priority threats, like critical package CVEs, against your context.

Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.

Where it’s listed

The probe returned only these fields for this server — auth requirement, protocol and tool list weren’t observed, so they’re not shown (never guessed).

  • npm shellpuppet

References

The publisher’s own links, as the registry reports them. These are not sources for the assessment on this page.

Powered by Read the latest findings

Scan your whole stack

Group 1261154050 1
Group 1261154050
 

From OX Research Newsroom

Critical Apache HTTP Server Flaw Exposes Web Servers to RCE (1)
CVE

CVE-2026-119618: Critical Apache HTTP Server Flaw Exposes Web Servers to Remote Code Execution

Plug and Pray: Your AI Agents Are Taking Orders From Strangers
Research

Plug and Pray: Your AI Agents Are Taking Orders From Strangers

CVE

Java4Shell (CVE-2026-114938): Easy to Crash, Hard to Exploit — Less Than 0.12% of JVMs Estimated at Risk of RCE

Frame 2085668439 (1)
Group 1261154229