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

Legato

Latest version: v0.3.2

Overview

Last scanned
25 Nov 2026
Published
25 Nov 2026
MCP server Transport: stdio Publisher: legatolabs
2 Stars
1 Forks
12 Versions
Python Repo language

Scan summary

Legato was last scanned on 25 Nov 2026 at version 0.3.2. Risk score 0 of 100. No malicious behavior was detected.

  • Releases: 12 versions; the latest 4 were published within 7 days (19–25 Nov 2026).
  • Findings: 1 rule fired in version 0.3.2 (2 instances: 2 medium). The score describes this version only.
  • MCP server: Runs over stdio.

Versions

12 versions published
Versions and the rules that fired in each
VersionPublishedStatus
0.3.2 LATEST 25 Nov 2026 1 rule fired
0.3.1 25 Nov 2026 1 rule fired
0.3.0 24 Nov 2026 1 rule fired
0.2.0 19 Nov 2026 Not shown
0.1.8 13 Nov 2026 Not shown

Rules fired in 0.3.2: 1

Findings

2 Medium

Findings for v0.3.2. 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.

Encoded string decodes to a command or instruction

An encoded string in the package decodes, without being run, to a shell command, a network call, a code-execution call or an instruction aimed at an AI agent. The content was hidden from a plain read of the code. Encoding has legitimate uses, so the decoded content needs review.

MEDIUM
Checking access…

🔒 Create a free account to see all 2 findings with descriptions and instance counts

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

README

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

Legato

The fast, open-source computer-use runtime. Bring any model.

A real run on a Windows desktop, shown at 2x with the real-time clock: Legato reads three invoices from Notepad and enters them into a desktop app that has no API.

Start

Tell Claude Code, Codex or Cursor:

Set up Legato for me: https://legato.computer/setup

Or in a terminal:

pip install legatolabs
legato setup          # your model, where it works, your coding agents; then a first task

Or on a Mac, with no code: download Legato for Mac, hold Fn and say what to do.

One agent, four ways in

Choose your model once. Every way in runs the same agent with it.

How What for
Mac app Hold Fn, say the task Your own apps, no code (docs)
Terminal legato run "Find the next Caltrain from SF to Palo Alto" One task at a time, scripts, cron
Your coding agent Claude Code, Codex or Cursor gets a computer (MCP); legato setup adds it Test the app you are building, do the GUI part of a task (docs)
Python legato.run("..."), or legato.Harness(...).run(task, desktop) Your own agent, RL rollouts (docs)

Any model with an OpenAI-compatible API and vision: Qwen, Claude, GPT, Gemini, Grok, through OpenRouter or the maker's own API, or on your own GPU with vLLM (Ollama and LM Studio serve the same API; untested so far), where nothing leaves your machine (models).

Any computer (desktops):

  • In the background on your Mac (the default there): it works in one app's window while you keep using the Mac. Your mouse and keyboard stay yours.
  • Your whole screen on macOS, Windows or Linux.
  • A desktop container (Docker), a cloud desktop (E2B), or any sandbox or VM you can run a command in.
import legato

result = legato.run("On Wikipedia, look up the Eiffel Tower and tell me how tall it is")
print(result.answer)      # The Eiffel Tower is 330 metres (1,083 ft) tall.
print(result.report())    # done or failed, the turns, and where the time went

Results

Same model, same desktops, 24 office tasks per run. Method and raw data.

Model Compared with Time Success
Claude Sonnet 5.5 Anthropic's demo loop (our re-implementation, legato.Harness.reference) 1.48x faster 48/48 vs 48/48
Qwen3.8-27B OSWorld's Qwen agent same 71/96 vs 53/96

We wrote the 24 tasks (LibreOffice, a spreadsheet into a deck). The Claude row is one run of two attempts a task. Check it on your own tasks: examples/compare_with_reference.py.

Why it's fast

Most of a computer-use agent's time goes to waiting: on the model, and on the screen.

  • It waits until the screen stops changing, not a fixed 2 s after every action.
  • Up to three actions per turn, with one screenshot after them; on a Mac, one plan per turn, with a shell and AppleScript beside the screen where they are faster.
  • Screenshots go as JPEG, and old ones are dropped in chunks so the prompt cache keeps hitting.
  • A wall-clock timeout and a token budget on every model call, so nothing hangs.

Safety and limits

  • Your own screen: risky keys and typed commands (rm, sudo, Cmd+Q...) wait for your yes, and are refused when nobody can answer (an MCP server, a script; --yes allows them). It's a list, not a sandbox: a click on Delete isn't caught. Move the mouse into a corner to stop a run. --sandbox docker or a cloud desktop keeps the agent off your screen and files.
  • What it reads: a page or document on screen can try to instruct the agent (prompt injection). In the background it works in your own Safari, signed in where you are; for sites you don't trust, use --sandbox docker.
  • Your data: screenshots and the task go to the model you chose and nowhere else. Legato has no server of its own and sends no telemetry.
  • Limits you set: timeout_s and max_steps bound a run, and result.status says how it ended (Python).
  • What it is not good at yet: tasks of many minutes across several apps, and anything that needs a drag in background mode (one app's window, Safari among browsers). It is an alpha: the API may change before 1.0.

Docs

Set up · Mac app · Coding agents (MCP) · Terminal and Python · Desktops · Models · RL rollouts · Benchmarks · FAQ · Guides · Comparisons

For coding agents: llms.txt · AGENTS.md

Apache-2.0.

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).

  • MCP Registry io.github.legatolabs/legato

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

Copy of Template Design OX Blog (2)
Research

NGINX2Root: Five Critical NGINX Flaws Expose 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

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

Frame 2085668439 (1)
Group 1261154229